differential_evolution module
Define DifferentialEvolution.
- class DifferentialEvolution
Bases:
OptimisationAlgorithmDownhill simplex method, which does not use derivatives.
All the attributes but
solutionare inherited from the Abstract Base ClassOptimisationAlgorithm.- optimise() tuple[bool, SetOfCavitySettings, dict[str, list[float]]]
Set up the optimisation and solve the problem.
- Returns:
success (bool) – Tells if the optimisation algorithm managed to converge.
optimized_cavity_settings (SetOfCavitySettings) – Best solution found by the optimization algorithm.
info (dict[str, list[float]]] | None) – Gives list of solutions, corresponding objective, convergence violation if applicable, etc.
- _abc_impl = <_abc._abc_data object at 0x7fd3c8b1ba40>