Island Hopping and Path Colouring Andrew McGregor UPenn UC San - - PowerPoint PPT Presentation

island hopping and path colouring
SMART_READER_LITE
LIVE PREVIEW

Island Hopping and Path Colouring Andrew McGregor UPenn UC San - - PowerPoint PPT Presentation

Island Hopping and Path Colouring Andrew McGregor UPenn UC San Diego Bruce Shepherd Bell Labs McGill Optical Network Design Optical Network Design Route a set of signals, s i to t i , in a graph G Optical Network Design Route a


slide-1
SLIDE 1

Island Hopping and Path Colouring

Andrew McGregor UPenn→UC San Diego

Bruce Shepherd Bell Labs→McGill

slide-2
SLIDE 2

Optical Network Design

slide-3
SLIDE 3

Optical Network Design

  • Route a set of signals, si to ti, in a graph G
slide-4
SLIDE 4

Optical Network Design

  • Route a set of signals, si to ti, in a graph G
  • Advantages of optical communication:

A single optical fiber can carry multiple signals if each is assigned a different wavelength. Decreased latency if signals can avoid expensive

  • ptical-electrical-optical (OEO) conversions.
slide-5
SLIDE 5

Optical Network Design

  • Route a set of signals, si to ti, in a graph G
  • Advantages of optical communication:

A single optical fiber can carry multiple signals if each is assigned a different wavelength. Decreased latency if signals can avoid expensive

  • ptical-electrical-optical (OEO) conversions.
  • Many interesting theory problems arise...
slide-6
SLIDE 6

Minimizing Fiber Costs

slide-7
SLIDE 7

Minimizing Fiber Costs

  • In each link e of G, a fiber that can carry a single

signal of each wavelength {1, ..., λ} can be installed with cost ce.

slide-8
SLIDE 8

Minimizing Fiber Costs

  • In each link e of G, a fiber that can carry a single

signal of each wavelength {1, ..., λ} can be installed with cost ce.

  • MinFiber: Minimize the cost of fibers installed such

that every signal can be routed monochromatically.

slide-9
SLIDE 9

Minimizing Fiber Costs

  • In each link e of G, a fiber that can carry a single

signal of each wavelength {1, ..., λ} can be installed with cost ce.

  • MinFiber: Minimize the cost of fibers installed such

that every signal can be routed monochromatically.

  • Approx: O(log n) and Ω(log1/4-ε n)

[Andrews, Zhang ’05]

slide-10
SLIDE 10

Minimizing Fiber Costs

  • In each link e of G, a fiber that can carry a single

signal of each wavelength {1, ..., λ} can be installed with cost ce.

  • MinFiber: Minimize the cost of fibers installed such

that every signal can be routed monochromatically.

  • Approx: O(log n) and Ω(log1/4-ε n)

[Andrews, Zhang ’05]

  • Exact solution if G is a path

[Winkler, Zhang ’03]

slide-11
SLIDE 11

Minimizing Fiber Costs

  • In each link e of G, a fiber that can carry a single

signal of each wavelength {1, ..., λ} can be installed with cost ce.

  • MinFiber: Minimize the cost of fibers installed such

that every signal can be routed monochromatically.

  • Approx: O(log n) and Ω(log1/4-ε n)

[Andrews, Zhang ’05]

  • Exact solution if G is a path

[Winkler, Zhang ’03]

  • Our results: Exact solution if G is a directed tree

and 3.55 approx if demands are single-source.

slide-12
SLIDE 12

Minimizing Fiber Costs

  • In each link e of G, a fiber that can carry a single

signal of each wavelength {1, ..., λ} can be installed with cost ce.

  • MinFiber: Minimize the cost of fibers installed such

that every signal can be routed monochromatically.

  • Approx: O(log n) and Ω(log1/4-ε n)

[Andrews, Zhang ’05]

  • Exact solution if G is a path

[Winkler, Zhang ’03]

  • Our results: Exact solution if G is a directed tree

and 3.55 approx if demands are single-source.

slide-13
SLIDE 13

Minimizing “Hops”

slide-14
SLIDE 14
  • At each node, can only switch signals optically within

