ILOG CPLEX 11.0 Getting Started > Tutorials > Concert Technology Tutorial for C++ Users > Modifying an Optimization Problem: Example ilolpex3.cpp > Modifying an Optimization Problem

After the simple model is solved and the resulting objective value is passed to the output channel cplex.out, the remaining constraints are created and added to the model. At this time the model has already been extracted to cplex. As a consequence, whenever the model is modified by adding a constraint, this addition is immediately reflected in the cplex object via notification.