Struct optimization::ArmijoLineSearch [] [src]

pub struct ArmijoLineSearch { /* fields omitted */ }

Backtracking line search evaluating the Armijo rule at each step width.

Methods

impl ArmijoLineSearch
[src]

Creates a new ArmijoLineSearch given the control_parameter ∈ (0, 1), the initial_step_width > 0 and the decay_factor ∈ (0, 1).

Armijo used in his paper the values 0.5, 1.0 and 0.5, respectively.

Trait Implementations

impl Debug for ArmijoLineSearch
[src]

Formats the value using the given formatter.

impl Copy for ArmijoLineSearch
[src]

impl Clone for ArmijoLineSearch
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl LineSearch for ArmijoLineSearch
[src]

Performs the actual line search given the current position x and a direction to go to. Returns the new position. Read more