Enum grb::Status[][src]

#[repr(i32)]
pub enum Status {
Show variants Loaded, Optimal, Infeasible, InfOrUnbd, Unbounded, CutOff, IterationLimit, NodeLimit, TimeLimit, SolutionLimit, Interrupted, Numeric, SubOptimal, InProgress, UserObjLimit,
}

Status of a model

Variants

Loaded

Model is loaded, but no solution information is available.

Optimal

Model was solved to optimality (subject to tolerances), and an optimal solution is available.

Infeasible

Model was proven to be infeasible.

InfOrUnbd

Model was proven to be either infeasible or unbounded. To obtain a more definitive conclusion, set the DualReductions parameter to 0 and reoptimize

Unbounded

Model was proven to be unbounded.

Important note: an unbounded status indicates the presence of an unbounded ray that allows the objective to improve without limit. It says nothing about whether the model has a feasible solution. If you require information on feasibility, you should set the objective to zero and reoptimize.

CutOff

Optimal objective for model was proven to be worse than the value specified in the Cutoff parameter. No solution information is available.

IterationLimit

Optimization terminated because the total number of simplex iterations performed exceeded the value specified in the IterationLimit parameter, or because the total number of barrier iterations exceeded the value specified in the BarIterLimit parameter.

NodeLimit

Optimization terminated because the total number of branch-and-cut nodes explored exceeded the value specified in the NodeLimit parameter.

TimeLimit

Optimization terminated because the time expended exceeded the value specified in the TimeLimit parameter.

SolutionLimit

Optimization terminated because the number of solutions found reached the value specified in the SolutionLimit parameter.

Interrupted

Optimization was terminated by the user.

Numeric

Optimization was terminated due to unrecoverable numerical difficulties.

SubOptimal

Unable to satisfy optimality tolerances; a sub-optimal solution is available.

InProgress

An asynchronous optimization call was made, but the associated optimization run is not yet complete.

UserObjLimit

User specified an objective limit (a bound on either the best objective or the best bound), and that limit has been reached.

Trait Implementations

impl Clone for Status[src]

impl Copy for Status[src]

impl Debug for Status[src]

impl ModelAttrGet<Status> for ModelStatusAttr[src]

impl PartialEq<Status> for Status[src]

impl StructuralPartialEq for Status[src]

impl TryFrom<i32> for Status[src]

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Status

impl Send for Status

impl Sync for Status

impl Unpin for Status

impl UnwindSafe for Status

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.