Enum grb::Status[][src]

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Query the value for this attribute

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.