public abstract static class IloCplex.FractionalCutCallback extends IloCplex.MIPCallback
An instance of this class 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). It allows you to
control the progress of the generation of fractional 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.
IloCplex.MIPCallback.NodeDataIloCplex.Callback.Context, IloCplex.Callback.Function| Modifier | Constructor and Description |
|---|---|
protected |
IloCplex.FractionalCutCallback()
Constructor for user-written fractional cut callbacks.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getProgress()
Returns the fraction of completion of the fractional 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.FractionalCutCallback()
Constructor for user-written fractional cut callbacks.
This constructor can be called only to construct objects of
derived user-written callback classes, but not to construct
FractionalCutCallback objects directly.
protected double getProgress()
throws IloException
The returned values are in the range of 0.0 to 1.0.
IloException