pub struct HagerZhangLineSearch<P, F> { /* private fields */ }
Expand description

The Hager-Zhang line search is a method to find a step length which obeys the strong Wolfe conditions.

References

[0] William W. Hager and Hongchao Zhang. “A new conjugate gradient method with guaranteed descent and an efficient line search.” SIAM J. Optim. 16(1), 2006, 170-192. DOI: https://doi.org/10.1137/030601880

Implementations

Constructor

set delta

set sigma

set epsilon

set theta

set gamma

set eta

set alpha limits

Trait Implementations

Set search direction

Set initial alpha value

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Name of the solver

Initializes the algorithm Read more

Computes one iteration of the algorithm.

Checks whether the algorithm must be terminated

Checks whether basic termination reasons apply. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.