pub fn de_minimize<S: Scalar, F>(
f: F,
bounds: &[(S, S)],
opts: &DEOptions<S>,
) -> Result<OptimResult<S>, OptimError>Expand description
Minimize f over the box defined by bounds using Differential Evolution
(DE/rand/1/bin strategy).
This is a derivative-free global optimizer suitable for non-convex, noisy, or multimodal objective functions.
§Arguments
f- Objective function mapping&[S]toS.bounds- Slice of(lower, upper)pairs, one per dimension.opts- Algorithm options (seeDEOptions).
§Returns
An OptimResult with the best solution found.