Skip to main content

StopCallback

Type Alias StopCallback 

Source
pub type StopCallback<'a> = &'a mut dyn FnMut(&[f64]) -> bool;
Expand description

A callback for cobyqa_with: it receives the best point and returns true to stop.