sets of c incident fibers.

Minimizing “Hops”

slide-15
SLIDE 15
  • At each node, can only switch signals optically within

sets of c incident fibers.

ROADM

Minimizing “Hops”

slide-16
SLIDE 16
  • At each node, can only switch signals optically within

sets of c incident fibers.

ROADM

Minimizing “Hops”

slide-17
SLIDE 17
  • At each node, can only switch signals optically within

sets of c incident fibers.

  • Any signal not switched optically requires an OEO

conversion or “hop.”

ROADM

Minimizing “Hops”

slide-18
SLIDE 18
  • At each node, can only switch signals optically within

sets of c incident fibers.

  • Any signal not switched optically requires an OEO

conversion or “hop.”

  • MinHopc: Given a single infinite capacity fiber in each

link, route demands simply and set Roadms to minimize average number of hops.

ROADM

Minimizing “Hops”

slide-19
SLIDE 19
  • At each node, can only switch signals optically within

sets of c incident fibers.

  • Any signal not switched optically requires an OEO

conversion or “hop.”

  • MinHopc: Given a single infinite capacity fiber in each

link, route demands simply and set Roadms to minimize average number of hops.

ROADM

Minimizing “Hops”

4 4 3 2 2 3 3 3 2 5 6 2 1 1

River Thames River Thames

King George V Woolwich Arsenal North Woolwich Bermondsey Southwark

Waterloo East 400m

Northwood Northwood Hills Pinner North Harrow Maida Vale Queen’s Park Kensal Green Neasden Dollis Hill Willesden Green Kilburn West Hampstead Swiss Cottage

  • St. John’s Wood

Finchley Road Harrow-

  • n-the-Hill

Preston Road West Harrow Northwick Park Wembley Park Great Portland Street Baker Street Farringdon Barbican Moorgate Aldgate Euston Square Turnham Green West Acton East Acton Shepherd’s Bush Stamford Brook Ravenscourt Park Hammersmith West Kensington West Brompton Fulham Broadway Parsons Green Putney Bridge East Putney Southfields Wimbledon Park Wimbledon Victoria South Kensington Gloucester Road Embankment Blackfriars Mansion House Temple Cannon Street Bank Monument Barons Court

Fenchurch Street

Whitechapel

for Shoreditch

Tower Gateway Tower Hill Aldgate East Stepney Green Mile End Bow Road Bow Church Bromley- by-Bow West Ham Plaistow Upton Park East Ham Becontree Dagenham Heathway Upney Dagenham East Upminster High Street Kensington Bayswater Kensal Rise Brondesbury Edgware Road

  • St. James’s

Park Sloane Square Westminster Barking Latimer Road Westbourne Park Finchley Road & Frognal Ladbroke Grove Royal Oak Shepherd’s Bush Goldhawk Road North Acton White City Holland Park Paddington Paddington Chancery Lane Bond Street Oxford Circus Tottenham Court Road

  • St. Paul’s

Marble Arch Queensway Lancaster Gate Bethnal Green Stratford Leyton Leytonstone Snaresbrook South Woodford Woodford Loughton Buckhurst Hill Redbridge Chigwell Roding Valley Hainault Fairlop Barkingside Newbury Park Grange Hill Wanstead Gants Hill Knightsbridge Hyde Park Corner Green Park Piccadilly Circus Leicester Square Russell Square Caledonian Road Caledonian Road & Barnsbury Dalston Kingsland Homerton Holloway Road Arsenal Manor House Turnpike Lane Wood Green Bounds Green Arnos Grove Southgate Acton Central Waterloo Stockwell Oval Kennington Borough South Acton Old Street Angel Goodge Street Euston Mornington Crescent Camden Town Chalk Farm Regent’s Park Belsize Park Hampstead Hampstead Heath Gospel Oak Canonbury Hackney Central Hackney Wick Kentish Town West Camden Road Hendon Central Colindale Burnt Oak Mill Hill East Woodside Park West Finchley Finchley Central East Finchley Highgate Archway Tufnell Park Kentish Town Canada Water Canary Wharf Deptford Bridge Harrow & Wealdstone Kenton Stanmore Canons Park Queensbury Kingsbury South Kenton North Wembley Wembley Central Stonebridge Park Harlesden Willesden Junction Kilburn Park Warwick Avenue Edgware Road Brondesbury Park Marylebone Lambeth North Elephant & Castle Charing Cross Covent Garden Highbury & Islington Blackhorse Road Seven Sisters Walthamstow Central Tottenham Hale Finsbury Park Pimlico Wapping Rotherhithe Surrey Quays New Cross New Cross Gate Vauxhall Limehouse Westferry Devons Road Pudding Mill Lane West India Quay Cutty Sark

