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

IloCplex will not blindly accept such a solution as a new incumbent. Instead, it will<br />

make sure that this solution is compatible with both the model and the goals. When<br />

checking feasibility with goals, it checks feasibility with both the goals that have already<br />

been executed and the goals that are still on the goal stack. Thus, in particular,<br />

IloCplex will reject any solution that is not compatible with the branching that has<br />

been done so far.<br />

IloCplex takes over memory managment for arrays vars and vals passed to<br />

SolutionGoal. Thus IloCplex will call method end for these arrays as soon as<br />

they can be discarded. Calling end for the arrays passed to SolutionGoal is an<br />

error and must be avoided.<br />

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

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

Saved successfully!

Ooh no, something went wrong!