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

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

L-BFGS method


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


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


impl<L, P> LBFGS<L, P>[src]

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


Trait Implementations

impl<L, P> Serialize for LBFGS<L, P> where
    L: Serialize,
    P: Serialize

impl<'de, L, P> Deserialize<'de> for LBFGS<L, P> where
    L: Deserialize<'de>,
    P: Deserialize<'de>, 

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

fn terminate_internal(&mut self, state: &IterState<O>) -> TerminationReason

Checks whether basic termination reasons apply. Read more

Auto Trait Implementations

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

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

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

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

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

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