30.01.2015 Views

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

ILOG CPLEX C++ API 9.0 Reference Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

IloCplex::NetworkCallbackI<br />

The methods of this class are protected for use in deriving a user-written callback class<br />

and in implementing the main method there.<br />

If an attempt is made to access information not available to an instance of this class, an<br />

exception is thrown.<br />

See Also<br />

Constructors<br />

Methods<br />

IloCplex, IloCplex::Callback, IloCplex::CallbackI,<br />

ILONETWORKCALLBACK0<br />

protected NetworkCallbackI()<br />

This constructor creates a callback for use with the network optimizer.<br />

protected IloNum getInfeasibility()<br />

This method returns the current primal infeasibility measure of the network solution in<br />

the instance of IloCplex at the time the invoking callback is executed.<br />

protected IloInt getNiterations()<br />

This method returns the number of network simplex iterations completed so far by an<br />

instance of IloCplex at the invoking callback is executed.<br />

protected IloNum getObjValue()<br />

This method returns the current objective value of the network solution in the instance of<br />

IloCplex at the time the invoking callback is executed.<br />

protected IloBool isFeasible()<br />

This method returns IloTrue if the current network solution is primal feasible.<br />

<strong>ILOG</strong> <strong>CPLEX</strong> <strong>C++</strong> <strong>API</strong> <strong>9.0</strong> REFERENCE M ANUAL 186

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!