ilog.cplex
Class IloCplex.ProbingCallback

java.lang.Object
  |
  +--ilog.cplex.IloCplex.Callback
        |
        +--ilog.cplex.IloCplex.MIPCallback
              |
              +--ilog.cplex.IloCplex.ProbingCallback
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
IloCplex

public abstract static class IloCplex.ProbingCallback
extends IloCplex.MIPCallback

The base class for user-written callbacks that monitor probing progress.

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.

See Also:
IloCplex.MIPCallback

Constructor Summary
protected IloCplex.ProbingCallback()
          Constructor for user-written probing callbacks.
 
Method Summary
protected  int getPhase()
          Returns the current phase of probing.
protected  double getProgress()
          Returns the fraction of completion of the probing phase.
 
Methods inherited from class ilog.cplex.IloCplex.MIPCallback
getBestObjValue, getCutoff, getDirection, getIncumbentObjValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getMyThreadNum, getNcliques, getNcovers, getNdisjunctiveCuts, getNflowCovers, getNflowPaths, getNfractionalCuts, getNGUBcovers, getNimpliedBounds, getNiterations, getNMIRs, getNnodes, getNremainingNodes, getObjCoef, getObjCoefs, getObjCoefs, getPriority, getUserThreads, hasIncumbent
 
Methods inherited from class ilog.cplex.IloCplex.Callback
abort, getModel, getNcols, getNQCs, getNrows, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IloCplex.ProbingCallback

protected IloCplex.ProbingCallback()
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 IloCplex.ProbingCallback objects directly.

Method Detail

getPhase

protected int getPhase()
                throws IloException
Returns the current phase of probing.

Returns:
The current probing phase.
IloException

getProgress

protected double getProgress()
                      throws IloException
Returns the fraction of completion of the probing phase. This value is between 0.0 and 1.0.

Returns:
The fraction of the completion of the probing phase
IloException