bundles / scipy 1.17.1 / scipy / optimize / _dual_annealing / EnergyState
class
scipy.optimize._dual_annealing:EnergyState
Signature
class EnergyState ( lower , upper , callback = None ) Members
Summary
Class used to record the energy state. At any time, it knows what is the currently used coordinates and the most recent best location.
Parameters
lower: array_likeA 1-D NumPy ndarray containing lower bounds for generating an initial random components in the
resetmethod.upper: array_likeA 1-D NumPy ndarray containing upper bounds for generating an initial random components in the
resetmethod components. Neither NaN or inf are allowed.callback: callable, ``callback(x, f, context)``, optionalA callback function which will be called for all minima found.
xandfare the coordinates and function value of the latest minimum found, andcontexthas value in [0, 1, 2]
Aliases
-
scipy.optimize._dual_annealing.EnergyState