Professional Documents
Culture Documents
Numerical Optimization II
Lecture 8
Karen Willcox
min J ( x)
s.t. g j (x ) 0 j 1,.., m1
hk (x ) 0 k 1,.., m2
u
xi xi x i i 1,.., n
x0, q=0
Calculate J(xq)
Calculate Sq
q=q+1
no yes
Converged? Done
Standard LP problem:
n
min J ( x ) ci xi min J ( x) cT x
i 1
n
Ax b
aij xi bj j 1,.., m xi 0 i 1,..., n
i 1
xi 0 i 1,..., n
All LP problems can be converted to this form.
7 Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Engineering Systems Division and Dept. of Aeronautics and Astronautics
Linear Programming
To convert inequality constraints to equality constraints,
use additional design variables:
n n
a ji xi b j becomes a ji xi xn 1 bj
i 1 i 1
where xn+1 0
xn+1 is called a slack variable
feasible
region
basic
feasible
solution
9 Massachusetts Institute of Technology - Prof. de Weck and Prof. Willcox
Engineering Systems Division and Dept. of Aeronautics and Astronautics
Sequential Linear Programming
Consider a general nonlinear problem linearized via first order
Taylor series:
min J ( x) J(x0 ) J ( x 0 )T x
s.t. g j (x ) g j (x 0 ) g j ( x 0 )T x 0
hk (x) hk ( x 0 ) hk ( x 0 )T x 0
xi xi xi xiu
where x x x0
1. Initial guess x0
4. Update: x1 = x0 + x
xq = xq-1 + x
Is objective
reduced?
merit
function
Are constraints
satisfied?
min J ( x ) x 2 = 10
s.t. x 1 0 =5
=2
=1
2+ (1-x)2 J(x)
Q(x, )=x
* * * *
x
0 1
A(x, )
= 10
min J ( x ) x 2
=5
s.t. x 1 0
=2
= 1.5
=1
* *
x
0 1
1
m m2
1 2
(x, rp , ) J(x) rp hk ( x)
p
j j (x)
1g
p
k 1
1
m
L (x, rp , p ) J ( x) rp ln g j ( x)
j 1
1
often better numerically conditioned than g ( x )
j
penalty function has a positive singularity at the
boundary of the feasible region
penalty function is undefined for gi(x)>0
lim x* (rp ) x*
rp 0
L(x,r)
min J( x) x 2
s.t. x 1 0 r=5
r=1
10
r = 0.5
2-r
L(x,r)=x ln(x-1) r = 0.1
J(x)
x
0 1
s.t. g j ( x k )T Sk g j (x k ) 0 j 1, , m1
hk ( x k )T Sk hk ( x k ) 0 k 1, , m2
It is important to understand
when it is appropriate to use these methods
the basics of how the method works
why the method might fail
what your results mean (numerically vs. physically)
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.