for Maritime Greenwich

Greenwich Blackwall East India Warren Street Edgware All Saints Heron Quays South Quay Mudchute Island Gardens Shadwell Gunnersbury Richmond Kew Gardens Poplar London Bridge

100m Euston 200m 150m Charing Cross 100m Leicester Square 340m 200m

Liverpool Street

200m

South Harrow Kensington (Olympia) Earl’s Court Holborn London City Airport West Silvertown Pontoon Dock Silvertown Royal Victoria Custom House

for ExCeL London

Prince Regent Royal Albert Beckton Park Canning Town Golders Green Brent Cross Crossharbour Shoreditch Notting Hill Gate King’s Cross

  • St. Pancras

North Greenwich

slide-20
SLIDE 20
  • At each node, can only switch signals optically within

sets of c incident fibers.

  • Any signal not switched optically requires an OEO

conversion or “hop.”

  • MinHopc: Given a single infinite capacity fiber in each

link, route demands simply and set Roadms to minimize average number of hops.

ROADM

Minimizing “Hops”

slide-21
SLIDE 21
  • At each node, can only switch signals optically within

sets of c incident fibers.

  • Any signal not switched optically requires an OEO

conversion or “hop.”

  • MinHopc: Given a single infinite capacity fiber in each

link, route demands simply and set Roadms to minimize average number of hops.

  • Approx: O(log n) and >2 for c=2

[Anshelevich, Zhang ’05]

ROADM

Minimizing “Hops”

slide-22
SLIDE 22
  • At each node, can only switch signals optically within

sets of c incident fibers.

  • Any signal not switched optically requires an OEO

conversion or “hop.”

  • MinHopc: Given a single infinite capacity fiber in each

link, route demands simply and set Roadms to minimize average number of hops.

  • Approx: O(log n) and >2 for c=2

[Anshelevich, Zhang ’05]

  • Our Results: Ω(log1-ε n) for c=2...

ROADM

Minimizing “Hops”

slide-23
SLIDE 23
  • 1. Min-Hop
  • 2. Min-Fiber
  • 3. Min-Both?
slide-24
SLIDE 24

MinHopc

  • Input: Supply network G=(V,E) and demands H.
  • Solution:

a) Decomposition of E into “transparent islands” b) Simple routing path Ph for each demand h

  • Goal: Minimize average number of times each Ph

needs to hop between transparent islands.

slide-25
SLIDE 25

An O(log n) Approx

Undirected Graphs & 2-arm Roadms

slide-26
SLIDE 26

An O(log n) Approx

Undirected Graphs & 2-arm Roadms

  • Choose any spanning tree T of G rooted at r
slide-27
SLIDE 27

An O(log n) Approx

Undirected Graphs & 2-arm Roadms

  • Choose any spanning tree T of G rooted at r
  • Route signals along the spanning via r
slide-28
SLIDE 28

An O(log n) Approx

Undirected Graphs & 2-arm Roadms

  • Choose any spanning tree T of G rooted at r
  • Route signals along the spanning via r
  • Setting Roadms optimally ensures each signal requires

at most 2 log n hops.

[Anshelevich, Zhang ’05]

slide-29
SLIDE 29

An O(log n) Approx

Undirected Graphs & 2-arm Roadms

  • Choose any spanning tree T of G rooted at r
  • Route signals along the spanning via r
  • Setting Roadms optimally ensures each signal requires

at most 2 log n hops.

[Anshelevich, Zhang ’05]

slide-30
SLIDE 30

An O(log n) Approx

