Docsity

Distributed Optimization Analysis and Synthesis via Circuits-Methods for Convex Optimization-Lecture Slides, Slides of Convex Optimization

Partial preview of the text

Download Distributed Optimization Analysis and Synthesis via Circuits-Methods for Convex Optimization-Lecture Slides and more Slides Convex Optimization in PDF only on Docsity!

Distributed Optimization:

Analysis and Synthesis via Circuits

Stephen Boyd

Prof. S. Boyd, EE364b, Stanford University

docsity.com

Outline

canonical form for distributed convex optimization

circuit intepretation

primal decomposition

dual decomposition

prox decomposition

momentum terms

1

docsity.com

Conditional separability

separable problem

: can solve by solving subsystems separately,

e.g.

minimize

f

1

x

1

f

2

x

2

subject to

x

1

∈ C

1

x

2

∈ C

2

in distributed problem, two subsystems are

conditionally separable

if

they are separable when all other variables are fixed

two subsystems not connected by a net are

conditionally separable

cf. conditional independence in Bayes net: two variables not connectedby hyperedge are conditionally independent, given all other variables

3

docsity.com

Examples

minimize

f

1

z

1

, x

f

2

z

2

, x

with variables

z

1

, z

2

, x

x

is the

complicating variable

; when fixed, problem is separable

z

1

z

2

are

private

or

local

variables

x

is a

public

or

interface

or

boundary

variable between the two

subproblems

hypergraph: two nodes connected by an edge

optimal control problem

state is the complicating variable between past and future

hypergraph: simple chain

4

docsity.com

Example

minimize

f

1

z

1

, x

f

2

z

2

, x

with variables

z

1

, z

2

, x

introduce local copies of complicating variable:

minimize

f

1

z

1

, x

1

f

2

z

2

, x

2

subject to

x

1

x

2

eliminate local variables:

minimize

f

1

x

1

f

2

x

2

subject to

x

1

x

2

with

f

i

x

i

) = inf

z

i

f

i

z

i

, x

i

6

docsity.com

General form

n

subsystems with variables

x

1

,... , x

n

m

nets with common variable values

z

1

,... , z

m

minimize

n i

=

f

i

x

i

subject to

x

i

E

i

z,

i

,... , n

matrices

E

i

give

netlist

or

hypergraph

(row

k

is

e

p

, where

k

th entry of

x

i

is in net

p

7

docsity.com

Circuit interpretation (primal/voltages)

PSfrag

subsystems are (grounded) nonlinear resistors

nets are wires (nets); consistency constraint is KVL

z

j

is voltage on net

j

x

i

is vector of pin voltages for resistor

i

9

docsity.com

Circuit interpretation (dual/currents)

y

i

is vector of currents entering resistor

i

dual feasibility is KCL: sum of currents leaving net

j

is zero

V-I characteristic for resistor

i

y

i

f

i

x

i

f

i

x

is

content function

of resistor

i

convexity of

f

i

is

incremental passivity

of resistor

i

x

i

x

i

T

y

i

y

i

y

i

f

i

x

i

y

i

f

i

x

i

optimality conditions are exactly the circuit equations

10 docsity.com

Primal decomposition

repeat

  1. distribute net variables to adjacent subsystems

x

i

E

i

z

  1. optimize subsystems (separately)

solve subproblems to evaluate

y

i

f

i

x

i

  1. collect and sum dual variables for each net

w

n i

=

E

T

i

y

i

  1. update net variables

z

z

α

k

w

step factor

α

k

chosen by standard gradient or subgradient rules

Prof. S. Boyd, EE364b, Stanford University

12 docsity.com

Primal decomposition

algorithm state is net variable

z

(net voltages)

w

n i

=

E

T i

y

i

is dual residual (net current residuals)

primal feasibility maintained; dual feasibility approached in limit

subsystems are

voltage controlled

voltage

x

i

is asserted at subsystem pins

pin currents

y

i

are then found

13 docsity.com

Dual decomposition

initialize

y

i

so that

n i

=

E

T

i

y

i

(dual variables sum to zero on each net) repeat

  1. optimize subsystems (separately)

find

x

i

with

f

i

x

i

y

i

i.e.

, minimize

f

i

x

i

y

Ti

x

i

  1. collect and average primal variables over each net

z

E

T

E

−

1

E

T

x

  1. update dual variables

y

y

α

k

x

Ez

Prof. S. Boyd, EE364b, Stanford University

15 docsity.com

Dual decomposition

algorithm state is dual variable

y

x

Ez

is consistency residual

dual feasibility maintained; primal feasibility approached in limit

subsystems are

current controlled

pin currents

y

i

are asserted

pin voltages

x

i

are then found

16 docsity.com

Prox(imal) interface

prox operator:

P

ρ

y,

x

) = argmin

x

f

x

y

T

x

ρ/

x

x

2 2

contains usual dual term

y

T

x

and ‘proximal regularization’ term

amounts to solving

f

x

ρ

x

x

y

circuit interpretation: drive via resistance

R

/ρ

cf. voltage (primal) drive or current (dual) drive

x

y

→

¯ x

∇

f

(

x

)

→

18 docsity.com

Prox decomposition

initialize

y

i

so that

n i

=

E

T

i

y

i

repeat

  1. optimize subsystems (separately)

minimize

f

i

x

i

y

T i

x

i

ρ/

x

i

E

i

z

2

  1. collect and average primal variables over each net

z

E

T

E

−

1

E

T

x

  1. update dual variables

y

y

ρ

x

Ez

step size

ρ

in dual update guaranteed to work

Prof. S. Boyd, EE364b, Stanford University

19 docsity.com