pub enum LmStatus {
Converged,
IterationLimit,
Stationary,
TrustRegionCollapsed,
EvaluationFailed,
LinearSolverFailed,
CpuTimeExceeded,
WallTimeExceeded,
UserRequestedStop,
}Expand description
How an LM run ended.
Variants§
Converged
The iterate passed the FeasibilityTest.
IterationLimit
Iteration cap reached first.
Stationary
The projected gradient of ½‖c‖² vanished at a point that is not a
root: a stationary point of the least-squares problem on the box
(MINPACK’s gtol test, at STATIONARITY_TOL). No step this method
can take leaves it, so it stops rather than collapse Δ to get there.
TrustRegionCollapsed
Δ collapsed: a projected stationary point of ‖c‖² that is not a
root, as far as this method can tell.
EvaluationFailed
The residual or Jacobian could not be evaluated at an accepted point, or was not finite there.
LinearSolverFailed
The augmented system could not be factored at any λ tried.
CpuTimeExceeded
max_cpu_time ran out before the iterate passed the test.
WallTimeExceeded
max_wall_time ran out before the iterate passed the test.
UserRequestedStop
The TNLP’s intermediate_callback returned false.
Trait Implementations§
impl Copy for LmStatus
impl Eq for LmStatus
impl StructuralPartialEq for LmStatus
Auto Trait Implementations§
impl Freeze for LmStatus
impl RefUnwindSafe for LmStatus
impl Send for LmStatus
impl Sync for LmStatus
impl Unpin for LmStatus
impl UnsafeUnpin for LmStatus
impl UnwindSafe for LmStatus
Blanket Implementations§
impl<T> Boilerplate for T
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
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> ⓘ
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> ⓘ
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