OPL Project Diet Paper

OPL Project Diet Paper - Terry Brown IE 280 April 18, 2007...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Terry Brown IE 280 April 18, 2007 Dr. Kurz Diet Project Introduction Sticking to a diet can be hard, but is vital especially for someone who is slightly overweight and with a risk of diabetes. The one major problem, is finding one that gives all of the nutrition value while still making it enjoyable for someone to eat. In this problem, it was necessary to provide an optimal diet for someone who is on a budget and keeping with the nutrition. Using OPL a diet was formed using 20 different foods and letting them choose at least 10 of them while staying within the constraints placed on them. Below, there are several sections which breakdown the project into section such as data, which simply presents the equations, and constraints that were entered into the OPL system and the model which explains the equations and tells how each benefitted the diet in its own way. After the equations have been presented, the recommended diet is shown and explained on why the diet is best and any flaws that can be found with it and finally it is wrapped up with personal thoughts through the experiment and creation of the program. Data i = day = “D1”, “D2” j = food k = meal = “B” , “L” , “D” x ijk = food j eaten on day i for meal k Cost j = cost of food j Calories j = calories in food j Fat j = fat in food j Cholesterol j = cholesterol in food j
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Sodium j = sodium in food j Carbs j = carbs in food j Sugar j = sugar in food j Protien j = protien in food j VitaminA j = vitamin A in food j VitaminC j = vitamin C in food j VitaminD j = vitamin D in food j Calcium j = calcium in food j Iron j = iron in food j Meat j = calories in food j containing meat Vegetable j = food j containing vegetables Grain j = food j containing grain mealData j = type of meal food belongs in Objective i j k x ijk Cost j × Must eat 10 Foods j x ijk 10 Cost must be greater than or equal to or equal to $0 i j k Cost j x ijk × 0 Cost must be less than or equal to $20 i j k Cost j x ijk × 20 Calories must be greater than or equal to or equal to 1800 j k Calories j x ijk × 1800 2200 i
Background image of page 2
Calories must be less than or equal to 2200 j k Calories j x ijk × 2200 2200 i Fat must be greater than or equal to or equal to 0 g. j k Fat j x ijk × 0 2200 i
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Cholesterol must be greater than or equal to or equal to 0 mg. j k Cholesterol j x ijk × 0 2200 i Cholesterol must be less than or equal to 180 mg. j k Cholesterol j x ijk × 180 2200 i Sodium must be greater than or equal to or equal to 0 mg. j k Sodium j x ijk × 0 2200 i Sodium must be less than or equal to 2400 mg. j k Sodium j x ijk × 2400 2200 i Carbs must be greater than or equal to or equal to 0 g. j
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/21/2008 for the course IE 210 taught by Professor ?? during the Spring '08 term at Clemson.

Page1 / 15

OPL Project Diet Paper - Terry Brown IE 280 April 18, 2007...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online