1 / 17

Online Algorithms for Network Design

Online Algorithms for Network Design. Adam Meyerson UCLA. Problem Statement. Sender / Source. Build Network Low latency Low cost. Many Receivers. Formal Statement. Given a graph G=(V,E) Each edge has c(e) and l(e) Each vertex has demand d(v) Select sub-tree T connecting D to s

jemima
Download Presentation

Online Algorithms for Network Design

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Online Algorithms for Network Design Adam Meyerson UCLA

  2. Problem Statement Sender / Source Build Network Low latency Low cost Many Receivers

  3. Formal Statement • Given a graph G=(V,E) • Each edge has c(e) and l(e) • Each vertex has demand d(v) • Select sub-tree T connecting D to s • D = {v such that d(v) > 0} • Minimize total c(e) of e  T • Minimize l(e) along v-s paths

  4. Previous Work • Marathe et al, 1998 • Bicriteria optimization of total c(e), max l(e) • Factors (log n, log n) where n=|D| • Meyerson et al, 2000 • Optimizes sum of c(e) + d(v)l(vs) • Factor log n where n=|D| • Various other results assuming c(e) and l(e) are somehow related

  5. This Paper Sender / Source Many Receivers

  6. Key Observation • Real networks change over time. • Telecom networks, transport networks • But especially mobile networks! • Ideally, we’d like an online strategy which adapts to nodes entering and departing. • Unfortunately, these problems are harder than the online Steiner Tree. • O(log n) is the best online competitivity possible • This holds even if order of arrival is random.

  7. Online Algorithm Strategy • Assign nodes to levels (randomly). • Connect only to higher levels. • This connection is basically greedy. • Levels help with arrival order.

  8. Bicriteria Example 1 2 1 3 2 1 1 2

  9. Algorithm Description • Select level i with probability 1/2^i • Connect to only higher level • Pick path with latency at most L • Minimum cost connection • Notice that max level is at most log n • Can guarantee this if n is known • Otherwise not much larger w.h.p. • Thus all latencies within O(log n)*L

  10. Cost Analysis • Consider a recursive partition of the optimum tree with roughly equal number of nodes on each side. • Instead of minimum-cost routing, we will route to a higher level node in same component as much as possible. • How many times to cross components? Expected once per level, so O(log n) times. Each crossing costs at most OPT cost on this component, and there are O(log n) recursive subdivisions.

  11. Cost+Distance Version • Goal is to minimize sum of the two costs: • Sum over vertices of d(v) times l(vs) • Sum over edges of c(e) • Can think of this as a “buy-at-bulk” discount when purchasing cables. • Alternately, minimizing cost and average latency.

  12. Algorithm for Cost+Distance • Same basic idea of assigning levels. • Pretend level i means 2^i demand and find path via higher levels which minimizes cost plus latency times this “fake” demand. • We follow this path to the root.

  13. Cost+Distance Example

  14. Analysis How much demand crosses red edge? It comes from O(log n) subtrees, and for each level i, encompasses an expected 2^i from there

  15. Cost Analysis • This enables us to bound latency. • But potentially, we could “change paths” many times and spend a lot of c(e) on the edges. • To avoid this, we switch paths out of a node of level i only when 2^i demand arrives. This guarantees that outgoing edges actually carry 2^i demand so c(e) looks like l(e).

  16. Poly-log result • O(log n) from many levels crossing an edge. • Each level has O(log n) times for subtrees. • O(log n) increase in cost due to “fake” demands. • O(log n) from assuming binary OPT tree. • Overall O(log n) competitive result 4

  17. Open Problems • Improving online competitive ratio. • Can we obtain O(log n) competitive? • What happens on real examples? • Are these problems (log n)-hard offline? • Only max-snp hardness is known. • Multi-commodity version? • Almost nothing is known in the general case.

More Related