-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Labels
Description
Should we allow using tell like (based on a suggestion by @brockho)
tell(solutions, objective_values, constraints_values=constraints_values)Implementation thoughts: the above call would probably instantiate a AugmentedLagrangian instance and call set_coefficients. The instance call takes a g-value list and returns a penalties list. The penalties sum is meant to be added to the objective value similar to penalty boundary handling. update can be called with the best solution afterwards.
See also ConstrainedFitnessAL which uses an AugmentedLagrangian instance and cma.fmin_con2 which uses the former.
Next steps:
- outline/implement a
AugmentedLagrangianask-and-tell use case scenario similar to the one withConstrainedFitnessALfound in this notebook trying to be less opaque than in these docs - evaluate the advantages/disadvantages to incorporate this functionality directly into
tell.
georgedeath