




















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!





















rate control
single commodity network flow
Prof. S. Boyd, EE364b, Stanford University
docsity.com
n
flows, with fixed routes, in a network with
m
links
variable
f
j
denotes the rate of flow
j
flow utility is
j
, strictly concave, increasing
traffic
t
i
on link
i
is sum of flows passing through it
t
Rf
, where
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
Lagrangian (for minimizing
) is
f, λ
f
λ
T
Rf
c
λ
T
c
n
∑^ j
=
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
dual function is
g
λ
λ
T
c
n
∑^ j
=
inf
f
j
j
f
j
r
Tj
λ
f
j
λ
T
c
n
∑^ j
=
j
∗
r
Tj
λ
dual rate control problem:
maximize
λ
T
c
n j
=
j
∗
r
Tj
λ
subject to
λ
Prof. S. Boyd, EE364b, Stanford University
4 docsity.com
given
initial link price vector
λ
e.g.
λ
repeat
Calculate
j
r
Tj
λ
f
j
:= argmax (
j
f
j
j
f
j
s
c
Rf
λ
λ
α
k
s
Prof. S. Boyd, EE364b, Stanford University
6 docsity.com
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
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
⋆
Prof. S. Boyd, EE364b, Stanford University
7 docsity.com
n
flows,
m
links;
or
links per flow
link capacities chosen randomly, uniform on
j
f
j
) = log
f
j
(can be argued to give proportionally fair flows)
optimal flow as a function of price:
f
j
= argmax(
j
f
j
j
f
j
j
initial prices:
λ
constant stepsize
α
k
Prof. S. Boyd, EE364b, Stanford University
9 docsity.com
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
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
p
×
n
is
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
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
dual function:
g
ν
inf
x
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
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
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 with node incidence matrix
, 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