Linear Optimization - 4 - Algorithm and Extension - Note
Linear Optimization - 4 - Algorithm and Extension - Note
Prescriptive Analytics
Linear Optimization 4
IEDA 3010
Linear Optimization
– Algorithms and extensions
Dr. Jin QI
Department of Industrial Engineering and Decision Analytics
Hong Kong University of Science and Technology
Practical Optimization
Solution
Problem Model
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Algorithm
• Simplex Model: Dantzig 1947
– Good in Practice, Bad in Theory
• Ellipsoid Algorithm: Khachiyan 1979
– Good in Theory, Bad in Practice
• Interior Point Method: Karmarkar 1984
– Both good in theory and practice
2
qxd 11/19/08 08:28 AM Page 90
hil76299_ch04_089-160.qxd 11/19/08 08:28 AM Page 90
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
x1 " 4 x1 " 4
■ FIGURE 4.1
aries and Constraint boundaries and x "0 x2 " 0
ons for the (0, 0) corner-point solutions for the (0,2 0)
x1 x1
problem. Wyndor Glass Co.(4, 0)
problem. (6, 0) (4, 0) (6, 0)
3
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
(2, 6) (4, 6)
(0, 6) 2x2 " 12
x1 " 4
Feasible (4, 3)
region
■ FIGURE 4.1
Constraint boundaries and x2 " 0
4
corner-point solutions for the (0, 0)
(4, 0) (6, 0) x1
Wyndor Glass Co. problem.
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
constraint boundary
– This line segment is an edge of the feasible region
90 CHAPTER 4 SOLVING LINEAR PROGRAMMING PROBLEMS: THE SIMPLEX ME
(2, 6) (4, 6)
(0, 6) 2x2 " 12
x1 " 4
Feasible (4, 3)
region
■ FIGURE 4.1
Constraint boundaries and x2 " 0
5
corner-point solutions for the (0, 0)
(4, 0) (6, 0) x1
Wyndor Glass Co. problem.
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
6
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
92 SolvingCHAPTER
the Example
4 SOLVING LINEAR PROGRAMMING PRO
x2
Z " 30 (2, 6)
(0, 6)
1 2 Z " 36
7
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Ellipsoid Algorithm
• First polynomial-time algorithm for linear programming
(Khachiyan 1979)
• Idea
– Consider a sequence of smaller and smaller ellipsoids each
with the feasible region inside
– For iteration k: ck= center of Ek
• Eventually ck has to be inside of F, and we are done
Feasible region
F
ck
8
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Ellipsoid Algorithm
• To find the next smaller ellipsoid:
– find most violated constraint ak
• find smallest ellipsoid that includes constraint
Feasible region
F
ck
ak
9
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Linear Optimization
• We can convert nonlinear functions to linear ones
min $ % = max(+,) % + .) )
)
0. 2. 3% ≥ 5
min 6
0. 2. 3% ≥ 5
+,) % + .) ≤ 6
10
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Linear Optimization
• We can convert nonlinear functions to linear ones
– Problem with |.|
– Idea: |x| = max{-x,x}
). +. ,- ≥ / min $ &% 0%
%
). +. ,- ≥ /
(% ≤ 0%
−(% ≤ 0%
11
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Linear Optimization
• We can convert nonlinear functions to linear ones
12
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
13
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
14
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
15
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
16
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
17
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Issues of Uncertainty
• Real world data are almost always uncertain
– Estimation error: part of the data is measured/estimated
– Prediction error: part of the data (e.g., future
demands/prices) does not exist when problem is solved
– Implementation error: some components of a solution
cannot be implemented exactly as computed, which in many
models can be mimicked by appropriate data uncertainty.
• E.g. Optimal length = 3.2514265343m
18
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
Issues of Uncertainty
19
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
20
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
21
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
22
IEDA 3010
Prescriptive Analytics
Linear Optimization 4
23