pub struct IterStats {
pub mode: AlgorithmMode,
pub iter: i32,
pub obj_value: f64,
pub inf_pr: f64,
pub inf_du: f64,
pub mu: f64,
pub d_norm: f64,
pub regularization_size: f64,
pub alpha_du: f64,
pub alpha_pr: f64,
pub ls_trials: i32,
}Expand description
Per-iteration callback payload for TNLP::intermediate_callback.
Fields§
§mode: AlgorithmMode§iter: i32§obj_value: f64§inf_pr: f64§inf_du: f64§mu: f64§d_norm: f64§regularization_size: f64§alpha_du: f64§alpha_pr: f64§ls_trials: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for IterStats
impl RefUnwindSafe for IterStats
impl Send for IterStats
impl Sync for IterStats
impl Unpin for IterStats
impl UnsafeUnpin for IterStats
impl UnwindSafe for IterStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more