Question: please solve this equation using CPLEX and make sure you write the code well to find the optimal solution. thank you My diet requires that
My diet requires that all the food I eat come from one of the four "basic food groups" (chocolate cake, ice cream, soda, and cheesecake). At present, the following four foods are available for consumption: brownies, chocolate ice cream, cola, and pineapple cheesecake. Each brownie costs 50 e, each scoop of chocolate ice cream costs 20 , each bottle of cola costs 30e, and each piece of pineapple cheesecake costs 80 e. Each day, I must ingest at least 500 calories, 6 oz of chocolate, 10oz of sugar, and 8oz of fat. The nutritional content per unit of each food is shown in Table 4. Formulate a linear programming model in CPLEX that can be used to satisfy my daily nutritional requirements at minimum cost. Constraint 1: Daily caloric intake must be at least 500 calories. Constraint 2: Daily chocolate intake must be at least 6oz Constraint 3: Daily sugar intake must be at least 10oz Constraint 4: Daily fat intake must be at least 8oz 21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
