[][src]Struct argmin::solver::trustregion::trustregion_method::TrustRegion

pub struct TrustRegion<R> { /* fields omitted */ }

The trust region method approximates the cost function within a certain region around the current point in parameter space. Depending on the quality of this approximation, the region is either expanded or contracted.

The calculation of the actual step length and direction is done by one of the following methods:

This subproblem can be set via set_subproblem(...). If this is not provided, it will default to the Steihaug method.



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


impl<R> TrustRegion<R>[src]

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


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

set radius

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

Set maximum radius

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

Set eta

Trait Implementations

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

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

Checks whether basic termination reasons apply. Read more

impl<R> Serialize for TrustRegion<R> where
    R: Serialize

impl<'de, R> Deserialize<'de> for TrustRegion<R> where
    R: Deserialize<'de>, 

Auto Trait Implementations

impl<R> Send for TrustRegion<R> where
    R: Send

impl<R> Sync for TrustRegion<R> where
    R: Sync

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

impl<T, U> TryInto 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> DeserializeOwned for T where
    T: Deserialize<'de>, 

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