downhill_simplex_penalty module
Define a Downhill Simplex with penalty.
It is not intended to be used with phi_s fit. Approach is here to make the
residuals grow when the constraints are not respected.
- class DownhillSimplexPenalty(*args, history_kwargs=None, **kwargs)[source]
Bases:
DownhillSimplexA Downhill Simplex method, with a penalty function to consider constraints.
Everything is inherited from
DownhillSimplex.- _abc_impl = <_abc._abc_data object at 0x7318f91400c0>