Worked example
Packs by type: 3, 3
Inputs
- Required quantities by supply type: 25,12
- Pack contents by matching type: 10,5
- Pack prices by type: 4,3
One supplied pack option for each required supply type; unlike a combinatorial optimizer, no mixing between substitute pack sizes is supported.
Currency changes the labels, not the amounts. No exchange-rate conversion.
Round each required quantity divided by its pack count up.
Subtract required units from whole-pack units.
Multiply packs by their prices and add.
One supplied pack option for each required supply type; unlike a combinatorial optimizer, no mixing between substitute pack sizes is supported.
OpenStax: Solve proportions and their applications ↗Packs by type: 3, 3
Packs by type: 2, 2