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::LazyConstraintCallbackI<br />

Inherited methods from IloCplex::MIPCallbackI<br />

MIPCallbackI::getBestObjValue, MIPCallbackI::getCutoff,<br />

MIPCallbackI::getDirection, MIPCallbackI::getDirection,<br />

MIPCallbackI::getIncumbentObjValue, MIPCallbackI::getIncumbentValue,<br />

MIPCallbackI::getIncumbentValue, MIPCallbackI::getIncumbentValues,<br />

MIPCallbackI::getIncumbentValues, MIPCallbackI::getMyThreadNum,<br />

MIPCallbackI::getNcliques, MIPCallbackI::getNcovers,<br />

MIPCallbackI::getNdisjunctiveCuts, MIPCallbackI::getNflowCovers,<br />

MIPCallbackI::getNflowPaths, MIPCallbackI::getNfractionalCuts,<br />

MIPCallbackI::getNGUBcovers, MIPCallbackI::getNimpliedBounds,<br />

MIPCallbackI::getNiterations, MIPCallbackI::getNMIRs,<br />

MIPCallbackI::getNnodes, MIPCallbackI::getNremainingNodes,<br />

MIPCallbackI::getObjCoef, MIPCallbackI::getObjCoef,<br />

MIPCallbackI::getObjCoefs, MIPCallbackI::getObjCoefs,<br />

MIPCallbackI::getPriority, MIPCallbackI::getPriority,<br />

MIPCallbackI::getUserThreads, MIPCallbackI::hasIncumbent<br />

Description<br />

Inherited methods from IloCplex::CallbackI<br />

CallbackI::abort, CallbackI::duplicateCallback, CallbackI::getEnv,<br />

CallbackI::getModel, CallbackI::getNcols, CallbackI::getNQCs,<br />

CallbackI::getNrows, CallbackI::main<br />

Note:This is an advanced routine. Advanced routines typically demand a profound<br />

understanding of the algorithms used by <strong>ILOG</strong> <strong>CPLEX</strong>. Thus they incur a higher<br />

risk of incorrect behavior in your application, behavior that can be difficult to<br />

debug. Therefore, <strong>ILOG</strong> encourages you to consider carefully whether you can<br />

accomplish the same task by means of other Callable Library routines instead.<br />

An instance of the class IloCplex::LazyConstraintCallbackI represents a<br />

user-written callback in an application that uses an instance of IloCplex to solve a<br />

MIP while generating lazy constraints. IloCplex calls the user-written callback after<br />

solving each node LP exactly like IloCplex::CutCallbackI. In fact, this<br />

callback is exactly equivalent to IloCplex::CutCallbackI but offers a name<br />

more consistently pointing out the difference between lazy constraints and user cuts.<br />

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

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

Saved successfully!

Ooh no, something went wrong!