pub fn advanced_line_search<F, G>(
fun: &mut F,
grad_fun: Option<&mut G>,
x: &ArrayView1<'_, f64>,
f0: f64,
direction: &ArrayView1<'_, f64>,
grad0: &ArrayView1<'_, f64>,
options: &AdvancedLineSearchOptions,
bounds: Option<&Bounds>,
nm_state: Option<&mut NonMonotoneState>,
) -> Result<LineSearchResult, OptimizeError>
Expand description
Main advanced line search function