Академический Документы
Профессиональный Документы
Культура Документы
XINWEI YU
Problem 0.3. ( 2.7) Suppose that f (x) is a
onvex fun
tion. Show that the set of
global minimizers of f is a
onvex set.
Solution. Let S denote the set of the global minimizers. Obviously we have
f (x) = min f
for any x 2 S .
Take any x; y 2 S , we just need to show that x + (1 )y 2 S for any 2 (0; 1).
Now by
onvexity,
min f f (x + (1 )y) f (x) + (1 )f (y) = min f
we know that equality must hold, whi
h means what we want.
Date : 11th April 2003.
1
2 XINWEI YU
Problem 0.4. (2.10) Show that the symmetri
rank-one update (2.17) and the
BFGS update (2.18) are s
ale-invariant if the initial Hessian approximations B0
are
hosen appropriately. That is, using the notation of the previous exer
ise, show
that if these methods are applied to f (x) starting from x0 = Sz0 + s with initial
Hessian B0 , and to f~(z ) starting from z0 with initial Hessian S T B0 S , then all
iterates are related by xk = Szk + s. ( Assume for simpli
ity that the methods take
unit step lengths. )
Solution. We denote all quantities with respe
t to f~ with a~. Note that we have
rf ~= ST rf
SR1: We use indu
tion. By
onstru
tion we have B~0 = S T B0 S . Thus by
p0 = B0 1 rf and p~0 = B~0 1 rf~
we easily have
p0 = S p~0
thus
s0 = S s~0
Now suppose the above relations hold for k . Then by simply
omputing B~k+1
we would have
B~k+1 = S T Bk+1 S
whi
h leads to
pk+1 = S p~k+1
whi
h is just
sk+1 = S s~k+1
sin
e unit step length is taken. Now sin
e
X
xk = x0 + si =Sz + s
BFGS: similar.
Problem 0.5. (2.15) Consider the sequen
e fxk g dened by
1
( 4 )2
k
xk = ; k even:
xk 1 )=k; k odd:
(
k = ( )2
1 k
2
ACM113 HW1 SOLUTION 3
and
p
k = xk > xk
program a steepest des
ent algorithm using an exa
t line sear
h for x 2 R2 , with
Q SPD. Constru
t three examples where the
ondition number of Q is
; ;
1 10 100
respe
tively. The
ondition number (Q) is the ratio of the largest and the smallest
eignevalues of Q for Q SPD. Estimate the
onvergen
e
onstant for ea
h
ase. Illus-
trate the
onvergen
e path by superimposing the steps on the obje
tive
ontours,
i.e., the
ontours of the obe
tive fun
tion.
whi h yields
t=
hrf; rf i
2 hrf; Qrf i
In numeri
al
omputation, we take
1 0
2 Q= 0 k
with k = 1; 10; 100, and denote the Q's with subs
ript 1; 2; 3 respe
tively.
Following are the plots of the
onvergen
e path and rate:
4 XINWEI YU
k=1
5
5
5 4 3 2 1 0 1 2 3 4 5
k=10
5
0.4767
3 0.4767
0.4767
1
0
0.4767
0.4767
2
3
0.4767
5 0.4767
5 4 3 2 1 0 1 2 3 4 5 0 5 10 15 20 25 30
ACM113 HW1 SOLUTION 5
k=100
0.9587
0.9587
0.9587
0.9587
1
0.9587
2
0.9587
3
0.9587
2 1 0 1 2 3 4 0 50 100 150 200 250 300 350 400 450 500
Now it's pretty
lear how
ondition number ae
ts
onvergen
e rate.
Referen
es
[1 Jorge No
edal, Stephen J. Wright, Numeri
al Optimization , Springer, 1999.