{ } Raw JSON

bundles / scipy latest / scipy / optimize / _differentialevolution / DifferentialEvolutionSolver / solve

function

scipy.optimize._differentialevolution:DifferentialEvolutionSolver.solve

source: /scipy/optimize/_differentialevolution.py :1185

Signature

def   solve ( self )

Summary

Runs the DifferentialEvolutionSolver.

Returns

res : OptimizeResult

The optimization result represented as a OptimizeResult object. Important attributes are: x the solution array, success a Boolean flag indicating if the optimizer exited successfully, message which describes the cause of the termination, population the solution vectors present in the population, and population_energies the value of the objective function for each entry in population. See OptimizeResult for a description of other attributes. If polish was employed, and a lower minimum was obtained by the polishing, then OptimizeResult also contains the jac attribute. If the eventual solution does not satisfy the applied constraints success will be False.

Aliases

  • scipy.optimize._differentialevolution.DifferentialEvolutionSolver.solve