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
Model is loaded, but no solution information is available.
Model was solved to optimality (subject to tolerances), and an optimal solution is available.
Model was proven to be infeasible.
Model was proven to be either infeasible or unbounded. To obtain a more definitive conclusion,
set the DualReductions
parameter to 0 and reoptimize
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.
Optimal objective for model was proven to be worse than the value specified in the Cutoff parameter. No solution information is available.
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.
Optimization terminated because the total number of branch-and-cut nodes explored exceeded
the value specified in the NodeLimit
parameter.
Optimization terminated because the time expended exceeded the value specified in the TimeLimit
parameter.
Optimization terminated because the number of solutions found reached the value specified in
the SolutionLimit
parameter.
Optimization was terminated by the user.
Optimization was terminated due to unrecoverable numerical difficulties.
Unable to satisfy optimality tolerances; a sub-optimal solution is available.
An asynchronous optimization call was made, but the associated optimization run is not yet complete.
User specified an objective limit (a bound on either the best objective or the best bound), and that limit has been reached.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Status
impl UnwindSafe for Status
Blanket Implementations
Mutably borrows from an owned value. Read more