NO FRAMES

Class IloCplex::BarrierCallbackI

Definition file: ilcplex/ilocplexi.h

An instance of the class IloCplex::BarrierCallbackI represents a user-written callback in an application that uses an instance of IloCplex to solve a problem by means of the barrier optimizer. IloCplex calls the user-written callback after each iteration during optimization with the barrier method. If an attempt is made to access information not available to an instance of this class, an exception is thrown.

The constructor and methods of this class are for use in deriving a user-written callback class and in implementing the main method there.

For more information about the barrier optimizer, see the ILOG CPLEX User's Manual.

See Also:

Constructor Summary
protected BarrierCallbackI(IloEnv env)
Method Summary
protected IloNumgetDualObjValue() const
Inherited Methods from ContinuousCallbackI
getDualInfeasibility, getInfeasibility, getNiterations, getObjValue, isDualFeasible, isFeasible
Inherited Methods from OptimizationCallbackI
getModel, getNcols, getNQCs, getNrows
Inherited Methods from CallbackI
abort, duplicateCallback, getEnv, main
Constructor Detail

BarrierCallbackI

protected BarrierCallbackI(IloEnv env)

This constructor creates a callback for use in an application of the barrier optimizer.


Method Detail

getDualObjValue

protected IloNum getDualObjValue() const

This method returns the current dual objective value of the solution in the instance of IloCplex at the time the invoking callback is executed.