scipy 1.8.0 Pypi GitHub Homepage
Other Docs
NotesParametersReturnsBackRef
show_options(solver=None, method=None, disp=True)

These are method-specific options that can be supplied through the options dict.

Notes

The solver-specific methods are:

scipy.optimize.minimize

scipy.optimize.root

scipy.optimize.minimize_scalar

scipy.optimize.root_scalar

scipy.optimize.linprog

scipy.optimize.quadratic_assignment

Parameters

solver : str

Type of optimization solver. One of 'minimize', 'minimize_scalar', 'root', 'root_scalar', 'linprog', or 'quadratic_assignment'.

method : str, optional

If not given, shows all methods of the specified solver. Otherwise, show only the options for the specified method. Valid values corresponds to methods' names of respective solver (e.g., 'BFGS' for 'minimize').

disp : bool, optional

Whether to print the result rather than returning it.

Returns

text

Either None (for disp=True) or the text string (disp=False)

Show documentation for additional options of optimization solvers.

Examples

We can print documentations of a solver in stdout:

>>> from scipy.optimize import show_options
... show_options(solver="minimize") ...

Specifying a method is possible:

>>> show_options(solver="minimize", method="Nelder-Mead")
...

We can also get the documentations as a string:

>>> show_options(solver="minimize", method="Nelder-Mead", disp=False)
Minimization of scalar function of one or more variables using the ...
See :

Back References

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

scipy.optimize._root_scalar.root_scalar scipy.optimize._linprog.linprog scipy.optimize._optimize.show_options scipy.optimize._minimize.minimize scipy.optimize._root.root scipy.integrate._quadrature.romberg scipy.optimize._minimize.minimize_scalar

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