Skip to main content

cobyla

Function cobyla 

Source
pub fn cobyla<F>(
    f: &F,
    constraints: &[CobylaConstraint],
    config: CobylaConfig,
) -> Result<CobylaReport>
where F: Fn(&Array1<f64>) -> f64 + Sync,
Expand description

Minimize f subject to bounds and inequality constraints g_i(x) <= 0.

On success returns the best point found. On a non-success termination the report is still populated with the last point evaluated so callers can decide whether the result is usable.