12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's 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.

◆What is the purpose (the objective) of solving this problem?What is known?The amount of nutrition provided by a given quantity of a given food.The cost per unit of food.The upper and lower bounds on the foods to be purchased for the dietWhat are the unknowns?The quantities of foods to buy.What are the constraints?The food bought to consume must satisfy basic nutritional requirements.The amount of each food purchased must not exceed what is available.What is the objective?Minimize the cost of food to buyStep 2Open the fileOpen the file your<strong>CPLEX</strong>home\examples\src\tutorials\Dietlesson.cs in yourintegrated development environment, such as Microsoft Visual Studio. Then go to thecomment Step 2 in Dietlesson.cs, and add the following lines to declare a class, a keyelement of this application.<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 99

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

Saved successfully!

Ooh no, something went wrong!