ilog.cplex
Class IloCplex.FlowMIRCutCallback
java.lang.Object
ilog.cplex.IloCplex.Callback
ilog.cplex.IloCplex.MIPCallback
ilog.cplex.IloCplex.FlowMIRCutCallback
- All Implemented Interfaces:
- java.lang.Cloneable
- Enclosing class:
- IloCplex
- public abstract static class IloCplex.FlowMIRCutCallback
- extends IloCplex.MIPCallback
This is the callback class to use to monitor the progress
of the generation of flow cover and mixed integer rounding (MIR)
cuts when a mixed integer programming problem (MIP) is being solved.
An instance of the class FlowMIRCutCallback
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.
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.
- See Also:
IloCplex.MIPCallback
Method Summary |
protected double |
getProgress()
Returns the fraction of completion of the cut generation. |
Methods inherited from class ilog.cplex.IloCplex.MIPCallback |
getBestObjValue, getCutoff, getDirection, getIncumbentObjValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getNcliques, getNcovers, getNdisjunctiveCuts, getNflowCovers, getNflowPaths, getNfractionalCuts, getNGUBcovers, getNimpliedBounds, getNiterations, getNMIRs, getNnodes, getNremainingNodes, getObjCoef, getObjCoefs, getObjCoefs, getPriority, hasIncumbent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IloCplex.FlowMIRCutCallback
protected IloCplex.FlowMIRCutCallback()
- 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
IloCplex.FlowMIRCutCallback
objects directly.
getProgress
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.
- Returns:
- The fraction of completion of the cut generation.
- Throws:
IloException