ilog.cplex
Class IloCplex.DeleteMode

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

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

This class lists the possible settings for the delete mode of IloCplex as controlled by the methods setDeleteMode and getDeleteMode. An instance of this class represents a user-written callback in an application that uses an instance of IloCplex to solve a mixed integer programming problem (a MIP). This class offers a method to check on the progress of the cuts.

The constructor and methods of this class are protected for use in deriving a user-written callback class and in implementing the main method in it.

If an attempt is made to access information not available to an instance of this class, an exception is thrown.


Field Summary
static IloCplex.DeleteMode FixBasis
          Sets the delete mode to FixBasis.
static IloCplex.DeleteMode LeaveBasis
          Sets the delete mode to LeaveBasis.
 
Constructor Summary
IloCplex.DeleteMode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LeaveBasis

public static final IloCplex.DeleteMode LeaveBasis
Sets the delete mode to LeaveBasis. When the delete mode is set to LeaveBasis, an existing basis will remain unchanged if variables or constraints are removed from the loaded LP model. This generally renders the basis unusable for restart when solving the modified LP and the advance indicator (parameter AdvInd) is set to IloTrue.

If no basis is present in the invoking object, the setting of the delete mode has no effect.


FixBasis

public static final IloCplex.DeleteMode FixBasis
Sets the delete mode to FixBasis. If the delete mode is set to FixBasis, the invoking object will do basis pivots in order to maintain a valid basis when variables or constraints are removed. This makes the delete operation more computation intensive, but may give a better starting point for reoptimization after the modification of the extracted model.

If no basis is present in the invoking object, the setting of the delete mode has no effect.

Constructor Detail

IloCplex.DeleteMode

public IloCplex.DeleteMode()