Generating the optimization model

Presents the generate() function.

When your IloOplModel instance is created, you can generate the optimization model and feed it to your CPLEX algorithm by calling the generate() function. In the mulprod_main example, it is called on the thisOplModel instance:


thisOplModel.generate();

After this call, the CPLEX instance is ready to solve.