public abstract static class IloCplex.DisjunctiveCutInfoCallback extends IloCplex.MIPInfoCallback
An instance of the class DisjunctiveCutInfoCallback 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 allows you to monitor the progress of the generation of
disjunctive cuts.
User-written callbacks of this class are compatible with dynamic search.
The constructor and methods of this class are protected to make sure that
they are used only to derive a user-written callback class or to implement
the main method in it.
The user-written callback of this class is called by only one thread, even in the case of parallel execution. Consequently, it is not necessary for the user-written callback to manage synchronization.
IloCplex.MIPInfoCallback| Modifier | Constructor and Description |
|---|---|
protected |
IloCplex.DisjunctiveCutInfoCallback()
Constructor for user-written disjunctive cut callbacks.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getProgress()
Returns the fraction of completion of the disjunctive cut generation.
|
getBestObjValue, getCutoff, getDirection, getIncumbentObjValue, getIncumbentValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getMIPRelativeGap, getMyThreadNum, getNiterations, getNnodes, getNremainingNodes, getPriority, hasIncumbentabort, getCplexTime, getDetTime, getEndDetTime, getEndTime, getEnvImpl, getModel, getNcols, getNQCs, getNrows, getStartDetTime, getStartTime, mainprotected IloCplex.DisjunctiveCutInfoCallback()
Constructor for user-written disjunctive cut callbacks.
This constructor can be called only to construct objects of derived
user-written callback classes, but not to construct
DisjunctiveCallback objects directly.
protected double getProgress()
throws IloException
Returns the fraction of completion of the disjunctive cut generation.
The returned values are in the range of 0.0 to 1.0.
IloException