ilog.cplex
Class IloCplex.Status

java.lang.Object
  |
  +--ilog.cplex.IloCplex.Status
Enclosing class:
IloCplex

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

Enumeration of possible solution status values, as returned by method 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 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 solution status indicates that an error has occurred.
static IloCplex.Status Feasible
          The Feasible solution status indicates 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 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 the method getValue.
static IloCplex.Status Unbounded
          The Unbounded 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 active 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 solution status indicates that an error has occurred.


Unknown

public static final IloCplex.Status Unknown
The Unknown solution status indicates 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.


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 the method getValue. Neither the optimality nor the nonoptimality of this solution has been 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.


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 the method getValue. The solution is proven to be optimal only within tolerances and achievable numeric 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 Unbounded 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 could 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