ilog.cplex
Class IloCplex.BarrierCallback

java.lang.Object
  extended byilog.cplex.IloCplex.Callback
      extended byilog.cplex.IloCplex.OptimizationCallback
          extended byilog.cplex.IloCplex.ContinuousCallback
              extended byilog.cplex.IloCplex.BarrierCallback
All Implemented Interfaces:
java.lang.Cloneable
Enclosing class:
IloCplex

public abstract static class IloCplex.BarrierCallback
extends IloCplex.ContinuousCallback

This is the callback class to use when IloCplex uses the barrier optimizer.

This class 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 at the end of each barrier iteration. 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 protected to make sure that they are used only to derive a user-written callback class or to implement the main method in it.

See Also:
IloCplex.ContinuousCallback

Constructor Summary
protected IloCplex.BarrierCallback()
          Constructor for user-written barrier callback.
 
Method Summary
protected  double getDualObjValue()
          Returns the current dual objective value.
 
Methods inherited from class ilog.cplex.IloCplex.ContinuousCallback
getDualInfeasibility, getInfeasibility, getNiterations, getObjValue, isDualFeasible, isFeasible
 
Methods inherited from class ilog.cplex.IloCplex.OptimizationCallback
getModel, getNcols, getNQCs, getNrows
 
Methods inherited from class ilog.cplex.IloCplex.Callback
abort, main
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IloCplex.BarrierCallback

protected IloCplex.BarrierCallback()
Constructor for user-written barrier callback. This constructor can be called only to construct objects of derived user-written callback classes. It cannot be used to construct IloCplex.BarrierCallback objects directly.

Method Detail

getDualObjValue

protected double getDualObjValue()
                          throws IloException
Returns the current dual objective value.

Returns:
The current dual objective value.
Throws:
IloException