ilog.cplex
Class IloCplex.BarrierCallback
java.lang.Object
|
+--ilog.cplex.IloCplex.Callback
|
+--ilog.cplex.IloCplex.LPCallback
|
+--ilog.cplex.IloCplex.BarrierCallback
- public abstract static class IloCplex.BarrierCallback
- extends IloCplex.LPCallback
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
after each iteration during the optimization. If an attempt is made to
access information not available to an instance of this class, an
exception is thrown.
The constructor and method of this class are for use in deriving
a user-written callback class and in implementing the main method in it.
For more information about the barrier optimizer, see the
ILOG CPLEX User’s Manual.
- See Also:
IloCplex.LPCallback
Method Summary |
protected double |
getDualObjValue()
Gets 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()
- User-written barrier simplex callback class constructor.
This constructor can be called only for constructing objects of derived
user-written callback classes, but not to construct
IloCplex.LPCallback
objects directly.
getDualObjValue
protected double getDualObjValue()
- Gets the current dual objective value.
- Returns:
- The current dual objective value.