Docsity

Ellipsoid Method-Convex Optimization-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Ellipsoid Method-Convex Optimization-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Ellipsoid Method

ellipsoid method

convergence proof

inequality constraints

feasibility problems

Prof. S. Boyd, EE364b, Stanford University

docsity.com

Ellipsoid method

developed by Shor, Nemirovsky, Yudin in 1970s

used in 1979 by Khachian to show polynomial solvability of LPs

each step requires cutting-plane or subgradient evaluation

modest storage (

O

n

2

modest computation per step (

O

n

2

), via analytical formula

efficient in theory; slow but steady in practice

Prof. S. Boyd, EE364b, Stanford University

1

docsity.com

Ellipsoid algorithm for minimizing convex function

idea:

localize

x

⋆

in an

ellipsoid

instead of a

polyhedron

  1. at iteration

k

we know

x

⋆

∈ E

(

k

)

  1. set

x

(

k

+1)

center

E

(

k

)

; evaluate

g

(

k

)

∂f

x

(

k

+1)

g

(

k

)

f

x

(

k

)

if

f

is differentiable)

  1. hence we know

x

⋆

∈ E

(

k

)

z

g

(

k

+1)

T

z

x

(

k

+1)

(a half-ellipsoid)

  1. set

E

(

k

+1)

minimum volume ellipsoid covering

E

(

k

)

z

g

(

k

+1)

T

z

x

(

k

+1)

Prof. S. Boyd, EE364b, Stanford University

3

docsity.com

E

(

k

)

x

(

k

+1)

g

(

k

+1)

E

(

k

+1)

compared to cutting-plane methods:

localization set doesn’t grow more complicated

easy to compute query point

but, we add unnecessary points in step 4

Prof. S. Boyd, EE364b, Stanford University

4

docsity.com

Example

p

x

(0)

p

x

(1)

p

x

(2)

Prof. S. Boyd, EE364b, Stanford University

6

docsity.com

p

x

(3)

p

x

(4)

p

x

(5)

Prof. S. Boyd, EE364b, Stanford University

7

docsity.com

(for

n >

) minimum volume ellipsoid containing half-ellipsoid

E ∩

z

g

T

z

x

is given by

x

x

n

P

g

P

n

2

n

2

P

n

P

g

˜g

T

P

where

g

g

T

P g

g

Prof. S. Boyd, EE364b, Stanford University

9

docsity.com

Simple stopping criterion

f

x

⋆

f

x

(

k

)

g

(

k

)

T

x

⋆

x

(

k

)

f

x

(

k

)

inf

z

∈E

(

k

)

g

(

k

)

T

z

x

(

k

)

f

x

(

k

)

g

(

k

)

T

P

(

k

)

g

(

k

)

second inequality holds since

x

⋆

∈ E

k

simple stopping criterion:

g

(

k

)

T

P

(

k

)

g

(

k

)

ǫ

f

x

(

k

)

f

x

⋆

ǫ

Prof. S. Boyd, EE364b, Stanford University

10 docsity.com

Interpretation

change coordinates so uncertainty is isotropic (same in all directions), i.e.

E

is unit ball

take subgradient step with fixed length

n

Shor calls ellipsoid method ‘gradient method with space dilation indirection of gradient’ (which, strangely enough, didn’t catch on)

Prof. S. Boyd, EE364b, Stanford University

12 docsity.com

Example

PWL function

f

x

) = max

mi

=

a

Ti

x

b

i

, with

n

m

0

50

100

150

200

−2 −4 −6 −

4 2 0

B

BM

f

(

x

(

k

)

)

−

p

g

(

k

)

T

P

(

k

)

g

(

k

)

f

(

x

(

k

)

)

f

⋆

k

Prof. S. Boyd, EE364b, Stanford University

13 docsity.com

Improvements

keep track of best upper and lower bounds:

u

k

min

i

=

,...,k

f

x

(

i

)

l

k

max

i

=

,...,k

f

x

(

i

)

g

(

i

)

T

P

(

i

)

g

(

i

)

stop when

u

k

l

k

ǫ

can propagate Cholesky factor of

P

(avoids problem of

P

due to numerical roundoff)

Prof. S. Boyd, EE364b, Stanford University

15 docsity.com

0

500

1000

1500

2000

−1 −2 −

3 2 1 0

@I

L

k

U

k

f

⋆

k

Prof. S. Boyd, EE364b, Stanford University

16 docsity.com

from Lipschitz condition,

x

x

⋆

ǫ/G

f

x

f

⋆

ǫ

x

∈ E

(

k

)

so

B

x

x

x

⋆

ǫ/G

} ⊆ E

(

k

)

hence

vol

B

vol

E

(

k

)

, so

α

n

ǫ/G

n

e

−

k/

2

n

vol

E

(0)

e

−

k/

2

n

α

n

R

n

α

n

is volume of unit ball in

R

n

therefore

k

n

2

log(

RG/ǫ

Prof. S. Boyd, EE364b, Stanford University

18 docsity.com

E

(0)

E

(

k

)

x

(

k

)

f

(

x

)

≤

f

⋆

ǫ

B

=

{

x

| ‖

x

−

x

⋆

‖ ≤

ǫ/G

}

x

⋆

conclusion:

for

k >

n

2

log(

RG/ǫ

min

i

=

,...,k

f

x

(

i

)

f

⋆

ǫ

Prof. S. Boyd, EE364b, Stanford University

19 docsity.com