scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersBackRef

Parameters

lower : array_like

A 1-D NumPy ndarray containing lower bounds for generating an initial random components in the :None:None:`reset` method.

upper : array_like

A 1-D NumPy ndarray containing upper bounds for generating an initial random components in the :None:None:`reset` method components. Neither NaN or inf are allowed.

callback : callable, ``callback(x, f, context)``, optional

A callback function which will be called for all minima found. x and f are the coordinates and function value of the latest minimum found, and :None:None:`context` has value in [0, 1, 2]

Class used to record the energy state. At any time, it knows what is the currently used coordinates and the most recent best location.

Examples

See :

Back References

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

scipy.optimize._dual_annealing.StrategyChain

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/_dual_annealing.py#130
type: <class 'type'>
Commit: