differential_evolution module

Define DifferentialEvolution.

class DifferentialEvolution(*, compensating_elements, objective_factory, design_space, compute_beam_propagation, cavity_settings_factory, reference_simulation_output, optimisation_algorithm_kwargs=None, history_kwargs=None, **kwargs)[source]

Bases: DownhillSimplex

Differential evolution method, which does not use derivatives.

Warning

This method was not tuned for this problem yet.

Parameters:
supports_constraints: bool = False
optimize()[source]

Set up the optimisation and solve the problem.

Return type:

OptiSol

Returns:

Gives list of solutions, corresponding objective, convergence violation if applicable, etc.

_algorithm_parameters()[source]

Create the kwargs for the optimisation.

Return type:

dict

_abc_impl = <_abc._abc_data object at 0x7318f8f52300>