The boy scouts are preparing trail mix for an upcoming backpacking trip. They are planning to use almonds, raisins, and M&Ms for the trail mix. Each 16oz bag should have a total ingredient cost $10.00 or less. Due to their level of activity on the trail, at least 50% of total calories should come from carbs. And one of the moms insists that at most 50% of total calories can come from M&Ms. The boys have collected some nutrionial and cost information per ounce of each ingredient. They would like to create a mix which maximizes the total calories provided by each bag of trail mix within the above restrictons. How should they create their recipe? What will be the calorie content of the bags of trail mix? Will there be anything leftover?
Let’s first formulate the problem
Maximize 160X1 +80X2 +140X3
Subject to
20X1 + 80X2 + 80X3 >= 0.5*(160X1 +80X2 +140X3)
140X3 <= 0.5*(160X1 +80X2 +140X3)
0.5X1 + 0.25X2 + 0.8X3 <= 10
X1, X2, X3 >= 0
Next, let’s solve the problem on excel solver. The output and the result is shown below.
They should create their recipe with 11.42 ounces of Almonds and 17.14 ounces of raisins. The calorie content will be 3200. M&Ms will be completely unutilized and will be left over completely.
The boy scouts are preparing trail mix for an upcoming backpacking trip. They are planning to...