ilog.cplex
Class IloCplex.BarrierCallback
java.lang.Object
ilog.cplex.IloCplex.Callback
ilog.cplex.IloCplex.OptimizationCallback
ilog.cplex.IloCplex.ContinuousCallback
ilog.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
Method Summary |
protected double |
getDualObjValue()
Returns the current dual objective value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
getDualObjValue
protected double getDualObjValue()
throws IloException
- Returns the current dual objective value.
- Returns:
- The current dual objective value.
- Throws:
IloException