Problem 1 Dr. Song will go to McDonald's for dinner tonight. After studying operations research, he feels that he should at least be "smart" enough to figure out the way he eats it. Let's build a model to determine what to eat at McDonald's. QP AD BM FF MC FR SM 1M OJ Required Cost 3.79 4.49 3.99 3.79 1.29 1.79 1.19 1.00 1.89 Prot 28 24 25 14 31 3 15 9. 1 55 VitA 15 15 8 10 100 VitC 6 10 15 15 4 120 100 Calc 30 20 25 15 15 20 30 100 Iron 20 20 20 10 15 100 Cals 510 370 500 370 400 220 345 110 80 2000 Carb 34 33 42 38 42 26 27 12 20 350 The tables gives the menu (Quarter Pounder, Angus Deluxe, etc.) along with their unit cost (in $) and amount of nutrients contained (Protain, Vitamin A, etc.) The last column of the table gives the daily required amount of nutrients suggested by Dr. Song's doctor. Suppose Dr. Song aims to minimize the cost of his dinner, while he wants to satisfy all the nutrient requirements. Formulate this problem as a linear programming model, and solve it in Excel or Python. In addition to a linear programming model with clear definition of decision variables, objective function, and constraints, you will also be submitting the Excel file (hwk2.xlsx) or the Jupyter notebook file (hwk2.ipynb) on Canvas. Note: It is always a good idea to write down a linear program on a piece of paper before starting coding or doing Excel.

Practical Management Science
6th Edition
ISBN:9781337406659
Author:WINSTON, Wayne L.
Publisher:WINSTON, Wayne L.
Chapter2: Introduction To Spreadsheet Modeling
Section: Chapter Questions
Problem 20P: Julie James is opening a lemonade stand. She believes the fixed cost per week of running the stand...
icon
Related questions
Question
Must be done win excell
Problem 1 Dr. Song will go to McDonald's for dinner tonight. After studying operations
research, he feels that he should at least be "smart" enough to figure out the way he eats it. Let's
build a model to determine what to eat at McDonald's.
QP
AD
BM
FF
MC
FR
SM
1M
OJ
Required
Cost
3.79
4.49
3.99
3.79
1.29
1.79
1.19
1.00
1.89
Prot
28
24
25
14
31
3
15
9.
1
55
VitA
15
15
6
8
4
10
100
VitC
10
15
15
4
120
100
Calc
30
20
25
15
15
20
30
2
100
Iron
20
20
20
10
8
15
100
Cals
510
370
500
370
400
220
345
110
80
2000
Carb
34
33
42
38
42
26
27
12
20
350
The tables gives the menu (Quarter Pounder, Angus Deluxe, etc.) along with their unit cost (in
$) and amount of nutrients contained (Protain, Vitamin A, etc.) The last column of the table gives
the daily required amount of nutrients suggested by Dr. Song's doctor. Suppose Dr. Song aims to
minimize the cost of his dinner, while he wants to satisfy all the nutrient requirements. Formulate
this problem as a linear programming model, and solve it in Excel or Python. In addition to a linear
programming model with clear definition of decision variables, objective function, and constraints,
you will also be submitting the Excel file (hwk2.xlsx) or the Jupyter notebook file (hwk2.ipynb) on
Canvas. Note: It is always a good idea to write down a linear program on a piece of paper before
starting coding or doing Excel.
2.
2.
Transcribed Image Text:Problem 1 Dr. Song will go to McDonald's for dinner tonight. After studying operations research, he feels that he should at least be "smart" enough to figure out the way he eats it. Let's build a model to determine what to eat at McDonald's. QP AD BM FF MC FR SM 1M OJ Required Cost 3.79 4.49 3.99 3.79 1.29 1.79 1.19 1.00 1.89 Prot 28 24 25 14 31 3 15 9. 1 55 VitA 15 15 6 8 4 10 100 VitC 10 15 15 4 120 100 Calc 30 20 25 15 15 20 30 2 100 Iron 20 20 20 10 8 15 100 Cals 510 370 500 370 400 220 345 110 80 2000 Carb 34 33 42 38 42 26 27 12 20 350 The tables gives the menu (Quarter Pounder, Angus Deluxe, etc.) along with their unit cost (in $) and amount of nutrients contained (Protain, Vitamin A, etc.) The last column of the table gives the daily required amount of nutrients suggested by Dr. Song's doctor. Suppose Dr. Song aims to minimize the cost of his dinner, while he wants to satisfy all the nutrient requirements. Formulate this problem as a linear programming model, and solve it in Excel or Python. In addition to a linear programming model with clear definition of decision variables, objective function, and constraints, you will also be submitting the Excel file (hwk2.xlsx) or the Jupyter notebook file (hwk2.ipynb) on Canvas. Note: It is always a good idea to write down a linear program on a piece of paper before starting coding or doing Excel. 2. 2.
Expert Solution
Objective Functions and Constraints:

