[][src]Struct argmin::solver::quasinewton::sr1_trustregion::SR1TrustRegion

pub struct SR1TrustRegion<B, R> { /* fields omitted */ }

SR1 Trust Region method



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


impl<B, R> SR1TrustRegion<B, R>[src]

pub fn new(subproblem: R) -> Self[src]


pub fn hessian(self, init_hessian: B) -> Self[src]

provide initial Hessian (if not provided, the algorithm will try to compute it using the hessian method of ArgminOp.

pub fn r(self, r: f64) -> Result<Self, Error>[src]

Set r

pub fn radius(self, radius: f64) -> Self[src]

set radius

pub fn eta(self, eta: f64) -> Result<Self, Error>[src]

Set eta

Trait Implementations

impl<B, R> Serialize for SR1TrustRegion<B, R> where
    B: Serialize,
    R: Serialize

impl<'de, B, R> Deserialize<'de> for SR1TrustRegion<B, R> where
    B: Deserialize<'de>,
    R: Deserialize<'de>, 

impl<O, B, R> Solver<O> for SR1TrustRegion<B, R> where
    O: ArgminOp<Output = f64, Hessian = B>,
    O::Param: Debug + Clone + Default + Serialize + ArgminSub<O::Param, O::Param> + ArgminAdd<O::Param, O::Param> + ArgminDot<O::Param, f64> + ArgminDot<O::Param, O::Hessian> + ArgminNorm<f64> + ArgminZeroLike + ArgminMul<f64, O::Param>,
    O::Hessian: Debug + Clone + Default + Serialize + DeserializeOwned + ArgminSub<O::Hessian, O::Hessian> + ArgminDot<O::Param, O::Param> + ArgminDot<O::Hessian, O::Hessian> + ArgminAdd<O::Hessian, O::Hessian> + ArgminMul<f64, O::Hessian>,
    R: ArgminTrustRegion + Solver<OpWrapper<O>>, 

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

Checks whether basic termination reasons apply. Read more

Auto Trait Implementations

impl<B, R> Send for SR1TrustRegion<B, R> where
    B: Send,
    R: Send

impl<B, R> Sync for SR1TrustRegion<B, R> where
    B: Sync,
    R: 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