

























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


























sequential convex programming
alternating convex optimization
convex-concave procedure
Prof. S. Boyd, EE364b, Stanford University
docsity.com
convex optimization methods
are (roughly) always global, always fast
for general nonconvex problems, we have to give up one – local optimization methods
are fast, but need not find global
solution (and even when they do, cannot certify it)
find global solution (and certify it),
but are not always fast (indeed, are often slow)
this lecture
: local optimization methods that are based on solving a
sequence of convex problems
1 docsity.com
we consider nonconvex problem
minimize
f
0
x
subject to
f
i
x
i
,... , m
h
i
x
j
,... , p
with variable
x
n
f
0
and
f
i
(possibly) nonconvex
h
i
(possibly) non-affine
Prof. S. Boyd, EE364b, Stanford University
3 docsity.com
maintain estimate of solution
x
(
k
)
, and convex
trust region
(
k
)
n
form convex approximation
f
i
of
f
i
over trust region
(
k
)
form affine approximation
ˆh
i
of
h
i
over trust region
(
k
)
x
(
k
+1)
is optimal point for approximate convex problem
minimize
f
0
x
subject to
f
i
x
i
,... , m
ˆh
i
x
i
,... , p
x
(
k
)
4 docsity.com
(affine) first order Taylor expansion:
f
x
f
x
(
k
)
f
x
(
k
)
T
x
x
(
k
)
(convex part of) second order Taylor expansion:
f
x
f
x
(
k
)
f
x
(
k
)
T
x
x
(
k
)
x
x
(
k
)
T
x
x
(
k
)
2
f
x
(
k
)
, PSD part of Hessian
give local approximations, which don’t depend on trust region radii
ρ
i
6 docsity.com
particle method: –
choose points
z
1
,... , z
K
(
k
)
e.g.
, all vertices, some vertices, grid, random,... )
evaluate
y
i
f
z
i
fit data
z
i
, y
i
with convex (affine) function
(using convex optimization)
advantages: –
handles nondifferentiable functions, or functions for which evaluatingderivatives is difficult
gives
regional models
, which depend on current point and trust
region radii
ρ
i
7 docsity.com
a cheap and simple method for affine approximation
write
h
x
as
x
x
b
x
(many ways to do this)
use
ˆh
x
x
(
k
)
x
b
x
(
k
)
example:
h
x
x
T
P x
q
T
x
r
P x
q
T
x
r
ˆh
ql
x
P x
(
k
)
q
T
x
r
ˆh
tay
x
P x
(
k
)
q
T
x
x
(
k
)
h
x
(
k
)
9 docsity.com
nonconvex QP
minimize
f
x
x
T
P x
q
T
x
subject to
x
∞
with
symmetric but not PSD
use approximation
f
x
(
k
)
P x
(
k
)
q
T
x
x
(
k
)
x
x
(
k
)
T
x
x
(
k
)
10 docsity.com
write constraints as
x
2 i
and form Lagrangian
x, λ
x
T
P x
q
T
x
n
i
=
λ
i
x
2 i
x
T
diag
λ
x
q
T
x
T
λ
g
λ
q
T
diag
λ
−
1
q
T
λ
; need
diag
λ
solve dual problem to get best lower bound:
maximize
q
T
diag
λ
−
1
q
T
λ
subject to
λ
diag
λ
12 docsity.com
approximate convex problem can be infeasible
how do we evaluate progress when
x
(
k
)
isn’t feasible?
need to take into account –
objective
f
0
x
(
k
)
inequality constraint violations
f
i
x
(
k
)
equality constraint violations
h
i
x
(
k
)
controlling the trust region size –
ρ
too large: approximations are poor, leading to bad choice of
x
(
k
+1)
ρ
too small: approximations are good, but progress is slow
13 docsity.com
judge algorithm progress by decrease in
φ
, using solution
˜x
of
approximate problem
decrease with approximate objective:
ˆδ
φ
x
(
k
)
φ
x
(called
predicted decrease
decrease with exact objective:
δ
φ
x
(
k
)
φ
x
if
δ
α
ˆδ
ρ
(
k
+1)
β
succ
ρ
(
k
)
x
(
k
+1)
x
α
β
succ
; typical values
α
β
succ
if
δ < α
ˆδ
ρ
(
k
+1)
β
fail
ρ
(
k
)
x
(
k
+1)
x
(
k
)
β
fail
; typical value
β
fail
interpretation: if actual decrease is more (less) than fraction
α
of
predicted decrease then increase (decrease) trust region size
15 docsity.com
θ
1
θ
2
τ
1 τ
2
l
1
,
m
1
l
2
,
m
2
2-link system, controlled by torques
τ
1
and
τ
2
(no gravity)
16 docsity.com
discretize with time interval
h
h
Ni
=
τ
i
22
, with
τ
i
τ
ih
approximate derivatives as
θ
ih
θ
i
θ
i
−
1
h
θ
ih
θ
i
θ
i
θ
i
−
1
h
2
approximate dynamics as set of nonlinear equality constraints:
θ
i
θ
i
θ
i
θ
i
−
1
h
2
θ
i
θ
i
θ
i
−
1
h
θ
i
θ
i
−
1
h
τ
i
θ
0
θ
1
θ
init
θ
N
θ
N
θ
final
18 docsity.com
discretized nonlinear optimal control problem:
minimize
h
Ni
=
τ
i
22
subject to
θ
0
θ
1
θ
init
θ
N
θ
N
θ
final
τ
i
∞
τ
max
i
θ
i
θ
i
−
2
θ
i
θ
i
−
1
h
2
θ
i
θ
i
−
θ
i
−
1
2
h
θ
i
−
θ
i
−
1
2
h
τ
i
replace equality constraints with quasilinearized versions
θ
(
k
)
i
θ
i
θ
i
θ
i
−
1
h
2
θ
(
k
)
i
θ
(
k
)
i
θ
(
k
)
i
−
1
h
θ
i
θ
i
−
1
h
τ
i
trust region: only on
θ
i
initialize with
θ
i
i
θ
final
θ
init
i
19 docsity.com