ilog.cplex
Class IloCplex.BasisStatus

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

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

This class provides an the types of basis status. A basis captures the essence of a solution of the simplex algorithm and can be used, among other things, to warm start an optimization with the simplex algorithm. The class BasisStatus distinguishes four non-basis statuses and a fundamental status for the variables (columns) and constraints (rows) of an LP. A basis is an assignment of basis statuses to the rows and columns of an LP matrix such that the set of columns corresponds to basic variables and the set of unit vectors corresponds to basic rows for a non-singular matrix.


Field Summary
static IloCplex.BasisStatus AtLower
          This status indicates that the variable or slack corresponding to a constraint is non-basic and at its bound.
static IloCplex.BasisStatus AtUpper
          This status indicates that the variable or slack corresponding to a constraint is non-basic, and at its upper bound.
static IloCplex.BasisStatus Basic
          This status indicates that the variable or slack corresponding to a constraint is basic.
static IloCplex.BasisStatus FreeOrSuperbasic
          This status indicates that the variable is non-basic, but not at a bound.
static IloCplex.BasisStatus NotABasicStatus
          This status represents an illegal basis status.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String toString()
          Transforms the status into a human readable string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NotABasicStatus

public static final IloCplex.BasisStatus NotABasicStatus
This status represents an illegal basis status. No valid basis may contain such a status.

AtLower

public static final IloCplex.BasisStatus AtLower
This status indicates that the variable or slack corresponding to a constraint is non-basic and at its bound. In cases where the variable has both upper and lower bounds, this status indicates that the variable is set to its lower bound.

Basic

public static final IloCplex.BasisStatus Basic
This status indicates that the variable or slack corresponding to a constraint is basic.

AtUpper

public static final IloCplex.BasisStatus AtUpper
This status indicates that the variable or slack corresponding to a constraint is non-basic, and at its upper bound.

FreeOrSuperbasic

public static final IloCplex.BasisStatus FreeOrSuperbasic
This status indicates that the variable is non-basic, but not at a bound. Either the variable is free and set to 0 or it is set to a specific value as a super-basic variable.
Method Detail

toString

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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object