Turkish
Lifer
- May 26, 2003
- 15,547
- 1
- 81
Originally posted by: nd
Originally posted by: Xiety
Hmmm found one more invitation But I am gonna make this more challenging First person to PM me the answer gets an invitation.
PLEASE DO NOT PM ME IF YOU ALREADY HAVE A GMAIL ACCOUNT!
Question:
A cereal company makes cereals from several ingredients (oats and rice). These ingredients have Vitamins A and B in them. Each box of cereal needs to have 48 miligrams of Vitamin A and 12 miligrams of Vitamin B, while minimizing cost. An ounce of oat contributes 8 mg of Vitamin A and 1 mg of Vitamin B whereas an ounce of rice contributes 6 mg of Vitamin A and 2 mg of Vitamin B. The sodium level in the cereal box must be less than 6 mg and amonut of sodium in oats and rice are 0.4 mg and 0.5 mg respectively. The last constraint is that the box of cereals must contain at least 10 ounces of oats. An ounce of oats cost $0.05 whereas an onuce of rice costs $0.03.
For the optimal solution, what are the slack&surplus variables for Vitamin A, Vitamin B, Sodium and Oats?
Hint: You'll have to calculate the optimal solution first, then move on from there.
Its very easy if you think about it a little. Good luck to all!
I'm confused... your constraints seem to contradict themselves:
Each box of cereal needs to have 48 miligrams of Vitamin A and 12 miligrams of Vitamin B
and you say: box of cereals must contain at least 10 ounces of oats
and finally: An ounce of oat contributes 8 mg of Vitamin A
Taking the minimum amount of oats (10 oz), you'll get 10oz*8mg = 80mg of Vitamin A, which already exceeds your constraint of 48 mg. Or maybe you mean "at least 48 mg" and not "needs to have 48 mg" ?
Yeah I meant at least 48 mg. Sorry for any confusion. Answer is posted above. I'll post more invites when I get them.