Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

[Boyd]_cvxslides

.pdf
Скачиваний:
8
Добавлен:
03.06.2015
Размер:
2 Мб
Скачать
☆

Force field interpretation

centering problem (for problem with no equality constraints)

minimize tf0(x) − Pm log(−fi(x))

i=1

force field interpretation

•tf0(x) is potential of force field F0(x) = −t f0(x)

•− log(−fi(x)) is potential of force field Fi(x) = (1/fi(x)) fi(x)

the forces balance at x (t):

Xm

F0(x (t)) + Fi(x (t)) = 0

i=1

Interior-point methods

12–9

example

minimize

cT x

subject to

aiT x ≤ bi, i = 1, . . . , m

•objective force field is constant: F0(x) = −tc

•constraint force field decays as inverse distance to constraint hyperplane:

F

(x) =

−ai

,

k

F

(x)

k2

=

1

bi − aiT x

dist(x, Hi)

i

 

 

i

 

 

where Hi = {x | aTi x = bi}

−c

−3c

t = 1

t = 3

Interior-point methods

12–10

Barrier method

given strictly feasible x, t := t(0) > 0, µ > 1, tolerance ǫ > 0. repeat

1.Centering step. Compute x (t) by minimizing tf0 + φ, subject to Ax = b.

2.Update. x := x (t).

3.Stopping criterion. quit if m/t < ǫ.

4.Increase t. t := µt.

•terminates with f0(x) − p ≤ ǫ (stopping criterion follows from f0(x (t)) − p ≤ m/t)

•centering usually done using Newton’s method, starting at current x

•choice of µ involves a trade-o : large µ means fewer outer iterations, more inner (Newton) iterations; typical values: µ = 10–20

•several heuristics for choice of t(0)

Interior-point methods

12–11

Convergence analysis

number of outer (centering) iterations: exactly

log(m/(ǫt(0))) log µ

plus the initial centering step (to compute x (t(0))) centering problem

minimize tf0(x) + φ(x)

see convergence analysis of Newton’s method

•tf0 + φ must have closed sublevel sets for t ≥ t(0)

•classical analysis requires strong convexity, Lipschitz condition

•analysis via self-concordance requires self-concordance of tf0 + φ

Interior-point methods

12–12

Examples

inequality form LP (m = 100 inequalities, n = 50 variables)

duality gap

102

 

 

 

 

100

 

 

 

 

10−2

 

 

 

 

10−4

 

 

 

 

10−6

µ = 50 µ = 150

µ = 2

0

20

40

60

80

Newton iterations

 

140

 

 

 

 

 

iterations

120

 

 

 

 

 

100

 

 

 

 

 

80

 

 

 

 

 

Newton

60

 

 

 

 

 

40

 

 

 

 

 

20

 

 

 

 

 

 

 

 

 

 

 

 

00

40

80

120

160

200

 

 

 

 

µ

 

 

•starts with x on central path (t(0) = 1, duality gap 100)

•terminates when t = 108 (gap 10−6)

•centering uses Newton’s method with backtracking

•total number of Newton iterations not very sensitive for µ ≥ 10

Interior-point methods

12–13

geometric program (m = 100 inequalities and n = 50 variables)

minimize subject to

log

P5

exp(aT x + bik)

0, i = 1, . . . , m

 

5

 

 

 

log

k=1 exp(a0Tkx + b0k)

 

 

Pk=1

ik

≤

 

duality gap

102

 

 

 

 

 

 

100

 

 

 

 

 

 

10−2

 

 

 

 

 

 

10−4

 

 

 

 

 

 

10−6

µ = 150

 

µ = 50

 

µ = 2

 

0

20

40

60

80

100

120

Newton iterations

Interior-point methods

12–14

family of standard LPs (A Rm×2m)

minimize

cT x

subject to

Ax = b, x 0

m = 10, . . . , 1000; for each m, solve 100 randomly generated instances

 

35

 

 

iterations

30

 

 

25

 

 

Newton

 

 

20

 

 

 

 

 

 

15

102

103

 

101

 

 

m

 

number of iterations grows very slowly as m ranges over a 100 : 1 ratio

Interior-point methods

12–15

Feasibility and phase I methods

feasibility problem: find x such that

fi(x) ≤ 0, i = 1, . . . , m, Ax = b

(2)

phase I: computes strictly feasible starting point for barrier method

basic phase I method

 

 

minimize (over x, s)

s

 

subject to

fi(x) ≤ s, i = 1, . . . , m

(3)

 

Ax = b

 

•if x, s feasible, with s < 0, then x is strictly feasible for (2)

•if optimal value p¯ of (3) is positive, then problem (2) is infeasible

•if p¯ = 0 and attained, then problem (2) is feasible (but not strictly); if p¯ = 0 and not attained, then problem (2) is infeasible

Interior-point methods

12–16

sum of infeasibilities phase I method

minimize

1T s

subject to

s 0, fi(x) ≤ si, i = 1, . . . , m

 

Ax = b

for infeasible problems, produces a solution that satisfies many more inequalities than basic phase I method

example (infeasible set of 100 linear inequalities in 50 variables)

number

60

40

20

0 −1 −0.5 0 0.5 1 1.5

bi − aTi xmax

number

60

40

20

0 −1 −0.5 0 0.5 1 1.5

bi − aTi xsum

left: basic phase I solution; satisfies 39 inequalities

right: sum of infeasibilities phase I solution; satisfies 79 inequalities

Interior-point methods

12–17

example: family of linear inequalities Ax b + γ b

•data chosen to be strictly feasible for γ > 0, infeasible for γ ≤ 0

•use basic phase I, terminate when s < 0 or dual objective is positive

iterations

100

 

 

 

 

80

Infeasible

 

Feasible

 

60

 

 

 

 

Newton

40

 

 

 

 

20

 

 

 

 

0

 

 

 

 

 

−0.5

0

0.5

1

 

−1

 

 

 

γ

 

 

iterations

60

 

 

iterations

60

 

 

 

 

100

 

 

 

100

 

 

 

Newton

80

 

 

Newton

80

 

 

 

40

 

 

40

 

 

 

 

 

 

 

 

 

 

 

20

 

 

 

20

 

 

 

 

0

−10−2 γ −10−4

 

 

0

 

γ 10−2

 

 

−100

−10−6

 

10−6

10−4

100

number of iterations roughly proportional to log(1/|γ|)

Interior-point methods

12–18