bundles / scipy latest / scipy / optimize / _dual_annealing / StrategyChain
class
scipy.optimize._dual_annealing:StrategyChain
Signature
class StrategyChain ( acceptance_param , visit_dist , func_wrapper , minimizer_wrapper , rand_gen , energy_state ) Members
Summary
Class that implements within a Markov chain the strategy for location acceptance and local search decision making.
Parameters
acceptance_param: floatParameter for acceptance distribution. It is used to control the probability of acceptance. The lower the acceptance parameter, the smaller the probability of acceptance. Default value is -5.0 with a range (-1e4, -5].
visit_dist: VisitingDistributionInstance of VisitingDistribution class.
func_wrapper: ObjectiveFunWrapperInstance of ObjectiveFunWrapper class.
minimizer_wrapper: LocalSearchWrapperInstance of LocalSearchWrapper class.
rand_gen: {None, int, `numpy.random.Generator`,numpy.random.RandomState}, optional
If
seedis None (ornp.random), the numpy.random.RandomState singleton is used. Ifseedis an int, a newRandomStateinstance is used, seeded withseed. Ifseedis already aGeneratororRandomStateinstance then that instance is used.energy_state: EnergyStateInstance of EnergyState class.
Aliases
-
scipy.optimize._dual_annealing.StrategyChain