public abstract static class IloCplex.FlowMIRCutInfoCallback extends IloCplex.MIPInfoCallback
An instance of the class FlowMIRCutInfoCallback 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 monitor the progress of the generation of
flow cover and mixed integer rounding (MIR) 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. This is the callback class to use when
IloCplex is solving a MIP.
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.FlowMIRCutInfoCallback()
Constructor for user-written flow cover and MIR cut callbacks.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getProgress()
Returns the fraction of completion of the 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.FlowMIRCutInfoCallback()
Constructor for user-written flow cover and MIR cut callbacks.
This constructor can be called only to construct objects of derived
user-written callback classes, but not to construct
FlowMIRCutInfoCallback objects directly.
protected double getProgress()
throws IloException
Returns the fraction of completion of the cut generation.
The returned values are in the range of 0.0 to 1.0.
IloException