pub fn cobyqa<P: ConstrainedProblem>(
problem: &P,
x0: Vec<f64>,
lower: Option<&[f64]>,
upper: Option<&[f64]>,
options: CobyqaOptions,
) -> Result<CobyqaResult, ErrorsJSL>Expand description
Minimises problem.objective subject to the bounds lower ≤ x ≤ upper (None: unbounded) and to the
problem’s inequalities(x) ≤ 0 and equalities(x) = 0, without derivatives, by COBYQA (SciPy’s
minimize(method='COBYQA')). The gradient and Jacobian methods of ConstrainedProblem are never
called. See cobyqa_with for linear constraints and a callback.