Undirected Graphs & 2-arm Roadms

  • Choose any spanning tree T of G rooted at r
  • Route signals along the spanning via r
  • Setting Roadms optimally ensures each signal requires

at most 2 log n hops.

[Anshelevich, Zhang ’05]

slide-31
SLIDE 31

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

slide-32
SLIDE 32

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

  • Reduction from LongPath:

Given a 3-regular Hamiltonian graph find a long path Constant approximation is hard [Bazgan, Santha, Tuza ’99]

slide-33
SLIDE 33

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

  • Reduction from LongPath:

Given a 3-regular Hamiltonian graph find a long path Constant approximation is hard [Bazgan, Santha, Tuza ’99]

  • Let L be an instance of LongPath on t nodes:

Replace each node u with K2,3 = {u1,u2, v1,v2,v3} and match v1,v2,v3 to neighbours of u.

slide-34
SLIDE 34

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

  • Reduction from LongPath:

Given a 3-regular Hamiltonian graph find a long path Constant approximation is hard [Bazgan, Santha, Tuza ’99]

  • Let L be an instance of LongPath on t nodes:

Replace each node u with K2,3 = {u1,u2, v1,v2,v3} and match v1,v2,v3 to neighbours of u. L L’

slide-35
SLIDE 35

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

Insert multiple copies of L’ into (t-1)-ary tree in which each edge is duplicated. L’

L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’

slide-36
SLIDE 36

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

Insert multiple copies of L’ into (t-1)-ary tree in which each edge is duplicated. L’

L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’

Consider demands from leaves to root

slide-37
SLIDE 37

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

Insert multiple copies of L’ into (t-1)-ary tree in which each edge is duplicated. L’

L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’

Consider demands from leaves to root L is Hamiltonian so MinHop2(G)=1

slide-38
SLIDE 38

Ω(log1-ε n) Hardness

Undirected Graphs & 2-arm Roadms

Insert multiple copies of L’ into (t-1)-ary tree in which each edge is duplicated. L’

L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’ L’

Consider demands from leaves to root L is Hamiltonian so MinHop2(G)=1 Finding a solution of cost o(log1-ε n) requires finding length Ω(t) path in L.

slide-39
SLIDE 39

Ω(n1-ε) Hardness

Directed Graphs & 2-arm Roadms

slide-40
SLIDE 40

Ω(n1-ε) Hardness

Directed Graphs & 2-arm Roadms

  • Reduction from 2DirPaths:

For directed graph L and s1,t1,s2,t2, it is NP-hard to determine if there is edge disjoint paths between s1 and t1; and s2 and t2.

[Fortune, Hopcroft, Wyllie ’80]

slide-41
SLIDE 41

Ω(n1-ε) Hardness

Directed Graphs & 2-arm Roadms

  • Reduction from 2DirPaths:

For directed graph L and s1,t1,s2,t2, it is NP-hard to determine if there is edge disjoint paths between s1 and t1; and s2 and t2.

[Fortune, Hopcroft, Wyllie ’80]

  • Form supply graph G with demands (a,b) and (b,a)

a b L L L L L L

slide-42
SLIDE 42

Ω(n1-ε) Hardness

Directed Graphs & 2-arm Roadms

  • Reduction from 2DirPaths:

For directed graph L and s1,t1,s2,t2, it is NP-hard to determine if there is edge disjoint paths between s1 and t1; and s2 and t2.

[Fortune, Hopcroft, Wyllie ’80]

  • Form supply graph G with demands (a,b) and (b,a)
  • If there exists edge disjoint paths then MinHop2(G)=1

and otherwise MinHop2(G) =Ω(n1-ε).

a b L L L L L L

slide-43
SLIDE 43

Ω(n1-ε) Hardness

Directed Graphs & 2-arm Roadms

  • Reduction from 2DirPaths:

For directed graph L and s1,t1,s2,t2, it is NP-hard to determine if there is edge disjoint paths between s1 and t1; and s2 and t2.

[Fortune, Hopcroft, Wyllie ’80]

  • Form supply graph G with demands (a,b) and (b,a)
  • If there exists edge disjoint paths then MinHop2(G)=1

