public abstract static class IloCplex.FlowMIRCutCallback extends IloCplex.MIPCallback
An instance of the class FlowMIRCutCallback represents a
user-written control or query 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 control 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 and you intend to intervene in the search.
IloCplex.MIPCallback.NodeDataIloCplex.Callback.Context, IloCplex.Callback.Function| Modifier | Constructor and Description |
|---|---|
protected |
IloCplex.FlowMIRCutCallback()
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.
|
getCurrentNodeDepth, getNodeDoubleInfo, getNodeIntInfo, getNodeLongInfo, getObjCoef, getObjCoefs, getObjCoefsgetBestObjValue, getCutoff, getDirection, getIncumbentObjValue, getIncumbentValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getMIPRelativeGap, getNcuts, getNiterations, getNiterations64, getNnodes, getNnodes64, getNremainingNodes, getNremainingNodes64, getPriority, getQuality, hasIncumbentgetModel, getNcols, getNQCs, getNrowsabort, getCplexTime, getDetTime, getEndDetTime, getEndTime, getStartDetTime, getStartTime, mainprotected IloCplex.FlowMIRCutCallback()
This constructor can be called only to construct objects of
derived user-written callback classes, but not to construct
FlowMIRCutCallback 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