scipy 1.10.1 Pypi GitHub Homepage
Other Docs

NotesParametersReturns
fmin_slsqp(func, x0, eqcons=(), f_eqcons=None, ieqcons=(), f_ieqcons=None, bounds=(), fprime=None, fprime_eqcons=None, fprime_ieqcons=None, args=(), iter=100, acc=1e-06, iprint=1, disp=None, full_output=0, epsilon=1.4901161193847656e-08, callback=None)

Notes

Parameters

func : callable f(x,*args)
x0 : 1-D ndarray of float
eqcons : list, optional
f_eqcons : callable f(x,*args), optional
ieqcons : list, optional
f_ieqcons : callable f(x,*args), optional
bounds : list, optional
fprime : callable `f(x,*args)`, optional
fprime_eqcons : callable `f(x,*args)`, optional
fprime_ieqcons : callable `f(x,*args)`, optional
args : sequence, optional
iter : int, optional
acc : float, optional
iprint : int, optional
disp : int, optional
full_output : bool, optional
epsilon : float, optional
callback : callable, optional

Returns

out : 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

See Also

minimize

:None:None:`method`

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/optimize/_slsqp_py.py#68
type: <class 'function'>
Commit: