pub enum Stop {
Infeasible,
NoChange {
rejected: Option<Rejection>,
},
Undecided,
Flat {
independent: usize,
constraints: usize,
},
Damped {
rejected: Option<Rejection>,
},
Budget,
}Expand description
Why minimize stopped where it did.
Variants§
Infeasible
The residuals cannot be evaluated at the start.
NoChange
The next step changes no variable at all — after the steps before it
were turned down, the last one for rejected.
Undecided
Neither the sum’s change nor the violation’s can be told from their width, and the step no longer shrinks: as near the minimum as can be told.
Flat
The linearized model expects the next step to lower neither the sum
nor the violation definitely — with independent of the
constraints rows telling it something new.
Damped
No step, however damped, is taken; the last one tried turned down
for rejected.
Budget
Options::max_iterations steps were taken.
Trait Implementations§
impl Copy for Stop
Source§impl<'de> Deserialize<'de> for Stop
impl<'de> Deserialize<'de> for Stop
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Stop
impl StructuralPartialEq for Stop
Auto Trait Implementations§
impl Freeze for Stop
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnsafeUnpin for Stop
impl UnwindSafe for Stop
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