Linear Programming (Theory & Exercise) Module-6-B
Linear Programming (Theory & Exercise) Module-6-B
6. SOME DEFINITIONS
(i) Solution : A set of values of the decision
variables which satisfy the constraints of a Linear
The line 5x + 10 y = 50 meets the coordinate Programming Problem (L.P.P.) is called a
axes at A (10,0) and B (0,5). Draw a thick solution of the L.P.P.
line joining these points. Clearly, the portion
containing the origin represents the solutions
(ii) Feasible Solution : A solution of L.P.P. which
set of the inequation 5x + 10 y 50.
also satisfy the non- negative restrictions of the
The line x + y = 2 meets the coordinates problem is called the feasible solution.
axes at A1 (2, 0) and B1 (0, 2). Draw the line
joining these two points. Clearly, the region (iii) Optimal Solution : A feasible solution which
not containing the origin represents the maximize or minimize i.e. which optimize the
solution set of the inequation x + y 2. objective function of L.P.P. called an optimal
Clearly x 0 and y 0 represent the first solution.
quadrant.
Note :
Hence, the shaded region given below
A Linear Programming Problem may have many
represents the solution set of the given
optimal solution. If a L.P.P. has two optimal
system of inequations.
solution, then there are an infinite number of
4. FEASIBLE REGION optimal solutions.
The limited ( bounded) region of the graph made (iv) Iso- Profit Line: The line is drawn in geometrical
by two inequations is called Feasible Region. area of feasible region of L.P.P. for which the
All the coordinates of the points in feasible region objective function remains constant at all the
constitutes the solutions of system of points lie on this line, is called iso- profit line.
inequations.
7. FORMULATION OF LINEAR PROGRAMMING
5. LINEAR PROGRAMMING PROBLEMS PROBLEMS
(iii) (iv)
1500
Figure (i) and (ii) are convex set while (iii) & (iv)
FEASIBLE REGION
1000 C x2 = 600 are not convex set. It can be easily seen that the
600 D
500 B intersection of two convex sets is a convex set
A and the set of all feasible solutions of a LPP is
O 500 1000 1500 2000
X1 also a convex set.
x x+
1 +x 2x
2 =2
2 = 000
15 Ex.6
00
(i) A triangle and its interior form a convex set.
in a two dimensional space which correspond
to the inequalities of the constraints. (ii) The set {(x,y) | x 2 + y2 1} is a convex set
Now on considering the solution space for (iii) The set {(x,y) | 2 x 2 + y2 3} is not a
each of the given inequalities, we find that convex set.
SOLVED EXAMPLES
Ex.1 Graph the solution set of the following
inequations:
x + y 40
x + 2y 60
and x, y 0.
Sol. Write the given inequations into equations.
We have x + y = 40, x + 2y = 60 and
x = 0, y = 0.
The line x + y = 40 meets the x- axis at
A (40, 0) and y- axis at B (0, 40). The line
Hence the graph are disjoint. Ans.[A]
x + 2y = 60 meets the
x-axis at C (60,0) and y- axis at D (0,30).Draw
a line joining A and B and a line joining C Ex.3 A vertex of the linear inequalities 2x + 3y 6,
and D. x + 4y 4 and x, y 0, is-
(A) ( 1,0) (B) ( 1,1)
F
G12 2 I F2 12 I
(C) H5 , 5 JK (D) G
H5 , 5 JK
Sol. Write the given inequation into equation we
get 2x + 3y = 6 and x + 4y = 4, on solving
we get
12 2
x = , y = .
5 5
It is clear from the figure that the objective We find that the coordinates of the vertices
function z attains its minimum value at the
9 5 13
point A which is the intersection of the two A, B, C are (3, 0), 4 , 4 , 0, 5
lines x1 – x 2 = 0 and – x1 + 5x2 = 0.
respectively. Now
5
Solving them we find that x 1 = x2 = . calculating the value of the objective function
4
at these points we have.
5
Hence z is minimum when x 1 = , At A.(3, 0) ; z = 6.3 + 10.0 = 18
4
5 9 5 9
x2 = and then At B 4 , 4 ; z = 6. + 10. = 26
4 4 4
its minimum value is 2 x 5/4 – 10
x 5/4 = – 10 Ans.[B] 13 13
At C 0, ; z = 6.0 + 10. = 26
5 5
Note :
9 5
If we want to find max. z with these It is observed that z is maximum at B ,
constraints then it is not possible in this 4 4
case, because the f easible region is 13
as well as at C 0, 5 and its maximum
unbounded from one side.
value is 26. As a matter of fact every point
Ex.5 Find the maximum value of on the line segment BC gives this max. value;
Max. z = 6x1 + 10x 2 because in this case the line of objective
subject to 3x1 + 5x2 13 function lies along one boundary line of the
5x1 + 3x2 15 feasible region. In such a case the problem
has infinite number of optimal solutions.
and x1 , x2 0
Ans.[D]
(A) 10 (B) 20
(C) 40 (D) Infinite solution
Ex.6 Find the maximum value of
Sol. Drawing the bounding lines corresponding to
z = 3x1 + 2x 2
the given inequalities and considering their
common Subject to x1 + x2 1
solution space, we find that the feasible x2 – 5x1 0
region is given by the shaded area OABC. 5x2 – x1 0
Every point of this region gives a feasible x1 – x 2 –1
solution of the problem whereas its optimal x1 + x2 6
solution is attained at some corner p o i n t
x1 3
of the polygon OABC.
and x1 0 , x2 0
(A) 15 (B) 20
(C) 25 (D) None of these
Sol. Equalities corresponding to the given At C (3,3); z = 3.3 + 2.3 = 15
constraints are
5 7 5 7 29
x1 + x2 = 1 At D 2 , 2 ; z = 3. + 2. =
x2 – 5x1 = 0 2 2 2
5x2 – x1 = 0
1 5 1 5 13
x1 – x2 = –1 At E 4 , 4 ; z = 3. + 2. =
4 4 4
x1 + x2 = 6
Draw the straight lines represented by these 1 5 1 5 13
equations in a two dimensional space. These At F 6 , 6 ; z = 3. + 2. =
6 6 6
are the
bounding lines for the given inequalities. Now Thus z is maximum at C where x 1 = 3,
considering the solution space for each x2 = 3 and max. z = 15. Ans.[A]
inequality of the
given constraints, we find that the feasible Ex.7 Find the maximum value of
region i.e., their common solution space is Max. z = 5x1 + 7x 2
given by the subjected to x1 + x2 < 4
shaded region ABCDEF. Every point of this 3x1 + 8x2 < 24
region gives feasible solution of the
10x1 + 7x2 < 35
problem whereas the
and x1 > 0, x2 > 0
optimal solution is attained at one of the
(A) z = 24.8 (B) z = 25.8
vertices of the polygon ABCDEF. Coordinates
of the six (C) z = 23.8 (D) z = 21.8
vertices are : Sol Let us draw the lines
x1 + x2 = 4
5 1 3 5 7 3x1 + 8x 2 = 24
(1) 6 , 6 ; (2) 3, 5 ; (3) (3,3) ;(4) 2 , 2 ;
10x1 + 7x2 = 35
1 5 1 5 and x1 = 0, x2 = 0
E 4 , 4 ; F 6 , 6 .
10
x1
+
X2
7x 2
=
35
5
4 FEASIBLE REGION
3 D C(1.6, 2.4)
2 B (7/3, 5/3)
1
X
O 1 2 3 4 5 6 7 8 3x 1
1 +8
x = 24
A 2
4)
2,
D
C(
A 2 4 20
(0,5) FEASIBLE REGION
B( x+
B 2 2 12 4, 2y
2) =1
0
C 4 0 16 x+ X
O A
x= 4
(4,0) y=
Profit per 6
2 3
unit
Thus our problem is to find x and y which which correspond to the inequalities of the
maximize z = 2x + 3y (objective function) given constraints. Now on considering the
subject to the conditions : solution space for each of the given inequality,
we find that the feasible region i.e., their
x 2 y 10 common solution space is given by the
shaded area OABCD. Every point of this
xy6
(constraints) region gives a feasible solution of the problem
x4 whereas its optimal solution is attained at
x 0,y 0 one of the vertices of the area OABCD,
Coordinates of the five vertices are
Graphical solution : First we draw the A(4, 0) ; B (4, 2) ; C(2, 4) ; D(0, 5)
bounding lines :
So we find that
x + 2y = 10
At A ; z = 2.4 + 3.0 = 8
x + y = 6
At B ; z = 2.4 + 3.2 = 14
x = 4
At C ; z = 2.2 + 3.4 = 16
x = 0 ; y = 0
At D ; z = 2.0 + 3.5 = 15
Thus z is maximum at C where x = 2 and
y = 4. Hence 2 units of first product and 4
units of second product should be
manufactured to gain the maximum profit
which is equal to 16 monetary units.
Ans. [A]