Skip to main content
FRAMES NO FRAMES

Class IloCplex::BarrierCallbackI

Definition file: ilcplex/ilocplexi.h
Map of IloCplex::BarrierCallbackIIloCplex::BarrierCallbackIIloCplex::BarrierCallbackIIloCplex::ContinuousCallbackIIloCplex::OptimizationCallbackIIloCplex::CallbackI

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 CPLEX User's Manual.

See Also:

Method Summary
protected BarrierCallbackI(IloEnv env)
public IloNumgetDualObjValue() const
protected Callback::TypegetType() const
Inherited Methods from ContinuousCallbackI
ContinuousCallbackI, getDualInfeasibility, getInfeasibility, getNiterations, getNiterations64, getObjValue, getType, isDualFeasible, isFeasible
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

BarrierCallbackI

protected BarrierCallbackI(IloEnv env)

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


getDualObjValue

public 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.


getType

protected Callback::Type getType() const

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