Struct argmin::backtracking::BacktrackingLineSearch [] [src]

pub struct BacktrackingLineSearch<'a> { /* fields omitted */ }

Backtracking Line Search

Methods

impl<'a> BacktrackingLineSearch<'a>
[src]

[src]

Initialize Backtracking Line Search

Requires the cost function and gradient to be passed as parameter. The parameters max_iters, tau, and c are set to 100, 0.5 and 0.5, respectively.

[src]

Set the maximum distance from the starting point

[src]

Set the maximum number of iterations

[src]

Set c to a desired value between 0 and 1

[src]

Set tau to a desired value between 0 and 1

Trait Implementations

impl<'a> ArgminSolver<'a> for BacktrackingLineSearch<'a>
[src]

Parameter vector

Cost value

Hessian

Initial parameter(s)

Type of Problem

[src]

Initializes the solver and sets the state to its initial state

[src]

Moves forward by a single iteration

[src]

Handles the stopping criteria

[src]

Run initialization and iterations at once