0% found this document useful (0 votes)
20 views2 pages

Sample Homework: Mcdonald'S Diet Problem (20Pts)

This document provides a sample homework problem and solution for designing a least-cost daily meal plan from McDonald's that meets certain nutritional standards. The problem sets daily limits of 2000 calories, and minimums of 100% RDA for vitamin C and calcium, and 55 grams of protein. Decision variables are items from McDonald's menu. The solution finds the optimal quantities of hamburgers, salads, and pies to meet constraints at lowest cost.

Uploaded by

tomshing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

Sample Homework: Mcdonald'S Diet Problem (20Pts)

This document provides a sample homework problem and solution for designing a least-cost daily meal plan from McDonald's that meets certain nutritional standards. The problem sets daily limits of 2000 calories, and minimums of 100% RDA for vitamin C and calcium, and 55 grams of protein. Decision variables are items from McDonald's menu. The solution finds the optimal quantities of hamburgers, salads, and pies to meet constraints at lowest cost.

Uploaded by

tomshing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Sample Homework: McDonalds Diet Problem (20pts)

Problem description (not required):

You want your diet to meet some nutritional standards. According to your daily diet
plan you need to have at least 100 percent of the U.S. RDA of vitamin C and
calcium; at least 55 grams of protein; and at most 2000 calories. You are wondering
if this can be accomplished by eating at McDonalds.
Can you design a least-cost McDonalds daily meal plan that meets your daily
nutritious standard?

Sample answer:
Homework #X
Problem: Chapter X, Problem X
(4pts) Decision variables:
x1 = # of hamburgers
x2 = # of Big Macs

x4 = # of Garden Salads
x5 = # of Baked Apple Pies

x3 = # of Chicken McNuggets

(4pts) Objectives:
Minimize money spent on McDonalds Diet
MIN 0.69x1+ 1.99x2+ 1.99x3+ 2.05x4+ 0.79x5

(4pts) Constraints:
Calories obtained 2000: 260x1+560x2 + 250x3+ 35x4+260x5 2000
Protein obtained 55 gram: 13x1 +25x2 + 15x3 + 2x4 + 3x5 55
Vitamin C obtained 100% of U.S. RDA: 2x1 +2x2 +2x3 + 40x4+40x5 100
Calcium obtained 100% of U.S. RDA: 15x1+ 25x2 + 2x3 +4x4+ 2x5 100
Nonnegative constraint: xi 0 i=1,,4

(4pts) Solution:
Optimal decision: x1=6.26, x2=0, x3=0, x4=0.87, x5=1.32
Optimal objective value: 7.14

(4pts) Attach spreadsheet

You might also like