and otherwise MinHop2(G) =Ω(n1-ε).

  • Can assume G is strongly connected...

a b L L L L L L

slide-44
SLIDE 44

An O(n1/2) Approx

Directed Acyclic Graphs & 2 arm Roadms

slide-45
SLIDE 45

An O(n1/2) Approx

Directed Acyclic Graphs & 2 arm Roadms

  • Thm: An O(n1/2) approximation for DAGS.
slide-46
SLIDE 46

An O(n1/2) Approx

Directed Acyclic Graphs & 2 arm Roadms

  • Thm: An O(n1/2) approximation for DAGS.
  • Lemma: Call a sequence a1, ..., an boosted if ai≠ai+1 and if

ai=ak, then aj≤ak for all i<j<k. Length of a boosted sequence with alphabet {1, 2, ... , k} is at most 2k.

slide-47
SLIDE 47

An O(n1/2) Approx

Directed Acyclic Graphs & 2 arm Roadms

  • Thm: An O(n1/2) approximation for DAGS.
  • Lemma: Call a sequence a1, ..., an boosted if ai≠ai+1 and if

ai=ak, then aj≤ak for all i<j<k. Length of a boosted sequence with alphabet {1, 2, ... , k} is at most 2k.

Proof: Induction on k: k=1 trivial!

Let q be minimum repeated element and let sequence be of the form S q I1 q I2 q ... Ij q P. Assume I1 I2 ... Ij has length r and so I1 q I2 q ... Ij q has length at most 2r. Sequence S q P is boosted and has alphabet size k-r hence length is 2(k-r) by induction.

slide-48
SLIDE 48

An O(n1/2) Approx

Directed Acyclic Graphs & 2 arm Roadms

  • Thm: An O(n1/2) approximation for DAGS.

Proof (Sketch):

Define “long” paths P1, P2, ..., Pk that route some demands Pj: If shortest route in G augmented by edges of distance n-2 between all pairs of nodes in Pi for all i<j is length at least n1/2 then let Pj be this route. Define transparent islands as maximal sub-paths of Pj\ (P1, ... Pj-1) and all remaining individual edges. G is a DAG implies that k=O(n1/2) Boosting lemma implies every routing requires O(k) hops

slide-49
SLIDE 49

Multi-arm Roadms

slide-50
SLIDE 50

Multi-arm Roadms

  • Thm: MinHop3 has O(log n) approx for strongly

connected graphs. (c.f. Ω(n1-ε) MinHop2)

slide-51
SLIDE 51

Multi-arm Roadms

  • Thm: MinHop3 has O(log n) approx for strongly

connected graphs. (c.f. Ω(n1-ε) MinHop2)

  • Thm: For G planar:

MinHop2(G)=1 if G is 4-node connected.

Graph is Hamiltonian [Tutte ’56] and a degree-3 spanning tree can be found in polytime [Fürer, Raghavachari ’56].

slide-52
SLIDE 52

Multi-arm Roadms

  • Thm: MinHop3 has O(log n) approx for strongly

connected graphs. (c.f. Ω(n1-ε) MinHop2)

  • Thm: For G planar:

MinHop2(G)=1 if G is 4-node connected.

Graph is Hamiltonian [Tutte ’56] and a degree-3 spanning tree can be found in polytime [Fürer, Raghavachari ’56].

MinHop3(G)=1 if G is 3-node connected.

Graph has a degree-3 spanning tree and this can be found in polytime [Barnette ’66].

slide-53
SLIDE 53

Multi-arm Roadms

  • Thm: MinHop3 has O(log n) approx for strongly

connected graphs. (c.f. Ω(n1-ε) MinHop2)

  • Thm: For G planar:

MinHop2(G)=1 if G is 4-node connected.

Graph is Hamiltonian [Tutte ’56] and a degree-3 spanning tree can be found in polytime [Fürer, Raghavachari ’56].

MinHop3(G)=1 if G is 3-node connected.

Graph has a degree-3 spanning tree and this can be found in polytime [Barnette ’66].

MinHop3(G)=Ω(log n) for some 2-node connected G.

slide-54
SLIDE 54

