ILOG CPLEX 11.0 User's Manual > Languages and APIs > ILOG Concert Technology for C++ Users > Example: Optimizing the Diet Problem in C++ |
Example: Optimizing the Diet Problem in C++ |
INDEX PREVIOUS NEXT |
The optimization problem solved in this example is to compose a diet from a set of foods, so that the nutritional requirements are satisfied and the total cost is minimized. Problem Representation describes the problem.
The example ilodiet.cpp
illustrates these procedures:
To continue this example, Application Description outlines the structure of the application. The following sections explain more about data structures useful in this application.
Notes about the application are available in Complete Program.
Copyright © 1987-2007 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |