Question
Question: Solve the following linear programming problem graphically: Maximize \(Z=7x+10y\) subject to const...
Solve the following linear programming problem graphically:
Maximize Z=7x+10y subject to constraints:
4x+6y≤2406x+3y≤240x≥10x≥0,y≥0
Solution
First of all, we are going to draw the inequalities given as constraints on the graph paper and then from the region covered by the constraints take the corner points and then substitute these corner points in Z and see which point is giving you the maximum value. Then the point which is giving you the maximum value is the point at which Z is maximizing.
Complete step by step answer:
The constraints that we are subjected to:
4x+6y≤2406x+3y≤240x≥10x≥0,y≥0
Using these constraints, we have to maximizeZ=7x+10y.
In the below figure, we have drawn the constraints on the graph:
In the above figure, the region covered by ABCD is the intersection of all the constraints that have been given in the question 4x+6y≤240,6x+3y≤240,x≥10,x≥0,y≥0. The coordinates of point A corresponds to(30,20) and coordinates of point B correspond to (40, 0).
Now, we are going to substitute the value of points A and B in Z=7x+10y we get,
Substituting the value of A (30, 20) in Z we get,
Z=7x+10y⇒Z=7(30)+10(20)⇒Z=210+200⇒Z=410
Substituting the value of B(40, 0) in Z we get,
Z=7(40)+10(0)⇒Z=280+0⇒Z=280
From the above substitution of A and B in Z we have found that when substituting the point A in Z we have got the maximum value of Z i.e. 410.
Hence, Z is maximized at point A(30, 20) with the value of 410.
Note: You might think of how we are getting the point A while point B is obvious.
There are two ways in which you can get the point A:
First is to see from the graph, the intersection point of the equations3x+5y=15&5x+2y=10.
The other way is to solve the simultaneous equations 4x+6y=240;6x+3y=240.
We are going to solve the simultaneous equations by elimination method.
4x+6y=240..........Eq.(1)6x+3y=240..........Eq.(2)
Multiplying eq. (2) by 3 and subtracting this changed equation with eq.(1) and we get, (6x+3y=240)×2 (12−4)x=240(2−1)−(4x+6y=240)
Solving the above equation we get,
8x=240
Dividing 8 on both the sides of the above equation we get,
x=8240=30
Substituting the above value of x in eq. (1) we get,
4x+6y=240⇒4(30)+6y=240⇒120+6y=240
Subtracting 120 on both the sides of the above equation we get,
6y=240−120⇒6y=120⇒y=6120⇒y=20
Hence, we have got the point A(30,20).