pub fn differential_evolution(
cfg: &OptimConfig,
f: &dyn Fn(&[f64]) -> f64,
bounds: &[(f64, f64)],
seed: u64,
) -> OptimResultExpand description
Minimize f inside the per-parameter bounds box with
DE/rand/1/bin. Deterministic for a given seed; the population size
is max(15, 10 * dim). Converged when the population’s value spread
falls below tol; iterations counts generations.