public abstract static class IloCplex.ProbingInfoCallback extends IloCplex.MIPInfoCallback
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.ProbingInfoCallback()
Constructor for user-written probing callbacks.
|
| Modifier and Type | Method and Description |
|---|---|
protected int |
getPhase()
Returns the current phase of probing.
|
protected double |
getProgress()
Returns the fraction of completion of the current probing phase.
|
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.ProbingInfoCallback()
Constructor for user-written probing callbacks.
This constructor can be called only to construct objects of derived
user-written callback classes, but not to construct
ProbingInfoCallback objects directly.
protected int getPhase()
throws IloException
Returns the current phase of probing.
IloExceptionprotected double getProgress()
throws IloException
Returns the fraction of completion of the current probing phase.
This value is between 0.0 and 1.0.
IloException