Objective Functions and Constraints:

                Based on the given details, the objective functions and constraints are 

Objective Function:

Min c = 3.79x1 + 4.49x2 + 3.99x3 + 3.79x4 + 1.29x5 + 1.79x6 + 1.19x7 + 1.00x8 + 1.89x9  x1  QP x2  AD x3  BM x4  FF x5  MC x6  FR x7  SM x8  1M x9 - OJ

Constraints:

                Subject to

Prot: 28x1 + 24x2 + 25x3 + 14x4 + 31x5 + 3x6 + 15x7 + 9x8 + 1x9  55  Vit A: 15x1 + 15x2 + 6x3 + 2x4 + 8x5 + 0x6 + 4x7 + 10x8 + 2x9  100  Vit C: 6x1 + 10x2 + 2x3 + 0x4 + 15x5 + 15x6 + 0x7 + 4x8 + 120x9  100  Calc: 30x1 + 20x2 + 25x3 + 15x4 + 15x5+ 0x6 + 20x7 + 30x8 + 2x9  100  Iron: 20x1 + 20x2 + 20x3 + 10x4 + 8x5 + 2x6 + 15x7 + 0x8 + 2x9  100  Cals: 510x1 + 370x2 + 500x3 + 370x4 + 400x5 + 220x6 + 345x7 + 110x8 + 80x9  2000  Carb: 34x1 + 33x2 + 42x3 + 38x4 + 42x5 + 26x6 + 27x7 + 12x8 + 20x9  350 x1, x2, x3, x4, x5, x6, x7, x8, x9  0

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Recommended textbooks for you
Practical Management Science
Practical Management Science
Operations Management
ISBN:
9781337406659
Author:
WINSTON, Wayne L.
Publisher:
Cengage,
Operations Management
Operations Management
Operations Management
ISBN:
9781259667473
Author:
William J Stevenson
Publisher:
McGraw-Hill Education
Operations and Supply Chain Management (Mcgraw-hi…
Operations and Supply Chain Management (Mcgraw-hi…
Operations Management
ISBN:
9781259666100
Author:
F. Robert Jacobs, Richard B Chase
Publisher:
McGraw-Hill Education
Business in Action
Business in Action
Operations Management
ISBN:
9780135198100
Author:
BOVEE
Publisher:
PEARSON CO
Purchasing and Supply Chain Management
Purchasing and Supply Chain Management
Operations Management
ISBN:
9781285869681
Author:
Robert M. Monczka, Robert B. Handfield, Larry C. Giunipero, James L. Patterson
Publisher:
Cengage Learning
Production and Operations Analysis, Seventh Editi…
Production and Operations Analysis, Seventh Editi…
Operations Management
ISBN:
9781478623069
Author:
Steven Nahmias, Tava Lennon Olsen
Publisher:
Waveland Press, Inc.