pub fn minimize<P: TrustRegionProblem>(
problem: &mut P,
cfg: &StrategyConfig,
) -> ReportExpand description
Minimise ½‖r(p)‖² over the free parameters of problem with Levenberg–Marquardt.
On return the problem holds the best parameters found. Deterministic: no
RNG, no clock — identical inputs give identical iterates — given a fixed
faer parallelism policy; spectrafit-solver::fit sets Par::Seq for the
whole fit, and a caller that leaves faer on its default (potentially
multi-threaded) policy can see floating-point summation-order differences
across runs.