Skip to main content
FRAMES NO FRAMES

Class IloCplex::FlowMIRCutCallbackI

Definition file: ilcplex/ilocplexi.h
Map of IloCplex::FlowMIRCutCallbackIIloCplex::FlowMIRCutCallbackIIloCplex::FlowMIRCutCallbackIIloCplex::MIPCallbackIIloCplex::MIPInfoCallbackIIloCplex::OptimizationCallbackIIloCplex::CallbackI

An instance of the class IloCplex::FlowMIRCutCallbackI 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 member function to check on the progress of the generation of Flow MIR 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 there.

If an attempt is made to access information not available to an instance of this class, an exception is thrown.

See Also:

Method Summary
protected FlowMIRCutCallbackI(IloEnv env)
public IloNumgetProgress() const
protected Callback::TypegetType() const
Inherited Methods from MIPCallbackI
getCurrentNodeDepth, getObjCoef, getObjCoef, getObjCoefs, getObjCoefs, getType, getUserThreads, MIPCallbackI
Inherited Methods from MIPInfoCallbackI
getBestObjValue, getCutoff, getDirection, getDirection, getIncumbentObjValue, getIncumbentSlack, getIncumbentSlacks, getIncumbentValue, getIncumbentValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getMIPRelativeGap, getMyThreadNum, getNcuts, getNiterations, getNiterations64, getNnodes, getNnodes64, getNremainingNodes, getNremainingNodes64, getPriority, getPriority, getQuality, getType, hasIncumbent, MIPInfoCallbackI
Inherited Methods from OptimizationCallbackI
getModel, getNcols, getNQCs, getNrows
Inherited Methods from CallbackI
abort, duplicateCallback, getCplexTime, getDetTime, getEndDetTime, getEndTime, getEnv, getStartDetTime, getStartTime, getType, main
Method Detail

FlowMIRCutCallbackI

protected FlowMIRCutCallbackI(IloEnv env)
This constructor creates a callback for use in an application where flow MIR cuts are generated.

getProgress

public IloNum getProgress() const
This method returns the fraction of completion of the cut generation pass for FlowMIR cuts.

getType

protected Callback::Type getType() const

This method returns the callback type of the invoking callback object.