ilog.cplex
Class IloCplex.Status

java.lang.Object
  |
  +--ilog.cplex.IloCplex.Status

public static class IloCplex.Status
extends java.lang.Object

Enumeration type for solution statuses. The solution status can be queried from an IloCplex object using the method getStatus(). The status contains the information the IloCplex optimizer has gathered so far about a possible solution to its IloCplex model. User code typically refers to solution statuses by specifying full paths, for example IloCplex.Status.Optimal.


Field Summary
static IloCplex.Status Bounded
          The Bounded solution status indicates that the IloCplex optimizer has determined that the model is not unbounded.
static IloCplex.Status Error
          The Error indicates that an error has ocurred.
static IloCplex.Status Feasible
          The Feasible solution status indicates that the IloCplex optimizer has found a feasible solution that can be queried with method getValue().
static IloCplex.Status Infeasible
          The Infeasible solution status indicates that the IloCplex optimizer has determined that the model is infeasible.
static IloCplex.Status InfeasibleOrUnbounded
          The InfeasibleOrUnbounded solution status indicates that the IloCplex optimizer has determined that the model is infeasible or unbounded.
static IloCplex.Status Optimal
          The Optimal solution status indicates that the IloCplex optimizer has found an optimal solution that can be queried with method getValue().
static IloCplex.Status Unbounded
          The Unounded solution status indicates that the IloCplex optimizer has determined that the model is unbounded.
static IloCplex.Status Unknown
          The Unknown solution status indicates that the optimizer has not gathered any information about the IloCplex model.
 
Method Summary
 java.lang.String toString()
          Transforms status into a human readable string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Error

public static final IloCplex.Status Error
The Error indicates that an error has ocurred.

Unknown

public static final IloCplex.Status Unknown
The Unknown solution status indicates that the optimizer has not gathered any information about the IloCplex model. This is usually the status before a solution method has been called, or after the model has been manipulated.

Feasible

public static final IloCplex.Status Feasible
The Feasible solution status indicates that the IloCplex optimizer has found a feasible solution that can be queried with method getValue(). Neither the optimality or non-optimality of the found solution is proven.

Bounded

public static final IloCplex.Status Bounded
The Bounded solution status indicates that the IloCplex optimizer has determined that the model is not unbounded. This does not imply that the model is feasible. The infeasibity of a solution can be determined by querying the IloCplex optimizer.

Optimal

public static final IloCplex.Status Optimal
The Optimal solution status indicates that the IloCplex optimizer has found an optimal solution that can be queried with method getValue(). The solution is proven to be optimal only within tolerances, and achievable numerical accuracy.

Infeasible

public static final IloCplex.Status Infeasible
The Infeasible solution status indicates that the IloCplex optimizer has determined that the model is infeasible.

Unbounded

public static final IloCplex.Status Unbounded
The Unounded solution status indicates 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 can be constructed.

InfeasibleOrUnbounded

public static final IloCplex.Status InfeasibleOrUnbounded
The InfeasibleOrUnbounded solution status indicates that the IloCplex optimizer has determined that the model is infeasible or unbounded.
Method Detail

toString

public java.lang.String toString()
Transforms status into a human readable string.
Overrides:
toString in class java.lang.Object