Multi-arm Roadms

  • Thm: MinHop3 has O(log n) approx for strongly

connected graphs. (c.f. Ω(n1-ε) MinHop2)

  • Thm: For G planar:

MinHop2(G)=1 if G is 4-node connected.

Graph is Hamiltonian [Tutte ’56] and a degree-3 spanning tree can be found in polytime [Fürer, Raghavachari ’56].

MinHop3(G)=1 if G is 3-node connected.

Graph has a degree-3 spanning tree and this can be found in polytime [Barnette ’66].

MinHop3(G)=Ω(log n) for some 2-node connected G.

slide-55
SLIDE 55

Summary of MinHop

2-arm Roadms 3-arm Roadms Algorithm Hardness Algorithm Undirected O(log n) Ω(log1-ε n) O(log n) Strongly Connected O(n) Ω(n1-ε) O(log n) DAG O(n1/2) Ω(log n) O(n1/2)

slide-56
SLIDE 56

Summary of MinHop

2-arm Roadms 3-arm Roadms Algorithm Hardness Algorithm Undirected O(log n) Ω(log1-ε n) O(log n) Strongly Connected O(n) Ω(n1-ε) O(log n) DAG O(n1/2) Ω(log n) O(n1/2)

  • Open Question: Resolve the

hardness of directed acyclic graphs

slide-57
SLIDE 57
  • 1. Min-Hop
  • 2. Min-Fiber
  • 3. Min-Both?
slide-58
SLIDE 58

MinFiber

  • Input: Supply network G=(V,E), demand graph H, costs

ce to install a fiber in link e, and fiber capacity λ.

  • Solution:

a) Multiple le of fibers at link e b) Simple routing path Ph for each demand c) Assignment of one of λ colours to each Ph such that the number of paths of the same colour using any edge is at most le.

  • Goal: Minimize Σ ce le
slide-59
SLIDE 59

Integer Decomposition Property

slide-60
SLIDE 60
  • A polyhedron P has the integer decomposition

property (IDP) if for any and integer such that is integral then we have where is an integral vector in P .

Integer Decomposition Property

x ∈ P kx kx =

  • i∈[k]

xi xi k

slide-61
SLIDE 61
  • A polyhedron P has the integer decomposition

property (IDP) if for any and integer such that is integral then we have where is an integral vector in P .

  • Thm (Baum, Trotter): Matrix A is totally unimodular

iff has the IDP for every integer vector b.

Integer Decomposition Property

x ∈ P kx kx =

  • i∈[k]

xi xi k {x : Ax ≤ b, x ≥ 0}

slide-62
SLIDE 62
  • Thm: Exact solution MinFib on directed tree instances.
  • Proof (Sketch):

Let B be the matrix with Bah=1 if routing for demand h goes through arc a. B and [BTI]T are totally unimodular. Let l an allocation of fibers that satisfies capacity requirements. Define and note Pl is IDP . By assumption (1/λ, 1/λ, ... ,1/λ) is in Pl and hence there exists a decomposition of demands into λ classes such that each class can be assigned the same colour.

WDM Flows on Directed Trees

Pl = {x : B · x ≤ l, 0 ≤ x ≤ 1}

slide-63
SLIDE 63
  • 1. Min-Hop
  • 2. Min-Fiber
  • 3. Min-Both?
slide-64
SLIDE 64

Open Question

  • Incompatible Assumptions:

MinHop assumes an existing infinite capacity fiber in each link. MinFiber assumes full wavelength selective switching (i.e. infinite-arm Roadms)

  • How can we unify both problems?

In MinHop, consider purchasing extra fibers in each link at some cost. If we have to hop, can’t we get a wavelength conversion for free?

slide-65
SLIDE 65

MinFiber: Exact Solution for Directed Trees 3.55 Approximation for Single-Source via “Fractional implies Integral” results MinHop:

Summary

2-arm Roadms 3-arm Roadms Algorithm Hardness Algorithm Undirected O(log n) Ω(log1-ε n) O(log n) Strongly Connected O(n) Ω(n1-ε) O(log n) DAG O(n1/2) Ω(log n) O(n1/2)