Struct argmin::solver::quasinewton::lbfgs::LBFGS[][src]

pub struct LBFGS<L, P, F> { /* fields omitted */ }

L-BFGS method

Example

TODO: Implement compact representation of BFGS updating (Nocedal/Wright p.230)

References:

[0] Jorge Nocedal and Stephen J. Wright (2006). Numerical Optimization. Springer. ISBN 0-387-30303-0.

Implementations

impl<L, P, F: ArgminFloat> LBFGS<L, P, F>[src]

pub fn new(linesearch: L, m: usize) -> Self[src]

Constructor

pub fn with_tol_grad(self, tol_grad: F) -> Self[src]

Sets tolerance for the stopping criterion based on the change of the norm on the gradient

pub fn with_tol_cost(self, tol_cost: F) -> Self[src]

Sets tolerance for the stopping criterion based on the change of the cost stopping criterion

Trait Implementations

impl<L: Clone, P: Clone, F: Clone> Clone for LBFGS<L, P, F>[src]

impl<'de, L, P, F> Deserialize<'de> for LBFGS<L, P, F> where
    L: Deserialize<'de>,
    P: Deserialize<'de>,
    F: Deserialize<'de>, 
[src]

impl<L, P, F> Serialize for LBFGS<L, P, F> where
    L: Serialize,
    P: Serialize,
    F: Serialize
[src]

impl<O, L, P, F> Solver<O> for LBFGS<L, P, F> where
    O: ArgminOp<Param = P, Output = F, Float = F>,
    O::Param: Clone + Serialize + DeserializeOwned + Debug + Default + ArgminSub<O::Param, O::Param> + ArgminAdd<O::Param, O::Param> + ArgminDot<O::Param, O::Float> + ArgminScaledAdd<O::Param, O::Float, O::Param> + ArgminNorm<O::Float> + ArgminMul<O::Float, O::Param>,
    O::Hessian: Clone + Default + Serialize + DeserializeOwned,
    L: Clone + ArgminLineSearch<O::Param, O::Float> + Solver<OpWrapper<O>>,
    F: ArgminFloat
[src]

Auto Trait Implementations

impl<L, P, F> RefUnwindSafe for LBFGS<L, P, F> where
    F: RefUnwindSafe,
    L: RefUnwindSafe,
    P: RefUnwindSafe

impl<L, P, F> Send for LBFGS<L, P, F> where
    F: Send,
    L: Send,
    P: Send

impl<L, P, F> Sync for LBFGS<L, P, F> where
    F: Sync,
    L: Sync,
    P: Sync

impl<L, P, F> Unpin for LBFGS<L, P, F> where
    F: Unpin,
    L: Unpin,
    P: Unpin

impl<L, P, F> UnwindSafe for LBFGS<L, P, F> where
    F: UnwindSafe,
    L: UnwindSafe,
    P: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,