This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / optimize / _differentialevolution / DifferentialEvolutionSolver / init_population_array

function

scipy.optimize._differentialevolution:DifferentialEvolutionSolver.init_population_array

source: build-install/usr/lib/python3.14/site-packages/scipy/optimize/_differentialevolution.py:1121

Signature

def init_population_array(self, init)

Summary

Initializes the population with a user specified population.

Parameters

init : np.ndarray

Array specifying subset of the initial population. The array should have shape (S, N), where N is the number of parameters. The population is clipped to the lower and upper bounds.

Aliases

  • scipy.optimize._differentialevolution.DifferentialEvolutionSolver.init_population_array