Professional Documents
Culture Documents
59.1 INTRODUCTION
Let us consider a simple problem in two variables x and y.
Find x and y which satisfy the following equations
x + y = 4
3x + 4y = 14
59.2 OBJECTIVES
After the study of this lesson you will be able to
x ≥ 0
x′ O x
y′ Fig. 59.1
y≥0 ↑
↑
x′ O x
y′ Fig. 59.2
Linear Programming Problem: A Geometric Approach:: 19
x ≥ 0, y ≥ 0
x′ O x
Fig. 59.3
y′
y
B (0,4)
x
+
2y
=
8
A(8,0)
O
x′ x
y′
Fig. 59.4
20 :: Mathematics
(0,4) x
+
2y
=
8
(8,0)
x′ O x
y′
Fig. 59.5
Similarly, if we have to consider the regions bounded by
x ≥ 0, y ≥ 0 and x + 2y ≥ 8, then it will lie in the first
quadrant and on that side of the line x + 2y = 8 in which the
origin is not located. The graph is shown by the shaded region,
in figure (59.6)
y
↑ ↑
(0,4)
→
x
+
2y
=
8
↑
x′ O (8,0) x
y′ Fig. 59.6
The shaded region in which all the given constraints are satisfied
is called the feasible region.
Example A :
Minimize the quantity
z = x 1 + 2x2
subject to the constraints
x1 + x 2 ≥ 1
x1 ≥ 0, x 2 ≥ 0
Solution :
The objective function to be minimized is
22 :: Mathematics
z = x 1 + 2x 2
subject to the constraints
x1 + x 2 ≥ 1
x1 ≥ 0, x 2 ≥ 0
First of all we draw the graphs of these inequalities, which is as
follows: x2
B (0,1)
x
1 +x
2 =1
↑
O x1
A (1,0)
Fig. 59.7
As we have discussed earlier that the region satisfied by
x 1 ≥ 0 and x2 ≥ 0 is the first quadrant and the region satisfied
by the line x 1 + x2 ≥ 0 along with x1 ≥ 0, x2 ≥ 0 will be on that
side of the line x 1 + x 2=1 in which the origin is not located.
Hence, the shaded region is our feasible solution because every
point in this region satisfies all the constraints. Now, we have
to find optimal solution. The vertex of the feasible region are
A(1,0) and B(0,1).
Solution :
The objective function to be minimized is
z = x 1 + 2x 2
subject to the constraints
x1 + x 2 ≥ 1
2x1 + 4x 2 ≥ 3
x1 ≥ 0, x2 ≥ 0
First of all we draw the graphs of these inequalities (as
discussed earlier) which is as follows:
x2
→
E (0,1)
(
D 0, 3
4 ) C (½,½)
2x
x1
1 +4
+x
x=
2 3
2
=1
↑
33
, 0
22
O A (1,0)
(
B 3 ,0
2 ) x1
Fig. 59.8
The shaded region is the feasible region. Every point in the
region satisfies all the mathematical inequalities and hence the
feasible solution.
3
The value of z at B is
2
The value of z at C (½, ½) is
If we take any point on the line 2x1 +4x 2=3 between B and C
3
we will get and elsewhere in the feasible region greater than
2
. Of course, the reason any feasible point (between B and C)
on 2 x 1 +4 x 2 = 3 m i n i m i z e s t h e o b j e c t i v e f u n c t i o n ( e q u a t i o n )
z = x 1 + 2x2 is that the two lines are parallel (both have slope
24 :: Mathematics
1
− ). Thus this linear programming problem has infinitely many
2
solutions and two of them occur at the vertices.
Example C :
Maximize
z = 0.25x 1 + 0.45x 2
subject to the constraints
x1 + 2x 2 ≤ 300
3x1 + 2x2 ≤ 480
x1 ≥ 0, x2 ≥ 0
Solution :
The objective function is to maximize
z = 0.25x 1 + 0.45x 2
subject to the constraints
x1 + 2x 2 ≤ 300
3x1 + 2x2 ≤ 480
x1 ≥ 0, x2 ≥ 0
First of all we draw the graphs of these inequalities, which is
as follows
x2
D (0,240)
C (0,150)
B(90,105)
E (300,0)
x1
O A (160,0)
x 1 +2x 2 =300
3x 1 +2x 2 =480
Fig. 59.9
Check point 1 :
Maximize z = 3x1 +4x 2
subject to the constraints
x1 + x 2 ≤ 40
x1 + 2x2 ≤ 60
x1 ≥ 0, x2 ≥ 0
Example D :
In a small scale industry a manufacturer produces two types
of book cases. The first type of book case requires 3 hours on
machine A and 2 hours on machines B for completion, whereas
the second type of book case requires 3 hours on machine A
and 3 hours on machine B. The machine A can run at the most
for 18 hours while the machine B for at the most 14 hours per
day. He earns a profit of Rs.30/– on each book case of the first
type and R.40/– on each book case of the second type.
How many book cases of each type should he make each day
so as to have a maximum profit?
26 :: Mathematics
Solution :
Let x1 be the number of first type book cases and x 2 be the
number of second type book cases that the manufacturer will
produce each day.
x 1 ≥ 0, x 2 ≥ 0 (1)
3x 1 + 3x2 ≤ 18
or x 1 + x 2 ≤ 6 (2)
2x 1+3x 2 ≤ 14 (3)
}
x 1 +x 2 ≤ 6
2x 1 + 3x 2 ≤ 14 constraints
x 1 ≥ 0, x 2 ≥ 0
x2
(0,6)
B(4,2)
→
3x 1 +x2 ≥ 24
x 1+x2 ≥ 16
x 1+3x2 ≥ 24
x 1 ≥ 0, x 2 ≥ 0
} (Constraints)
Fig. 59.11
x2
↑
O A (16,0) x1
Fig. 59.12
x2
→
D (0,24)
(0,16) C (4,12)
(0,8) B (12,4)
(8,0) A (24,0)
O (16,0) x1
3x 1 +x 2 =24 x 1+x 2=16 x 1 +3x 2 =24
Fig. 59.14
The region which is the common shaded area unbounded above.
Hence, for minimum cost the firm should run plant P for 4
days and plant Q for 12 days. The minimum cost will be
Rs.72,000.00
Check point 2 :
Solve Example C of lesson 58 by graphical method.
Example F :
z = x 1 +2x 2
subject to the constraints
x 1 +x 2 ≥ 1, x 1 ≥ 0, x 2 ≥ 0
Solution :
First we graph the constraints
x 1 +x 2 ≥ 1, x 1 ≥ 0, x 2 ≥ 0
x2
→
B (0,1)
↑
O A (1,0) x1
Fig. 59.15 x 1+x 2 =1
The shaded portion is the set of feasible solution.
Now, we have to maximize the objective function.
The value of z at A(1,0) is 1.
The value of z at B(0,1) is 2.
If we take the value of z at any other point from the feasible
region, say (1,1) or (2,3) or (5,4) etc., then we notice that every
time we can find another point which gives the larger value than
the previous one. Hence, there is no feasible point that will
make z largest. Since there is no feasible point that makes z
largest, we conclude that this linear programming problem has
no solution.
Example G :
Solve the following problem graphically.
Minimize z = 2x1 – 10x 2
subject to the constraints
x1 – x2 ≥ 0
x 1 – 5x2 ≤ –5
x 1 ≥ 0, x 2 ≥ 0
Linear Programming Problem: A Geometric Approach:: 31
Solution :
First we graph the constraints
x 1–x 2 ≥ 0, x 1–5x2 ≤ –5, x1 ≥ 0, x2 ≥ 0
or x 2–x1 ≤ 0, 5x 2–x 1 ≥ 5
x2
A –x 1 +5x 2 =5
(0,1)
feasible region
O
x1
Fig. 59.16
The shaded region is the feasible region.
TERMINAL QUESTIONS
1. A dealer has Rs.1500/– only for the purchase of rice and
wheat. A bag of rice costs Rs.180/– and a bag of wheat costs
Rs.120/-. He has a storage capacity of ten bags only and the
dealer gets a profit of Rs.11/– and Rs.8/– per bag of rice
and wheat respectively. How he should spend his money in
order to get maximum profit?
8x 1 + 6x 2 ≤ 50
x 1 + 2x2 ≤ 10
x 1 ≥ 0, x 2 ≥ 0
C (0,30)
B (20,20)
fea
sib
le
reg
ion
→
↑
O A (40,0) (60,0) x1
x 1 + 2x2 =60
Fig. 59.17 x1 + x 2=40
Max z = 140 at B(20,20)
34 :: Mathematics
Check point 2 :
x2
(0,600)
fea
sib
le
reg
C (0,400) ion
B (200,200)
↑ (400,0)
O A(300,0) x1
x1 +x2 =400
x2
→
feasible region
D(0,24)
(0,16)
C(4,12)
(0,8)
B(12,4)
↑
O (8,0) (16,0) A(24,0) x1
x 1 +3x 2=24
3x 1 +x 2 =24
x 1 +x 2 =16
Fig. 59.19
2.
x2
→
(0,25)
Feasible region
C (3,9)
D (0,10) B
A(10,0) x1
O 5x +2x =50
1 2
x 1+3x 2 =30
Fig. 59.20 x1 +x2 =12
3.
x2
(26 3 ,10 3)
C(0,60)
B(10,50)
Feasible region
A (20,0)
O x1
5x 1 +x 2 =100
x 1+x 2 =60
Fig. 59.21
Max. z = 1250 at B(10,50), x1 = 10, x 2 = 50
36 :: Mathematics
4.
x2
→
B (0, )
Feasible region
O A (10,0)
2x 1+3x 2 =8 x1
Fig. 59.22 4x 1+3x2 =40
1. x2
(0, 25 2)
C (0,10)
Feasible region
B(5,5)
(10,0)
O
(
A 25 ,0
3 ) x1 +x2 =10 x1
6x 1 +4x 2 =50
Fig. 59.23
Max z = 95 at B(5,5), x1 = x2 = 5
Linear Programming Problem: A Geometric Approach:: 37
2.
x2
(0, 25 3)
Feasible region
C(0,5)
B(4,3)
(10,0)
O A 25 , 0 x1
x 1 +2x 2 =10
4
8x 1+6x 2 =50
Fig. 59.24
Max z = 160 at B(4,3), x1 = 4 x2 = 3
3. x1
(0,1100)
(0,700)
Feasible region
D (0,600) C
B
6x 1 +16x 2 =9600
↑
O A (900,0) x1
7x 1 +12x 2 =8400
Fig. 59.25
11x 1 +9x 2 =9900
A (900,0) D(0,600)
B (626, 335) & O(0, 0)
C(480, 420)
Max z=8984 at B(626, 335)
x 1 = 626, x 2 = 335
38 :: Mathematics
(0,800)
A(400,0) (1000,0)
O x1
2x1 +x 2 =800 x 1 +2x2 =1000
Fig. 59.26
Max z = 14000 at B (200,400). x 1 =200, x2 =400
5.
x2
(0,24)
Feasible region
C(0,20)
OABC
B(8,12)
(20,0)
O A(16,0) x1
x 1+x2 =20
Fig. 59.27
360x 1 +240x2 =5760