LINEAR PROGRAMMING
BOM 1101
LP MODELS
LP General
Graphical Method
Simplex Method
Transportation Method
Assignment Method
Subject to:
compound A constraint : X1 + 3X2 12
compound B constraint : 4X1 + 3X2 24
non-negative: X1 0
X2 0
X2
12
Plot constraint 1
10 X1 + 3X2 = 12
8 X1 + 3X2 12
6
4
2
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
X1
12
Add constraint 2
10 4X1 + 3X2 = 24
8 4X1 + 3X2 24
constraint 1
6
X1 + 3X2 = 12
4 X1 + 3X2 12
2
Solution space
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
2
Point 1 Point 4
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
X1
Alternatives X1 X2 Profit
Point 1 0 0 0
Point 2 0 4 20,000
Point 3 4 2.67 29,350
Point 4 6 0 24,000
Answer
Attributes X1 X2 Quantity
Cost 2500 3000
BW 1 30
Color 1 20
Total Tonnage 1 1 60
60 Total
Tons, Color
Chemical 40
(X2)
20 Color
0
0 20 40 60 80
Tons, BW Chemical (X1)
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-21
BA 46
LINEAR PROGRAMMING
Optimal Solution: Corner Point Method
80 BW Find corner
points.
60 Total Feasible
Tons, Color Region
Chemical 40
B
20 Color
A
0
0 20 40 60 80
Tons, BW Chemical
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-22
BA 46
LINEAR PROGRAMMING
Decision Matrix
Alternatives Black Color 2500x1+3000x2
Costs
Point A 30 30 165,000
Point B 40 20 160,000
Answer
Objective Function:
max Profit: Z = 4X1 + 5X2 conversion to
equality
Subject to:
constraint 1: X1 + 3X2 12 X1 + 3X2 + S1 = 12
constraint 2: 4X1 + 3X2 24 4X1 + 3X2 + S2 = 24
non-negative: X1 0
X2 0
Objective Function:
max Profit: Z = 4X1 + 5X2 + 0S1 + 0S2
Subject to:
constraint 1: 1X1 + 3X2 + 1S1 + 0S2 = 12
constraint 2: 4X1 + 3X2 + 0S1 + 1S2 = 24
non-negative: All variables 0
0 S2 4 3 0 1 24
Zj 0 0 0 0 0
Cj – Zj 4 5 0 0
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-30
BA 46
LINEAR PROGRAMMING
1st Simplex Tableau (cont’d)
4 5 0 0
Cj
Solution X1 X2 S1 S2 Quantity
Mix
0 S1 1 3 1 0 12
0 S2 4 3 0 1 24
Zj 0 0 0 0 0
Cj – Zj 4 5 0 0
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-31
BA 46
LINEAR PROGRAMMING
2nd Simplex Tableau
4 5 0 0
Cj
Solution X1 X2 S1 S2 Quantity
Mix
5 X2 1/3 1 1/3 0 4
0 S2 3 0 -1 1 12
Zj 5/3 5 5/3 0 20
Cj – Zj 7/3 0 - 5/3 0
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-32
BA 46
LINEAR PROGRAMMING
2nd Simplex Tableau (cont’d)
4 5 0 0
Cj
Solution X1 X2 S1 S2 Quantity
Mix
5 X2 1/3 1 1/3 0 4
0 S2 3 0 -1 1 12
Zj 5/3 5 5/3 0 20
Cj – Zj 7/3 0 - 5/3 0
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-33
BA 46
LINEAR PROGRAMMING
3rd Simplex Tableau
4 5 0 0
Cj
Solution X1 X2 S1 S2 Quantity
Mix
5 X2 0 1 4/9 - 1/9 2 2/3
4 X1 1 0 - 1/3 1/3 4
Zj 4 5 8/9 7/9 29.35
Cj – Zj 0 0 - 8/9 - 7/9
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-34
BA 46
LINEAR PROGRAMMING
Simplex Solution
S 150
(Masbate) D 120
(Basilan)
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-38
BA 46
LINEAR PROGRAMMING
Cost Distribution
Surigao Palawan Basilan Cebu
Iligan 4 7 7 1
Negros 12 3 8 8
Masbate 8 10 16 5
Conversion to Equality:
Supply 1.) IS + IP + IB + IC + S1 = 100
2.) NS + NP + NB + NC + S2 = 200
3.) MS + MP + MB + MC + S3 = 150
Demand 4.) IS + NS + MS – S4 + A1 = 80
5.) IP + NP + MP – S5 + A2 = 90
6.) IB + NB + MB – S6 + A3 = 120
7.) IC + NC + MC – S7 + A4 = 160
Non Neg. 8.) All Variables 0
Constraints:
1.) 1IS+1IP+1IB+1IC+0NS+0NP+0NB+0NC+0MS+0MP+0MB+0MC+1S1+0S2+0S3+0S4+0S5+0S6+0S7 +0A1+0A2+0A3+0A4 = 100
2.) 0IS+0IP+0IB+0IC+1NS+1NP+1NB+1NC+0MS+0MP+0MB+0MC+0S1+1S2+0S3+0S4+0S5+0S6+0S7 +0A1+0A2+0A3+0A4 = 200
3.) 0IS+0IP+0IB+0IC+0NS+0NP+0NB+0NC+1MS+1MP+1MB+1MC+0S1+0S2+1S3+0S4+0S5+0S6+0S7 +0A1+0A2+0A3+0A4 = 150
4.) 1IS+0IP+0IB+0IC+1NS+0NP+0NB+0NC+1MS+0MP+0MB+0MC+0S1+0S2+0S3-1S4+0S5+0S6+0S7 +1A1+0A2+0A3+0A4 = 80
5.) 0IS+1IP+0IB+0IC+0NS+1NP+0NB+0NC+0MS+1MP+0MB+0MC+0S1+0S2+0S3+0S4-1S5+0S6+0S7 +0A1+1A2+0A3+0A4 = 90
6.) 0IS+0IP+1IB+0IC+0NS+0NP+1NB+0NC+0MS+0MP+1MB+0MC+0S1+0S2+0S3+0S4+0S5-1S6+0S7 +0A1+0A2+1A3+0A4 = 120
7.) 0IS+0IP+0IB+1IC+0NS+0NP+0NB+1NC+0MS+0MP+0MB+1MC+0S1+0S2+0S3+0S4+0S5+0S6-1S7 +0A1+0A2+0A3+1A4 = 160
8.) All Variables 0
12 3 8 8
Negros 200
8 10 16 5
150
Masbate
450
Requirement 80 90 120 160
450
END
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-49
BA 46
LINEAR PROGRAMMING
Domou Arigatou Gozaimasu
Japan 2015
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-50
BA 46
LINEAR PROGRAMMING
12 3 8 8
Negros 90 110 200
8 10 16 5
Masbate
80 10 60 150
450
Demand 80 90 120 160
450
Cost = (100*1)+(90*3)+(110*8)+(80*8)+(10*16)+(60*5)
= 2,350
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-53
BA 46
LINEAR PROGRAMMING
Vogel’s Approximation Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
Iligan 100 3
12 3 8 8
90 200 5
Negros
8 10 16 5
150 3
Masbate
450
Demand 80 90 120 160
450
4 4 1 4
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-54
BA 46
LINEAR PROGRAMMING
Vogel’s Approximation Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
Iligan
100 100 3
12 3 8 8
90 200 5 0
Negros
8 10 16 5
150 3
Masbate
450
Demand 80 90 120 160
450
4 4 1 4
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-55
BA 46
LINEAR PROGRAMMING
Vogel’s Approximation Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
Iligan
100 100 3
12 3 8 8
90 110 200 5 0
Negros
8 10 16 5
150 3
Masbate
450
Demand 80 90 120 160
450
4 4 1 8 4 3
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-56
BA 46
LINEAR PROGRAMMING
Vogel’s Approximation Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
Iligan
100 100 3
12 3 8 8
90 110 200 5 0
Negros
8 10 16 5
Masbate
80 10 60 150 3
450
Demand 80 90 120 160
450
4 4 1 8 4 3
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-57
BA 46
LINEAR PROGRAMMING
Vogel’s Approximation Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
Iligan 100 100
12 3 8 8
Negros 90 110 200
8 10 16 5
Masbate
80 10 60 150
450
Demand 80 90 120 160
450
Cost = (100*1)+(90*3)+(110*8)+(80*8)+(10*16)+(60*5)
= 2,350
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-58
BA 46
LINEAR PROGRAMMING
Stepping Stone Method Approach
Warehouse Test for degeneracy:
Surigao Palawan Basilan Cebu Supply Used squares R+C-1
Factory 4 7 7 -11 1
Iligan -5 100
80 20
12 3 8 8
Negros 12 70 120 200
10
8 10 16 5
11 150
Masbate 11 10 150
450
Demand 80 90 120 160
450
8 10 16 5
150
Masbate 150
450
Demand 80 90 120 160
450
COST = (80*4)+(10*7)+(10*1)+(80*3)+(120*8)+(150*5)
= 2,350
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-61
BA 46
LINEAR PROGRAMMING
Stepping Stone Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
100
Iligan 80 10 -5 10
12 3 8 8
Negros 80 120 11 200
12
8 10 16 5
0 150
Masbate -1 150
0
450
Demand 80 90 120 160
450
8 10 16 5
150
Masbate 150
450
Demand 80 90 120 160
450
Cost = (80*4)+(10*7)+(10*1)+(90*3)+(110*8)+(150*5)
= 2,300
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-64
BA 46
LINEAR PROGRAMMING
Stepping Stone Method Approach
Warehouse
Surigao Palawan Basilan Cebu Supply
Factory 4 7 7 1
100
Iligan 80 5 10 10
12 3 8 8
90 110 200
Negros 7 6
8 10 16 5
5 150
Masbate 0 4 150
450
Demand 80 90 120 160
450
Answer
Cost = (100*1)+(90*3)+(110*8)+(80*8)+(10*16)+(60*5)
= 2,350
Cost = (100*1)+(90*3)+(110*8)+(80*8)+(10*16)+(60*5)
= 2,350
Cost = (100*1)+(90*3)+(110*8)+(80*8)+(10*16)+(60*5)
= 2,350
Cost = (10*7)+(90*1)+(90*3)+(110*8)+(80*8)+(70*5)
= 2,300
Answer
The Assignment
Model
BROWN 8 10 11
COOPER 9 12 7
P X Y Z P X Y Z
A 11 14 6 A 5 8 0
5 8
0 6
B 8 10 11 B 0 2 3
0 2 3 0
C 9 12 7 C 2 5 0
2 5 0 3
P X Y Z P X Y Z
A 5 6 0 A 3 4 0
3 4
B 0 0 3 B 0 0 5
5
C 2 3 0 C 0 1 0
0 1
P X Y Z FINAL ASSIGNMENT
Adams to Project Z = 6
A 3 4 0 Brown to Project Y = 10
B 0 0 5 Cooper to Project X = 9
Total Cost = 25
C 0 1 0 Answer
END
PYPITS ©Quantitative Analysis for Management
C7, 9 & 8-84
Merci Beaucoup BA 46
LINEAR PROGRAMMING