Chapter 4 - Optimization_Linear Programming (1)
Chapter 4 - Optimization_Linear Programming (1)
LINEAR PROGRAMMING – LP
Operations Research 1
INTRODUCTION
Operations Research 2
LP PROBLEM
Operations Research 3
Formulating LP Problems - the most important task
Carpentry 4 3 240
Painting and varnishing 2 1 100
Profit per unit $7 $5
Formulation
• X1 = number of tables to be produced
• X2 = number of chairs to be produced
• Isoprofit-line method
• Corner points method
Graphical Representation of Constraints
100
80 A (X1 = 0, X 2 = 80)
Number of Chairs - X 2
60
4X1+3X2 = 240
40
4X1+3X2 <= 240
20
B (X1 = 60, X 2 = 0)
0 20 40 60 80 100 120
Number of Tables - X 1
100 C (X1 = 0, X 2 = 100)
80 A (X1 = 0, X 2 = 80)
Number of Chairs - X 2
2X1+1X2 = 100
60
4X1+3X2 = 240
40
D (X1 = 50, X 2 = 0)
20
0 20 40 60 80 100 120
Number of Tables - X 1
Solving LP graphically by Isoprofit- line method
100
80 A (X 1 = 0, X 2 = 80)
Number of Chairs - X 2
60 I (X 1 = 30, X 2 = 40)
Feasible
Region 20
D (X1 = 50, X 2 = 0)
0 20 40 60 80 100 120
Number of Tables - X 1
Solving LP problem by Corner-point method
• Objective: Maximize Profit Z = 7X1 + 5X2
• The mathematical theory in LP shows that the optimal
solution must lie at one corner point, or extreme point,
of the feasible region
12
04 SPECIAL CASES
• Case1: Infeasible
• Infeasible solutions occurred when we have conflicting constraints ;
or
• No solution satisfy all constraints; or
• Can not build the feasible solutions region.
Operations Research 13
04 SPECIAL CASES
• Exampleï:
Consider three constraints:
X2 Regions which
Mieàn thoaû maõn raøng
100 satisfy constraints 3
buoäc thöù ba
4X1 + 3X2 240
2X1 + 1X2 100 80 A (X1 = 0, X 2 = 80)
X1 80
60
40
Regions which
satisfy constraints 1 20
and 2
0 20 40 60 80 100 120 X
Operations Research 14
04 SPECIAL CASES
Operations Research 15
04 SPECIAL CASES
• Example:
Maximize Z = 3X1 + 5X2
St: X2
X1 5 X1 = 5
X2 10
X1 + 2 X2 10 15
X 2 = 10
X1, X2 0
10
0 5 10 15 X1
Operations Research 16
04 SPECIAL CASES
Operations Research 17
04 SPECIAL CASES
Example:
X2
Maximize Z = 7X1 + 5X2
100
St:
4X1 + 3X2 240 80 A (X1 = 0, X2 = 80)
40
20
0 20 40 60 80 100 X1
Operations Research 18
04 SPECIAL CASES
Operations Research 19
04 SPECIAL CASES X2
100
St:
4X1 + 3X2 240 60
2X1 + 1X2 100
I (X 1 = 30, X 2 = 40)
40
20
0 20 40 60 80
Operations Research 20
COMPUTER APPLICATION
• Excel
• Lingo
Operations Research 21