in reply to Tricky chemicals optimization problem
This seems to me to be an application of the knapsack or bin-packing problem. Take your needed capacity for each flavor (divided into pieces of max size Z), and distribute among your machines.
This assumes that there is no cost for having multiple nozzles on a single machine (the machine needs to be scrubbed down to avoid cross contamination between the Peanut Butter Chunk and the Allergen-Free Vanilla flavors, for example ;-b ).
This may also not be an optimal solution, but, except in obnoxious cases, should get a pretty decent result.
--MidLifeXis
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Tricky chemicals optimization problem
by Anonymous Monk on Jan 10, 2017 at 00:25 UTC | |
by AnomalousMonk (Archbishop) on Jan 10, 2017 at 00:34 UTC | |
by LanX (Saint) on Jan 10, 2017 at 03:35 UTC |