pub enum BoundStatus {
Inactive,
AtLower,
AtUpper,
Fixed,
}Expand description
Status of a single primal-variable bound.
Variants§
Inactive
Not in the working set; xl < x < xu strictly.
AtLower
Active at the lower bound; x = xl, dual ≥ 0.
AtUpper
Active at the upper bound; x = xu, dual ≤ 0.
Fixed
xl = xu; the variable is fixed and always in the working
set with no sign constraint on the dual.
Implementations§
Trait Implementations§
Source§impl Clone for BoundStatus
impl Clone for BoundStatus
Source§fn clone(&self) -> BoundStatus
fn clone(&self) -> BoundStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BoundStatus
Source§impl Debug for BoundStatus
impl Debug for BoundStatus
impl Eq for BoundStatus
Source§impl PartialEq for BoundStatus
impl PartialEq for BoundStatus
impl StructuralPartialEq for BoundStatus
Auto Trait Implementations§
impl Freeze for BoundStatus
impl RefUnwindSafe for BoundStatus
impl Send for BoundStatus
impl Sync for BoundStatus
impl Unpin for BoundStatus
impl UnsafeUnpin for BoundStatus
impl UnwindSafe for BoundStatus
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
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