Minimize a function using Sequential Least SQuares Programming
Python interface function for the SLSQP Optimization subroutine originally implemented by Dieter Kraft.
Parameters :  func : callable f(x,*args)
x0 : ndarray of float
eqcons : list
f_eqcons : callable f(x,*args)
ieqcons : list
f_ieqcons : callable f(x0,*args)
bounds : list
fprime : callable f(x,*args)
fprime_eqcons : callable f(x,*args)
fprime_ieqcons : callable f(x,*args)
args : sequence
iter : int
acc : float
iprint : int
full_output : bool
epsilon : float


Returns :  x : ndarray of float
fx : ndarray of float, if full_output is true
its : int, if full_output is true
imode : int, if full_output is true
smode : string, if full_output is true

Notes
Exit modes are defined as follows
1 : Gradient evaluation required (g & a)
0 : Optimization terminated successfully.
1 : Function evaluation required (f & c)
2 : More equality constraints than independent variables
3 : More than 3*n iterations in LSQ subproblem
4 : Inequality constraints incompatible
5 : Singular matrix E in LSQ subproblem
6 : Singular matrix C in LSQ subproblem
7 : Rankdeficient equality constraint subproblem HFTI
8 : Positive directional derivative for linesearch
9 : Iteration limit exceeded
Examples
Examples are given in the tutorial.