Академический Документы
Профессиональный Документы
Культура Документы
1 Structure of Class
Network Flows: Lec. 10-11
Slide 1
Discrete Optimization: Lec. 12-15 Dynamic Optimization: Lec. 16 Nonlinear Optimization (NLO): Lec. 17-24
2 Requirements
Homeworks: 30% Midterm Exam: 30% Final Exam: 40% Class Participation: important tie breaker Use of commercial software for solving optimization problems
Slide 2
3 Lecture Outline
History of Optimization Where LOPs Arise? Examples of Formulations
Slide 3
4 History of Optimization
Fermat, 1638 Newton, 1670
min f (x) x: scalar df (x) = 0 dx 1
Slide 4
min f (x1 : : : xn) rf (x) = 0 min f (x1 : : : xn) s.t. gk (x1 : : : xn) = 0 k = 1 : : : m
5 Nonlinear Optimization
5.1 The general problem
Slide 5
Slide 6
c= 3 1
2 A= 1 2 1
x 0
7 History of LO
lute values.
Fourier, 1826 Method for solving system of linear inequalities. de la Vallee Poussin simplex-like method for objective function with abso2
Slide 7
Kantorovich, Koopmans, 1930s Formulations and solution method. von Neumann, 1928 game theory, duality. Farkas, Minkowski, Caratheodory, 1870-1930 Foundations.
George Dantzig, 1947 Simplex method. 1950s Applications. 1960s Large Scale Optimization. 1970s Complexity theory. Khachyan, 1979 The ellipsoid algorithm. Karmakar, 1984 Interior point algorithms.
Slide 8
9 Transportation Problem
9.1 Data
m plants, n warehouses si supply of ith plant, i = 1 : : :m dj demand of j th warehouse, j = 1 : : :n cij : cost of transportation i ! j
Slide 10
j = 1 : : :n i = 1 : : :m
0
Slide 12
10 Sorting through LO
Given n numbers c1 c2 : : : cn The order statistic c(1) c(2) : : : c(n): c(1) c(2) : : : c(n) P Use LO to nd k i=1 c(i) . n X min ci xi i=1 n X s:t: xi = k i=1 0 xi 1 i = 1 : : : n
You have purchased si shares of stock i at price qi, i = 1 : : : n. Current price of stock i is pi You expect that the price of stock i one year from now will be ri. You pay a capital-gains tax at the rate of 30% on any capital gains at the time of the sale. You want to raise C amount of cash after taxes. You pay 1% in transaction costs. Example: You sell 1,000 shares at $50 per share you have bought them at $30 per share Net cash is: 50 1 000 ; 0:30 (50 ; 30) 1 000; 0:01 50 1 000 = $43 500:
Slide 13
11.1 Formulation
max s:t:
n X i=1 n
ri (si ; xi )
Slide 14
12 Investment Problem
Five investment choices A, B, C, D, E. A, C, and D are available in 1993. B is available in 1994. E is available in 1995. Cash earns 6% per year. $1,000,000 in 1993. Year: 1993 1994 1995 1996 LIMIT
Slide 15
Slide 16
12.2 Formulation
A : : :E : amount invested in $ millions Casht : amount invested in cash in period t, t = 1 2 3 max 1:06Cash3 + 1:00B + 1:75D + 1:40E s:t: A + C + D + Cash1 1 Cash2 + B 0:3A + 1:1C + 1:06Cash1 Cash3 + 1:0E 1:0A + 0:3B + 1:06Cash2 A 0:5 C 0:5 E 0:75 A ::: E 0 5
Slide 17
Solution: A = 0:5M , B = 0, C = 0, D = 0:5M , E = 0:659M , Cash1 = 0, Cash2 = :15M , Cash3 = 0 Objective: 1:7976M
13 Manufacturing
13.1 Data
n products, m raw materials cj : pro t of product j bi : available units of material i. aij : # units of material i product j needs in order to be produced.
Slide 18
13.2 Formulation
Slide 19
14 Capacity Expansion
14.1 Data and Constraints
Dt : forecasted demand for electricity at year t Et : existing capacity (in oil) available at t ct : cost to produce 1MW using coal capacity nt : cost to produce 1MW using nuclear capacity No more than 20% nuclear Coal plants last 20 years Nuclear plants last 15 years
Slide 20
xt : amount of coal capacity brought on line in year t. yt : amount of nuclear capacity brought on line in year t. wt : total coal capacity in year t. zt : total nuclear capacity in year t.
Slide 21
14.3 Formulation
min s:t:
T P
Slide 22
t = 1 : : :T t = 1 : : :T
15 Scheduling
Decision Variables
Hospital wants to make weekly nightshift for its nurses Dj demand for nurses, j = 1 : : : 7 Every nurse works 5 days in a row Goal: hire minimum number of nurses
Slide 23
15.2 Formulation
7 P min xj j =1 s:t: x1+ x1+ x1+ x1+ x1+ xj 0
Slide 24
x2 x2 + x2 + x2 + x2 +
x3 x3 + x3 + x3 + x3 +
x4 + x5 + x6 + x5 + x6 + x6 + x4 + x4 + x5 x4 + x5 + x6 x4 + x5 + x6 + 7
x7 x7 x7 x7 x7
d1 d2 d3 d4 d5 d6 d7
16 Revenue Management
16.1 The industry
Deregulation in 1978 Prior to Deregulation { Carriers only allowed to y certain routes. Hence airlines such as Northwest, Eastern, Southwest, etc. { Fares determined by Civil Aeronautics Board (CAB) based on mileage and other costs (CAB no longer exists)
Slide 25
Post Deregulation anyone can y, anywhere fares determined by carrier (and the market)
Slide 26
17 Revenue Management
17.1 Economics
Huge sunk and xed costs Very low variable costs per passenger ($10/passenger or less) Strong economically competitive environment Near-perfect information and negligible cost of information Highly perishable inventory Result: Multiple fares
Slide 27
18 Revenue Management
18.1 Data
n origins, n destinations 1 hub 2 classes (for simplicity), Q-class, Y-class Q rY Revenues rij ij Capacities: Ci0, i = 1 : : :n C0j , j = 1 : : :n Q , DY Expected demands: Dij ij
Slide 28
18.2 LO Formulation
Qij Yij
Slide 29
X X
i j n
rij Qij
+r
ij
Y ij Yij
X
j n i
(Q + Y ) C 0
ij i
0Q
(Q + Y ) C0
ij ij ij Q Dij
j Y Dij
0Y
ij
19 Revenue Management
19.1 Importance
Robert Crandall, former CEO of American Airlines: We estimate that RM has generated $1.4 billion in incremental revenue for American Airlines in the last three years alone. This is not a one-time bene t. We expect RM to generate at least $500 million annually for the foreseeable future. As we continue to invest in the enhancement of DINAMO we expect to capture an even larger revenue premium.
Slide 30
20 Messages
1. De ne your decision variables clearly. 2. Write constraints and objective function. 3. No systematic method available.
Slide 31
A formulation with a small number of variables and constraints, and the matrix A is sparse.
21 Nonlinear Optimization
21.1 The general problem
Slide 32
22 Convex functions
f : S ;! R For all x1 x2 2 S f ( x1 + (1 ; )x2 ) f (x) concave if ;f (x) convex. f (x1 ) + (1 ; )f (x2 )
Slide 33
23 On the power of LO
23.1 LO formulation
Slide 34
24 On the power of LO
24.1 Problems with
Idea: jxj = maxfx ;xg
j:j
min s:t:
P c jx j
Ax b
j j
j j
Slide 35
min s:t:
Pc z
Ax b
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.