Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hammoud is planning to start a diet program. Following are the main ingredients of his diet: milk, bread, rice, eggs, vegetables, chicken, lamb, fish, halawa,

image text in transcribed Hammoud is planning to start a diet program. Following are the main ingredients of his diet: milk, bread, rice, eggs, vegetables, chicken, lamb, fish, halawa, and ice-cream. The related information of the ingredients are given as follows: Following are the main restriction of his diet plan for a given meal: (i) The total calories intake per meal should be 80050. (ii) The total protein intake per meal should be 6010. (iii) The total fiber intake per meal should be 155. (iv) He cannot eat more than three types of main ingredients in a meal. (v) If milk is taken in the meal, then bread and eggs must be part of the meal. (vi) If lamb or chicken is taken in the meal, then fish should not be taken in that meal. (vii) If bread and eggs are part of the meal, then milk must be part of that meal. (viii) Either halawa is included or ice-cream is included in the meal (but not both). (ix) Chicken, lamb and fish cannot be in one meal. (x) No main ingredient must be taken more than two time in a day. Now, answer the following: (a) Define a variable that captures the number of units of the main ingredients. (b) Using the above variable, build the constraints corresponding to restriction (i), (ii) \& (iii). (c) Can you use the above variable to build the rest of the restrictions? If not, then define a new variable and relate it to the previous variable. (d) Using the new or old variable, build the rest of the constraints. (e) If the goal is find a meal with lowest total cost, then define the corresponding objective function. (f) Write the complete mathematical formulation with the following modifications: - The diet plan is for a month (30 days), where each day should contain (3) meals. - The goal is to reduce the total cost for one month diet plan. - Restriction (i) to (viii) are applicable for each meal. - A main ingredient should not be included in all the three meal of a day. - Every main ingredient should be taken at-least once per 5 days. Note: You may need to update the variable definitions and define parameters, in-order to rewrite the entire model. Note: In Part (f), write an implicit model, that is, use summation () and enumeration () symbols wherever possible. For summation symbol, specify the limits of the summation. If you use enumeration symbol, make sure the index range is clearly defined in your solution

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Technology Procurement Handbook A Practical Guide To Digital Buying

Authors: Sergii Dovgalenko

1st Edition

1789662125, 978-1789662122

More Books

Students also viewed these Finance questions

Question

How many three-digit numbers are divisible by 7?

Answered: 1 week ago

Question

What is Indian Polity and Governance ?

Answered: 1 week ago