2.linear Programming
2.linear Programming
INTRODUCTION:
Programming problems in general are governed
with the use or allocation of scarce resources
Labour,
Materials,
Machines and
Capital
The last two conditions are the reasons for the use of the
term linear programming.
FORMULATION OF LINEAR PROGRAMMING PROBLEMS
(L.P.P.)
The three basic steps to constructing a linear
programming model are as follows:
Min=
Z 60 y1 + 96 y2
S .T .
DUAL 2 y1 + 4 y2 ≤ 40
3 y1 + 3 y2 ≤ 35
y1 , y2 ≥ 0
Cj 40 35 0 0
P
R Basis Qty p/u X1 X2 s1 s2
I X2 8 35 0 1 2/3 -1/3
M X1 18 40 1 0 -1/2 1/2
A Zj 40 35 10/3 25/3
L Z=1000 Cj - Zj 0 0 -10/3 -25/3
Cj 60 96 0 0
D Basis Qty p/u y1 y2 s1 s2
Zj 60 96 -18 -8
L
Z=1000 Cj - Zj 0 0 18 8
P Basis Qty p/u X1 X2 s1 s2
R X2 8 35 0 1 2/3 -1/3
I
X1 18 40 1 0 -1/2 1/2
M
Cj - Zj 0 0 -10/3 -25/3
A
L
Z=1000
Least Least
negative Positive
Least negative means :- least negative value closest to zero on the number line.
Least positive means:- least positive value closest to the zero on the number line.
The least positive quotient (10) provides the
answer to how much the profit could increase
without changing the solution.
The least negative quotient (-2) is the
maximum decrease in the profit that would
not cause a change in the solution.
Quantity S1 Qty/S1
8 1/3 24 Least Positive
18 1/3 54
The least positive quotient is the answer to the
question as to how many hours can be decreased
in the fabrication department.
The least negative quotient is the answer to the
question as to how many hours in the department
can be increased.
Therefore:
Range: (60 – 24) + (60 + 30 ) = 90 hours. [36 ≤
60 ≤ 90]
Similarly for the finishing department: [xx ≤ 72 ≤
xx]
In packaging department, 18 hours are unutilised.
(because s3 qty is 18)
MaxZ = 70 x1 + 65 x2 + 80 x3 + 75 x4
S .T .
4 x1 + 4 x2 + 3x3 + 7 x4 ≤ 90
6 x1 + 3x2 + 5 x3 + 4 x4 ≤ 120
5 x1 + 2 x2 + 3x3 + 3x4 ≤ 60
6 x1 + 5 x2 + x3 + 2 x4 ≤ 100
x1 , x2 , x3 , x4 ≥ 0
Cj 70 65 80 75 0 0 0
Zj
Z=160 Cj - Zj -115/2 0 0 -85/3 -35/6 0 -125/6 0
SPECIAL CASES
Multiple Optimal Solutions
Max =
Z 8 x1 + 16 x2
S .T .
x1 + x2 ≤ 200
x2 ≤ 125
3 x1 + 6 x2 ≤ 900
x1 , x2 ≥ 0
Cj 8 16 0 0 0
S1 25 0 0 0 1 1 -1/3 25
X2 125 16 0 1 0 1 0 125
X1 50 8 1 0 0 -2 1/3 50
Z = 2400 Zj 8 16 0 0 8/3
Cj - Zj 0 0 0 0 -8/3
Cj 8 16 0 0 0
S2 25 0 0 0 1 1 -1/3 25
X2 100 16 0 1 -10 0 1/3 100
X1 100 8 1 0 2 0 -1/3 100
Z = 2400 Zj 8 16 0 0 8/3
Cj - Zj 0 0 0 0 -8/3
INFEASIBILITY
Max=
Z 20 x1 + 30 x2
S .T .
2 x1 + x2 ≤ 40
4 x1 − x2 ≤ 20
x1 ≥ 30
x1 , x2 ≥ 0
UNBOUNDEDNESS:
When the solution is non-optimal (when
looking at the Cj-Zj row and there are negative
values in the RR column.
DEGENRACY:
When there is a tie in the RR column.
This problem has a solution! Methods to break
the tie :
1. Break it arbitrarily.
2. Choose the column that breaks the tie first.