Example: optimizing the diet problem in C++
Shows an example of the C++ API.
- Overview
Outlines how to solve the diet problem with CPLEX in a C++ application. - Problem representation
Describes how the problem is represented in the application. - Application description
Describes the architecture of the application. - Creating multi-dimensional arrays with IloArray
Describes data handling in the application. - Using arrays for input or output
Describes input and out in the application. - Solving the model with IloCplex
Shows how to solve the example. - Complete program
Refers to the online sample.
Parent topic: Concert Technology for C++ users