ilog.cplex
Class IloCplex.FlowMIRCutCallback
java.lang.Object
|
+--ilog.cplex.IloCplex.Callback
|
+--ilog.cplex.IloCplex.MIPCallback
|
+--ilog.cplex.IloCplex.FlowMIRCutCallback
- public abstract static class IloCplex.FlowMIRCutCallback
- extends IloCplex.MIPCallback
A callback class to use when IloCplex
is solving a MIP.
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 check on the progress of the
cuts.
The constructor and methods of this class are protected for use
in deriving a user-written callback class and in implementing the
main
method in it. If an attempt is made to access information not
available to an instance of this class, an exception is thrown.
- See Also:
IloCplex.MIPCallback
Constructor Summary |
protected |
IloCplex.FlowMIRCutCallback()
Constructs a user-written callback class with a method to check the
progress of cuts when IloCplex is solving a MIP |
Method Summary |
protected double |
getProgress()
Returns the fraction of the generated cut. |
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,
getPriority,
isIntegerFeasible |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
IloCplex.FlowMIRCutCallback
protected IloCplex.FlowMIRCutCallback()
- Constructs a user-written callback class with a method to check the
progress of cuts when
IloCplex
is solving a MIP
getProgress
protected double getProgress()
- Returns the fraction of the generated cut.
This method returns the fraction of flow cover cuts and the MIR (Mixed
Integer Rounding) cuts generation for the pass completed.