Question
Mathematics Question on Linear Programming Problem
A dealer wishes to purchase a number of fans and sewing machines. He has only ?5760 to invest and has space for at most 20 items. A fan and sewing machine cost ?360 and ?240 respectively. He can sell a fan at a profit of ?22 and sewing machine at a profit of ?18. Assuming that he can sell whatever he buys, how many fans and sewing machines respectively he sell in order to maximize his profit?
8,12
6,10
10,6
12,8
8,12
Solution
Let the dealer purchase x fans and y sewing machines. Then, the profit function z is given by z=22x+18y The two variables x and y satisfy following constraints : 360x+240y≤5760 or 3x+2y≤48 x+y≤20,x≥0,y≥0 Hence mathematical formulation of the given LPP is : Maximize z=22x+18y subject to constraints : 3x+2y≤48 x+y≤20 x≤0,7≥0 Now we draw the lines l1:3x+2y=48 l2:x+y=20 l3:x=0,l4:y=0 Lines l1 and l2 intersect at P(8,12). The shaded region OAPD represents the feasible region, which is bounded. Vertices of the feasible region are O(0,0),A(16,0),P(8,12) and D(0,20) Since, maximize z=22x+18y ∴ At O(0,0),z=0 At A(16,0),z=22×16+18×0=352 At P(8,12),z=22×8+18×12=392 At D(0,20),z=22×0+18×20=360 Thus profit is maximum at P(8,12). Hence, profit is maximum when 8 fans and 12 sewing machines are purchased and sold and the maximum profit is ?392.