scipy 1.10.1 Pypi GitHub Homepage
Other Docs

NotesParametersReturnsBackRef
minimize(fun, x0, args=(), method=None, jac=None, hess=None, hessp=None, bounds=None, constraints=(), tol=None, callback=None, options=None)

Notes

Parameters

fun : callable
x0 : ndarray, shape (n,)
args : tuple, optional
method : str or callable, optional
jac : {callable, '2-point', '3-point', 'cs', bool}, optional
hess : {callable, '2-point', '3-point', 'cs', HessianUpdateStrategy}, optional
hessp : callable, optional
bounds : sequence or `Bounds`, optional
constraints : {Constraint, dict} or List of {Constraint, dict}, optional
tol : float, optional
options : dict, optional
callback : callable, optional

Returns

res : OptimizeResult

See Also

minimize_scalar

show_options

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

scipy.optimize._differentialevolution:differential_evolution scipy.optimize._lbfgsb_py:fmin_l_bfgs_b scipy.optimize._optimize:show_options scipy.optimize._differentialevolution:DifferentialEvolutionSolver scipy.optimize._lbfgsb_py:_minimize_lbfgsb scipy.optimize._basinhopping:basinhopping

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/_minimize.py#45
type: <class 'function'>
Commit: