bundles / scipy 1.17.1 / scipy / optimize / _dual_annealing / VisitingDistribution
class
scipy.optimize._dual_annealing:VisitingDistribution
Signature
class VisitingDistribution ( lb , ub , visiting_param , rng_gen ) Members
Summary
Class used to generate new coordinates based on the distorted Cauchy-Lorentz distribution. Depending on the steps within the strategy chain, the class implements the strategy for generating new location changes.
Parameters
lb: array_likeA 1-D NumPy ndarray containing lower bounds of the generated components. Neither NaN or inf are allowed.
ub: array_likeA 1-D NumPy ndarray containing upper bounds for the generated components. Neither NaN or inf are allowed.
visiting_param: floatParameter for visiting distribution. Default value is 2.62. Higher values give the visiting distribution a heavier tail, this makes the algorithm jump to a more distant region. The value range is (1, 3]. Its value is fixed for the life of the object.
rng_gen: {`~numpy.random.Generator`}A Generator object for generating new locations. (can be a RandomState object until SPEC007 transition is fully complete).
Aliases
-
scipy.optimize._dual_annealing.VisitingDistribution