Originally posted by: ChaoZ
Doing a linear programming problem and need to plot the points for this:
8x1+8x2+2x3<= 11980
If I start by setting x1=0, what I do with x2 and x3? I feel so stupid for even having to ask...
Originally posted by: ChaoZ
Ah, gotta type out the whole thing then...
So there's a budget of $11,980 for the 3 products combined. Material A costs $4 per pound, same goes for Material B. Labor costs $8/hour.
Product Q, R W each uses material A, with 2, 2, 1/2 pounds respectively. Material B uses 1, 2 pounds for Q, W respectively. Labor required for products Q, R, W are 5, 4, 2 hours respectively.
Product Q, R, W sell for $122, $115, $76 respectively per unit. Thought I'd figure the rest out by myself but oh well. It never specifically asked for plots, just how maximize each product.
Originally posted by: silverpig
The equation you want is
(cost to make Q) + (cost to make R) + (cost to make W) <= 11980
cost to make Q = (2 lbs of A)*($4/lb) + (1 lb of B)*($4/lb) + (5 hrs labour)*($8/hr) = $52 per unit of Q
cost to make R = (2 lbs of A)*($4/lb) + (4 hrs labour)*($8/hr) = $40 per unit of R
cost to make W = (0.5 lbs of A)*($4/lb) + (2 lbs of B)*($4/lb) + (2 hrs labour)*($8/hr) = $26 per unit of W
profit(Q) = $122 - $52 = $60
profit(R) = $115 - $40 = $75
profit(W) = $76 - $26 = $50
So you want to maximize the profit while keeping the cost to $11890. Let q, r, w be the number of units of product Q, R, and W respectively.
Production cost = 52q + 40r + 26w
profit = 60q + 75r + 50w
Now, I think this is just a simple matter of looking at the cost/profit ratio per unit. For every dollar you spend on a W, you get almost two back. The others aren't quite as good.
11890/26 = 457
457*50 = $22850 profit if you make all W
Originally posted by: silverpig
The equation you want is
(cost to make Q) + (cost to make R) + (cost to make W) <= 11980
cost to make Q = (2 lbs of A)*($4/lb) + (1 lb of B)*($4/lb) + (5 hrs labour)*($8/hr) = $52 per unit of Q
cost to make R = (2 lbs of A)*($4/lb) + (4 hrs labour)*($8/hr) = $40 per unit of R
cost to make W = (0.5 lbs of A)*($4/lb) + (2 lbs of B)*($4/lb) + (2 hrs labour)*($8/hr) = $26 per unit of W
profit(Q) = $122 - $52 = $60
profit(R) = $115 - $40 = $75
profit(W) = $76 - $26 = $50
So you want to maximize the profit while keeping the cost to $11890. Let q, r, w be the number of units of product Q, R, and W respectively.
Production cost = 52q + 40r + 26w
profit = 60q + 75r + 50w
Now, I think this is just a simple matter of looking at the cost/profit ratio per unit. For every dollar you spend on a W, you get almost two back. The others aren't quite as good.
11890/26 = 457
457*50 = $22850 profit if you make all W
Originally posted by: DarkThinker
silverpig, I think there is either a mistake in your profit calculations or mine??b
Originally posted by: TuxDave
Originally posted by: DarkThinker
silverpig, I think there is either a mistake in your profit calculations or mine??b
His profit calculation is off but it doesn't matter since even with the right number the profit per cost is highest with W.
Originally posted by: DarkThinker
Originally posted by: TuxDave
Originally posted by: DarkThinker
silverpig, I think there is either a mistake in your profit calculations or mine??b
His profit calculation is off but it doesn't matter since even with the right number the profit per cost is highest with W.
R yields a $75 profit, how can W be better?
Originally posted by: oboeguy
Wow you guys have never heard of linear programming? (obvious from the first replies) OP, what is the actual statement of the problem and what have you learned in class so far? Also is there a direct restriction on use of labor? (e.g. max number of labor hours allowed)
Originally posted by: oboeguy
Wow you guys have never heard of linear programming? (obvious from the first replies) OP, what is the actual statement of the problem and what have you learned in class so far? Also is there a direct restriction on use of labor? (e.g. max number of labor hours allowed)