Chapter 2 Linera Programming
Chapter 2 Linera Programming
1
Dr. Nizamddin Channa
LINEAR PROGRAMMING (LP)
Objective:
Maximize z = 5 x1 + 4 x2
Dr. Nizamuddin Channa 6
Complete Reddy Mikks model:
Maximize z = 5 x1 + 4 x2 (total daily profit)
subject to
6x1 + 4x2 < 24 (raw material M1)
x1 + 2x2 < 6 (raw material M2)
x2 - x1 < 1
x2 < 2
x1 > 0
x2 > 0
8
2.2.1 Solution of a Maximization model
Example 2.2-1 (Reddy Mikks model)
Step 1:
1) Determination of the feasible solution space:
- Find the coordinates for all the 6 equations of the
restrictions (only take the equality sign)
6x1 + 4x2 < 24 1
x1 + 2x2 < 6 2
x2 - x1 < 1 3
x2 < 2 4
x1 > 0 5
x2 > 0 6 9
- Change all equations to equality signs
6x1 + 4x2 = 24 1
x1 + 2x2 = 6 2
x2 - x1 = 1 3
x2 = 2 4
x1 = 0 5
x2 = 0 6
10
11
X2 Maximize z = 5 x1 + 4 x2 (total daily profit)
Material M2 X1 + 2X2 = 6
6
5
Market Limit - X 1 + X2 = 1
4
3 Infeasible Market Demand X2 = 2
2
1
Feasible
X1
-1 1 2 3 4 5 6
12
13
Step 2:
2) Determination of the optimum solution from among
all the feasible points in the solution space:
- After finding out all the feasible half-spaces of all
the 6 equations, feasible space is obtained by the
line segments joining all the corner points A, B, C,
D ,E and F
- Any point within or on the boundary of the
solution space ABCDEF is feasible as it satisfies all
the constraints
- Feasible space ABCDEF consists of infinite number
of feasible points
14
- Since optimum LP solution is always associated with a corner point of
the solution space, so optimum solution can be found by enumerating all
the corner points as below:-
______________Corner point ( x 1 ,x 2 ) z_________________
A (0,0) 0
B (4,0) 20
C (3,1.5) 21 (optimum solution)
D (2,2) 18
E (1,2) 13
F (0,1) 4
15
0.09X1 +0.6 X2 >= 0.3(X1 +X2)
0.09X1 +0.6 X2 >= 0.3X1 + .3X2)
0.21x1
=0.3x2
6 Feasible 300
400
210
280
500 350
5 600 420
700 490
4 800 560
3
0.21X1 -0.3 X2 = 0 Fiber
x2=0.3/0.
2 Infeasible 21
1 x2= 021x1/.3 X1 x2
0
X1 100 250
-1 200 500
1 2 3 4 5 6 7 8 300 750
400 1000
500 1250
600 1500
700 1750
21
800 2000
MORE EXAMPLE
26
Example 2.1-3
(Production Allocation Model)
28
Complete LP model is,
Maximize z = 4x1 + 5x2
subject to
2x1 + 2x2 < 330 minutes
3x1 + 2x2 < 480 minutes
x1 > 0
x2 > 0
29