scipy 1.8.0 Pypi GitHub Homepage
Other Docs
Parameters
_minimize_slsqp(func, x0, args=(), jac=None, bounds=None, constraints=(), maxiter=100, ftol=1e-06, iprint=1, disp=False, eps=1.4901161193847656e-08, callback=None, finite_diff_rel_step=None, **unknown_options)

Parameters

ftol : float

Precision goal for the value of f in the stopping criterion.

eps : float

Step size used for numerical approximation of the Jacobian.

disp : bool

Set to True to print convergence messages. If False, :None:None:`verbosity` is ignored and set to 0.

maxiter : int

Maximum number of iterations.

finite_diff_rel_step : None or array_like, optional

If :None:None:`jac in ['2-point', '3-point', 'cs']` the relative step size to use for numerical approximation of :None:None:`jac`. The absolute step size is computed as h = rel_step * sign(x0) * max(1, abs(x0)) , possibly adjusted to fit into the bounds. For method='3-point' the sign of :None:None:`h` is ignored. If None (default) then step is selected automatically.

Minimize a scalar function of one or more variables using Sequential Least Squares Programming (SLSQP).

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#214
type: <class 'function'>
Commit: