Example Following Programming Problem Graphically.: Maximize
Example Following Programming Problem Graphically.: Maximize
3x+y90
where x20 and y20
Solution :i) Objective function : Maximize z
60x +15y =
5 l , it means line meets the axes at (50,0) and (0,50). On joining these
points we get the line x + y 50. Now the points (0,0) satisfies the x+y< 50. There-
=
Y AxiSA
90
80 Scale
70 onr-axis: Tcm =
10 units
ony-axis: Icm =
10 units
50
40
30
B (20,30)
20
Example 2. A firm manufactures two products A and B which profit earned perunit is
on
Rs. 3 and Rs. 4 respectively. Each product is processed on two machines M, and M. The
product A requires I minute of processing time on M, and 2 minutes on M, B requires 1
minute on M, and 1 minutes on M,. Machine M, is available for not more than 7 hrs. 30
minutes, while machine M, is available for 10 hrs. during any working day. Find the
number of units of products A and B to be manufactured to get the maximum profit.
(M.C.A. 2010, 2009)
Solution: The Linear Programming Model of given problem is as follows
i) Objective function: Maximize z =3, +4x,
460 450 = , it means line meets the axes at (450,0) and (0,450). On joining
these points we get the line x +x, =450. Now the points (0,0) satisfies the
x+ 450. Therefore favourable region containing the origin.
Graph of 2x, +x, S 600 Convert the inequality into equation i.e.
Y Axis
Senle
6003 onx-uxis: I em 190) mits
vny-uxis: I cm
400-
300-
B(150, 300)
200-
100
X- Axis
450 X- Axis
to
Cxample 8. Use the graj Eraphical
method
lem
0sxs5/2
0 s x s3/2 and x.X 20
(M.B.A. 2009
= 7x +3x,
Solution : i) Objeetive function Maximise
4
i) Subject +2x, 23: x +*2
to
the Constraints: x,
as
ne
Tollowing constraints split into two inequalities
0Sx 3/2
0x,SS/2
i) Graph of the constraints: Here take r-axis forx, variable & y-axis for x, variable.
Graph of x, +2x, 23 Convert the inequality intoequation i.e. x +2x, =3
and transform into intercept form we get.+ 1, it means line meets the axes at
3/2
(3.0) and (0.3/2) on joining these points we get the line x +2x, =3. Now the points
transform into intercep! form we get. = 1 , it means line meets the axes at (4,0)
and (0.4) on joining these points we get Ihe ine x +x, = 4 . Now the points (0,0)
the line parallel to x-axis passing through (0,3/2). Inequality x,'s 3/2 represents favourable
region below the line.
Se:ule
Y-Axis
unit
,52
B $/2,3/2)
X-Axis
v Feasible region: The common region of all the given constraints is known as fea-
sibleregion. Here which is polygon ABC.
corner ofthe feasible region.
vi) Optimum solution: Optimum solution lies on any one
Remark
Corner points of Value of objective function
Feasible region z- 7x+ 3x,
Intersection of x, = 5/2, x+2x=3|
A (5/2,1/4) = (2.5,0.25) =7(2.5)+3(0.25)=18.25
B (5/2,3/2) = (2.5,1.5) z 7(2.5)+3(1.5)= 22 (Max.)| Intersection of s, 5/2&x=3/2
C 0,3/2) = (0,1.5) z=7(0)+3(1.s)=4.5
function occurs at the point (2.5, 1.5).
The maximum value of the objective
=22.
given L.P.P. is x, 2.5, x, 1.5 and z,(Max.)
= =
Graph of 2x, +x, 28 Convert the inequality into equation 1.e. 2x, +x, »R
= 1 , it means line meets the axes at (4,0) and (0,8) on joining these
4 8
points we get the line 2x, +x7, =8. Now the points (0,0) not satisfies thee 2x, +x, 28
Therefore favourable region does not containing the origin i.e. opposite to origin.
Y-Axis A
Seale
m x-Axis: } unii I mnit
omy-uxis: I mit2units
X' - Axis
-Axis
Y- Axis
v) Feasible region : The common region of all the given constraints is known as fea
sible region. Which is unbounded and having three corners ABC.
vi) Optimum solution : Optimum solution lies on any one corner of the feasible
Corner points of
region
Value of objective function
Remark
Feasible region z 6x, + 7x
A(6,0) z =6 (6) +7 (0) =36
B (3,2) z 6 (3)
+7 (2) 32 =