pub enum LineSearch {
    Armijo {
        control: Scalar,
        cut_back: Scalar,
        max_steps: usize,
    },
    Error {
        cut_back: Scalar,
        max_steps: usize,
    },
    Goldstein {
        control: Scalar,
        cut_back: Scalar,
        max_steps: usize,
    },
    Wolfe {
        control_1: Scalar,
        control_2: Scalar,
        cut_back: Scalar,
        max_steps: usize,
        strong: bool,
    },
    None,
}Expand description
Available line search algorithms.
Variants§
Armijo
The Armijo condition.
Error
Backtrack for errors.
Goldstein
The Goldstein conditions.
Wolfe
The Wolfe conditions.
None
No line search.
Implementations§
Trait Implementations§
Source§impl Debug for LineSearch
 
impl Debug for LineSearch
Source§impl Default for LineSearch
 
impl Default for LineSearch
Auto Trait Implementations§
impl Freeze for LineSearch
impl RefUnwindSafe for LineSearch
impl Send for LineSearch
impl Sync for LineSearch
impl Unpin for LineSearch
impl UnwindSafe for LineSearch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more