pub fn minimize(
cfg: &OptimConfig,
method: Method,
problem: &Problem<'_>,
) -> Result<OptimResult, RustyQLibError>Expand description
Minimize problem with the chosen Method.
Scalar methods accept either problem form (a residual problem is
minimized as its sum of squares); LevenbergMarquardt requires
residuals and DifferentialEvolution requires bounds.