public static class IloCplex.Status
extends java.lang.Object
cplex.getStatus.
The status
contains the information the IloCplex optimizer has gathered
so far about a possible solution to the active model. User
code typically refers to a solution status by specifying the full path,
for example IloCplex.Status.Optimal.
| Modifier and Type | Field and Description |
|---|---|
static IloCplex.Status |
Bounded
The
Bounded solution status reports that the
IloCplex optimizer has determined that the model is not
unbounded. |
static IloCplex.Status |
Error
The
Error solution status reports that an error has
occurred. |
static IloCplex.Status |
Feasible
The
Feasible solution status reports that the
IloCplex optimizer has found a feasible solution
that can be queried with the method
getValue. |
static IloCplex.Status |
Infeasible
The
Infeasible solution status reports that the
IloCplex optimizer has determined that the model is
infeasible. |
static IloCplex.Status |
InfeasibleOrUnbounded
The
InfeasibleOrUnbounded solution status reports that
the IloCplex optimizer has determined that the model is
infeasible or unbounded. |
static IloCplex.Status |
Optimal
The
Optimal solution status reports that the
IloCplex optimizer has found an optimal solution that
can be queried with the method getValue. |
static IloCplex.Status |
Unbounded
The
Unbounded solution status reports that the
IloCplex optimizer has determined that the model is
unbounded. |
static IloCplex.Status |
Unknown
The
Unknown solution status reports that the optimizer
has not gathered any information about the active model. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Transforms status into a human-readable string.
|
public static final IloCplex.Status Error
Error solution status reports that an error has
occurred.public static final IloCplex.Status Unknown
Unknown solution status reports that the optimizer
has not gathered any information about the active model.
This is usually the status before a solve method has been called, or after the model has been manipulated.
public static final IloCplex.Status Feasible
Feasible solution status reports that the
IloCplex optimizer has found a feasible solution
that can be queried with the method
getValue.
Neither the optimality nor the nonoptimality of this solution has been proven.
public static final IloCplex.Status Bounded
Bounded solution status reports that the
IloCplex optimizer has determined that the model is not
unbounded.
This status does not imply that the model is feasible.
public static final IloCplex.Status Optimal
Optimal solution status reports that the
IloCplex optimizer has found an optimal solution that
can be queried with the method getValue.
The solution is proven to be optimal only within tolerances and achievable numeric accuracy.
public static final IloCplex.Status Infeasible
Infeasible solution status reports that the
IloCplex optimizer has determined that the model is
infeasible.public static final IloCplex.Status Unbounded
Unbounded solution status reports that the
IloCplex optimizer has determined that the model is
unbounded.
It has not, however, found the model to be feasible. Instead, the optimizer has proven that for any feasible solution, a better one could be constructed.
In order to check whether the model is feasible, remove the objective function and re-optimize.
public static final IloCplex.Status InfeasibleOrUnbounded
InfeasibleOrUnbounded solution status reports that
the IloCplex optimizer has determined that the model is
infeasible or unbounded.