NO FRAMES

Class IloCplex::ProbingCallbackI

Definition file: ilcplex/ilocplexi.h

An instance of the class IloCplex::ProbingCallbackI 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 a probing operation.

This class is not compatible with dynamic search. If you are looking for support for a user-written callback compatible with dynamic search, consider instead the class IloCplex::ProbingInfoCallbackI.

The 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:

Constructor Summary
protected ProbingCallbackI(IloEnv env)
Method Summary
protected IloIntgetPhase() const
protected IloNumgetProgress() const
Inherited Methods from MIPCallbackI
getNcliques, getNcovers, getNdisjunctiveCuts, getNflowCovers, getNflowPaths, getNfractionalCuts, getNGUBcovers, getNimpliedBounds, getNMIRs, getObjCoef, getObjCoef, getObjCoefs, getObjCoefs, getUserThreads
Inherited Methods from MIPInfoCallbackI
getBestObjValue, getCutoff, getDirection, getDirection, getIncumbentObjValue, getIncumbentSlack, getIncumbentSlacks, getIncumbentValue, getIncumbentValue, getIncumbentValues, getIncumbentValues, getMyThreadNum, getNiterations, getNnodes, getNremainingNodes, getPriority, getPriority, hasIncumbent
Inherited Methods from OptimizationCallbackI
getModel, getNcols, getNQCs, getNrows
Inherited Methods from CallbackI
abort, duplicateCallback, getEnv, main
Constructor Detail

ProbingCallbackI

protected ProbingCallbackI(IloEnv env)

This constructor creates a callback for use in an application when probing.


Method Detail

getPhase

protected IloInt getPhase() const

This method returns the current phase of probing.


getProgress

protected IloNum getProgress() const

This method returns the fraction of completion of the current probing phase.