Worked example
Maximum complete bags from stock: 40
Inputs
- Flavor inventory counts: 100,80,60
- Required pieces of each flavor per bag: 2,2,1
- Target bags: 30
Fixed exact assortment recipe, no flavor substitutions.
Use the units shown.
Find the limiting flavor inventory divided by its required count.
Limit stock-supported output to the requested bag count.
Subtract pieces consumed in complete assembled bags.
Fixed exact assortment recipe, no flavor substitutions. Produces as many complete bags as inventory and target allow; leftover stock is retained by flavor.
OpenStax: Solve proportions and their applications ↗Maximum complete bags from stock: 40
Maximum complete bags from stock: 40