View the model Download the model
This model is set up in What'sBest to determine the purchase quantities automatically. Alternatively, you could probably determine the purchase quantities manually with a lot of trial and error.