Docsity

Sequential Convex Programming-Methods for Convex Optimization-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Sequential Convex Programming-Methods for Convex Optimization-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Sequential Convex Programming

sequential convex programming

alternating convex optimization

convex-concave procedure

Prof. S. Boyd, EE364b, Stanford University

docsity.com

Methods for nonconvex optimization problems

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)

  • global optimization methods

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

Problem

we consider nonconvex problem

minimize

f

0

x

subject to

f

i

x

i

,... , m

h

i

x

j

,... , p

with variable

x

R

n

f

0

and

f

i

(possibly) nonconvex

h

i

(possibly) non-affine

Prof. S. Boyd, EE364b, Stanford University

3 docsity.com

Basic idea of SCP

maintain estimate of solution

x

(

k

)

, and convex

trust region

T

(

k

)

R

n

form convex approximation

f

i

of

f

i

over trust region

T

(

k

)

form affine approximation

ˆh

i

of

h

i

over trust region

T

(

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

∈ T

(

k

)

4 docsity.com

Affine and convex approximations via Taylor expansions

(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

P

x

x

(

k

)

P

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

particle method: –

choose points

z

1

,... , z

K

∈ T

(

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

Quasi-linearization

a cheap and simple method for affine approximation

write

h

x

as

A

x

x

b

x

(many ways to do this)

use

ˆh

x

A

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

Example

nonconvex QP

minimize

f

x

x

T

P x

q

T

x

subject to

x

∞

with

P

symmetric but not PSD

use approximation

f

x

(

k

)

P x

(

k

)

q

T

x

x

(

k

)

x

x

(

k

)

T

P

x

x

(

k

)

10 docsity.com

Lower bound via Lagrange dual

write constraints as

x

2 i

and form Lagrangian

L

x, λ

x

T

P x

q

T

x

n

i

=

λ

i

x

2 i

x

T

P

diag

λ

x

q

T

x

T

λ

g

λ

q

T

P

diag

λ

−

1

q

T

λ

; need

P

diag

λ

solve dual problem to get best lower bound:

maximize

q

T

P

diag

λ

−

1

q

T

λ

subject to

λ

P

diag

λ

12 docsity.com

Some (related) issues

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

Trust region update

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

Nonlinear optimal control

θ

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

Discretization

discretize with time interval

h

T /N

J

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:

M

θ

i

θ

i

θ

i

θ

i

−

1

h

2

W

θ

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

,... , N

M

θ

i

θ

i

−

2

θ

i

θ

i

−

1

h

2

W

θ

i

θ

i

−

θ

i

−

1

2

h

θ

i

−

θ

i

−

1

2

h

τ

i

replace equality constraints with quasilinearized versions

M

θ

(

k

)

i

θ

i

θ

i

θ

i

−

1

h

2

W

θ

(

k

)

i

θ

(

k

)

i

θ

(

k

)

i

−

1

h

θ

i

θ

i

−

1

h

τ

i

trust region: only on

θ

i

initialize with

θ

i

i

N

θ

final

θ

init

i

,... , N

19 docsity.com