Docsity

Decomposition Applications-Optimization Methods-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Decomposition Applications-Optimization Methods-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Decomposition Applications

rate control

single commodity network flow

Prof. S. Boyd, EE364b, Stanford University

docsity.com

Rate control setup

n

flows, with fixed routes, in a network with

m

links

variable

f

j

denotes the rate of flow

j

flow utility is

U

j

R

R

, strictly concave, increasing

traffic

t

i

on link

i

is sum of flows passing through it

t

Rf

, where

R

is the routing matrix

R

ij

flow

j

passes over link

i

otherwise

link capacity constraint:

t

c

Prof. S. Boyd, EE364b, Stanford University

1 docsity.com

Rate control Lagrangian

Lagrangian (for minimizing

U

) is

L

f, λ

U

f

λ

T

Rf

c

λ

T

c

n

∑^ j

=

U

j

f

j

r

Tj

λ

f

j

λ

i

is price (per unit flow) for using link

i

r

Tj

λ

is the sum of prices along route

j

Prof. S. Boyd, EE364b, Stanford University

3 docsity.com

Rate control dual

dual function is

g

λ

λ

T

c

n

∑^ j

=

inf

f

j

U

j

f

j

r

Tj

λ

f

j

λ

T

c

n

∑^ j

=

U

j

∗

r

Tj

λ

dual rate control problem:

maximize

λ

T

c

n j

=

U

j

∗

r

Tj

λ

subject to

λ

Prof. S. Boyd, EE364b, Stanford University

4 docsity.com

Dual decomposition rate control algorithm

given

initial link price vector

λ

e.g.

λ

repeat

  1. Sum link prices along each route.

Calculate

j

r

Tj

λ

  1. Optimize flows (separately) using flow prices.

f

j

:= argmax (

U

j

f

j

j

f

j

  1. Calculate link capacity margins.

s

c

Rf

  1. Update link prices.

λ

λ

α

k

s

Prof. S. Boyd, EE364b, Stanford University

6 docsity.com

Dual decomposition rate control algorithm

decentralized: –

links only need to know the flows that pass through them

flows only need to know prices on links they pass through

prices converge to optimal; so do flows (since

U

is strictly concave)

iterates can be (and often are) infeasible,

i.e.

Rf

c

(but we do have

Rf

c

in the limit)

have upper bound

g

λ

on optimal utility

U

⋆

Prof. S. Boyd, EE364b, Stanford University

7 docsity.com

Example

n

flows,

m

links;

or

links per flow

link capacities chosen randomly, uniform on

[

1]

U

j

f

j

) = log

f

j

(can be argued to give proportionally fair flows)

optimal flow as a function of price:

f

j

= argmax(

U

j

f

j

j

f

j

j

initial prices:

λ

constant stepsize

α

k

Prof. S. Boyd, EE364b, Stanford University

9 docsity.com

Convergence of primal and dual objectives

0

20

40

60

80

100

−16 −17 −18 −19 −20 −21 −

k

U

(

f

feas

)

−

g

(

λ

)

Prof. S. Boyd, EE364b, Stanford University

10 docsity.com

Single commodity network flow setup

connected, directed graph with

n

links,

p

nodes

variable

x

j

denotes flow (traffic) on arc

j

given external source (or sink) flow

s

i

at node

i

T

s

node incidence matrix

A

R

p

×

n

is

A

ij

arc

j

enters

i

arc

j

leaves node

i

otherwise

flow conservation:

Ax

s

φ

x

n j

=

φ

j

x

j

is separable convex flow cost function

Prof. S. Boyd, EE364b, Stanford University

12 docsity.com

Network flow problem

optimal single commodity network flow problem:

minimize

n j

=

φ

j

x

j

subject to

Ax

s

convex, readily solved with standard methods

dual decomposition yields decentralized solution method

Prof. S. Boyd, EE364b, Stanford University

13 docsity.com

Network flow dual

dual function:

g

ν

inf

x

L

x, ν

ν

T

s

n

∑^ j

=

inf

x

j

φ

j

x

j

ν

j

x

j

ν

T

s

n

∑^ j

=

φ

∗ j

ν

j

dual problem: maximize

g

ν

Prof. S. Boyd, EE364b, Stanford University

15 docsity.com

Recovering primal from dual

strictly convex

φ

j

means unique minimizer

x

∗ j

y

of

φ

j

x

j

yx

j

if

φ

j

is differentiable,

x

∗ j

y

φ

′ j

−

1

y

(inverse of derivative function)

optimal flows, from optimal potentials:

x

⋆j

x

∗ j

ν

⋆j

subgradient of negative dual function:

Ax

∗

ν

s

g

ν

(negative of flow conservation residual)

Prof. S. Boyd, EE364b, Stanford University

16 docsity.com

Dual decomposition network flow algorithm

decentralized: –

flow calculated from potential difference across edge

node potential updated from its own flow surplus

g

ν

gives lower bound on

p

⋆

flow conservation

Ax

s

only holds in limit

Prof. S. Boyd, EE364b, Stanford University

18 docsity.com

Electrical network analogy

electrical network with node incidence matrix

A

, nonlinear resistors in

branches

variable

x

j

is the current flow in branch

j

source

s

i

is external current injected at node

i

(must sum to zero)

flow conservation equation

Ax

s

is Kirkhoff Current Law (KCL)

dual variables are node potentials;

ν

j

is

j

th branch voltage

branch current-voltage characteristic is

x

j

x

∗ j

ν

j

then, current and potentials in circuit are optimal flows and dual variables Prof. S. Boyd, EE364b, Stanford University

19 docsity.com