429,947 views
41 votes
41 votes
Optimization

Solve the following optimization problem.
Hassan is baking cookies for his school bake sale fundraiser. He decides on making oatmeal chocolate chip
(m) and peanut butter cookies (p). He is planning on selling the peanut butter cookies for 20 cents each,
and the oatmeal chocolate chip for 25 cents each. He is limited to 700 cookies total by his ingredients, and
he doesn't want to make more than 400 of either cookie. He must make at least half as many peanut butter
cookies as oatmeal chocolate chip cookies. How many of each kind of cookie should he make to get the
most money?

User Tyler Rash
by
2.6k points

2 Answers

6 votes
6 votes

Answer:

between $10 and $20 for undecorated cookies; or between $12 and $25 for cookies

Step-by-step explanation:

User MPAW
by
3.1k points
20 votes
20 votes

Final answer:

Hassan is baking cookies for his school bake sale fundraiser, Hassan should make 400 oatmeal chocolate chip cookies and 200 peanut butter cookies in order to maximize his profit.

Step-by-step explanation:

To solve this optimization problem, let's define the number of oatmeal chocolate chip cookies as 'm' and the number of peanut butter cookies as 'p'.

Given that Hassan wants to maximize his profit, we can express his objective function as:

Profit = 0.25m + 0.20p

Now, let's consider the constraints:

Total number of cookies: m + p ≤ 700

Maximum number of peanut butter cookies: p ≤ 400

Minimum number of peanut butter cookies: p ≥ 0.5m

To find the optimal values for 'm' and 'p', we can solve this linear programming problem using a graphing method or a solver tool like the Simplex method.

The optimal values will be the ones that maximize the profit while satisfying all the constraints.

However, we can make some observations to simplify the problem:

To maximize profit, we would want to make the maximum number of oatmeal chocolate chip cookies (m = 400).

Since we need to make at least half as many peanut butter cookies as oatmeal chocolate chip cookies, the minimum number of peanut butter cookies would be p = 0.5 * 400 = 200.

Therefore, the optimal values for 'm' and 'p' are m = 400 and p = 200. By making 400 oatmeal chocolate chip cookies and 200 peanut butter cookies, Hassan will be able to maximize his profit.

User Kherel
by
2.8k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.