Enum highs::HighsModelStatus [−][src]
The kinds of results of an optimization
Variants
not initialized
Unable to load model
invalid model
Unable to run the pre-solve phase
Unable to solve
Unable to clean after solve
No variables in the model: nothing to optimize
use highs::*; let solved = ColProblem::new().optimise(Sense::Maximise).solve(); assert_eq!(solved.status(), HighsModelStatus::ModelEmpty);
There is no solution to the problem
The problem is unbounded: there is no single optimal value
An optimal solution was found
reached limit
reached limit
reached limit
cannot solve dual
cannot solve dual
Trait Implementations
impl Clone for HighsModelStatus
[src]
fn clone(&self) -> HighsModelStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for HighsModelStatus
[src]
impl Debug for HighsModelStatus
[src]
impl Eq for HighsModelStatus
[src]
impl Ord for HighsModelStatus
[src]
fn cmp(&self, other: &HighsModelStatus) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl PartialEq<HighsModelStatus> for HighsModelStatus
[src]
fn eq(&self, other: &HighsModelStatus) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl PartialOrd<HighsModelStatus> for HighsModelStatus
[src]
fn partial_cmp(&self, other: &HighsModelStatus) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralEq for HighsModelStatus
[src]
impl StructuralPartialEq for HighsModelStatus
[src]
impl TryFrom<i32> for HighsModelStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for HighsModelStatus
impl Send for HighsModelStatus
impl Sync for HighsModelStatus
impl Unpin for HighsModelStatus
impl UnwindSafe for HighsModelStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,