Function advanced_line_search

Source
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>
where F: FnMut(&ArrayView1<'_, f64>) -> f64, G: FnMut(&ArrayView1<'_, f64>) -> Array1<f64>,
Expand description

Main advanced line search function