 On-line problem  Input arrives one at a time, and a decision is made (and cannot be changed).  In the minADM problem: lightpaths arrive one at a time,

Slides:



Advertisements
Similar presentations
Tight Bounds for Online Class- constrained Packing Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir The Technion IIT.
Advertisements

Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Undirected: Optic Fiber.
Optical networks: Basics of WDM
1 LP Duality Lecture 13: Feb Min-Max Theorems In bipartite graph, Maximum matching = Minimum Vertex Cover In every graph, Maximum Flow = Minimum.
1 SOFSEM 2007 Weighted Nearest Neighbor Algorithms for the Graph Exploration Problem on Cycles Eiji Miyano Kyushu Institute of Technology, Japan Joint.
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Prompt Mechanisms for Online Auctions Speaker: Shahar Dobzinski Joint work with Richard Cole and Lisa Fleischer.
Optimization Problems in Optical Networks. Wavelength Division Multiplexing (WDM) Directed: Symmetric: Optic Fiber.
Approximation Algorithms for TSP
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Dynamic Wavelength Allocation in All-optical Ring Networks Ori Gerstel and Shay Kutten Proceedings of ICC'97.
Online Vertex-Coloring Games in Random Graphs Revisited Reto Spöhel (joint work with Torsten Mütze and Thomas Rast; appeared at SODA ’11)
Combinatorial Algorithms
2007/3/6 1 Online Chasing Problems for Regular n-gons Hiroshi Fujiwara* Kazuo Iwama Kouki Yonezawa.
Optic fiber Electronic switch the fiber serves as a transmission medium Optical networks - 1 st generation 1. Optical networks – basic notions.
1 Electronic ADM. 2 3 ADM (add-drop multiplexer)
Approximating the Traffic Grooming Problem Mordo Shalom Tel Hai Academic College & Technion.
1 Distributed Computing Optical networks: switching cost and traffic grooming Shmuel Zaks ©
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
CS 253: Algorithms Chapter 8 Sorting in Linear Time Credit: Dr. George Bebis.
CPSC 689: Discrete Algorithms for Mobile and Wireless Systems Spring 2009 Prof. Jennifer Welch.
1 Ecole Polytechnque, Nov 7, 2007 Scheduling Unit Jobs to Maximize Throughput Jobs:  all have processing time (length) = 1  release time r j  deadline.
2002/04/18Chin-Kai Wu, CS, NTHU1 Jitter Control in QoS Network Yishay Mansour and Boaz Patt-Shamir IEEE/ACM TRANSACTIONS ON NETWORKING, VOL. 9, NO. 4,
Online Algorithms Motivation and Definitions Paging Problem Competitive Analysis Online Load Balancing.
CPSC 411, Fall 2008: Set 2 1 CPSC 311 Analysis of Algorithms Sorting Lower Bound Prof. Jennifer Welch Fall 2009.
Shortest Path With Negative Weights s 3 t
The k-server Problem Study Group: Randomized Algorithm Presented by Ray Lam August 16, 2003.
Building Edge-Failure Resilient Networks Chandra Chekuri Bell Labs Anupam Gupta Bell Labs ! CMU Amit Kumar Cornell ! Bell Labs Seffi Naor, Danny Raz Technion.
Ecole Polytechnique, Nov 11, List Scheduling on Related Machines processors Related machines: machines may have different speeds  0.25 
Sorting Lower Bound Andreas Klappenecker based on slides by Prof. Welch 1.
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Priority Models Sashka Davis University of California, San Diego June 1, 2003.
Inefficiency of equilibria, and potential games Computational game theory Spring 2008 Michal Feldman.
Online Function Tracking with Generalized Penalties Marcin Bieńkowski Institute of Computer Science, University of Wrocław, Poland Stefan Schmid Deutsche.
1 Distributed Computing Optical networks: switching cost and traffic grooming Shmuel Zaks ©
1 Distributed Computing Optical networks: switching cost and traffic grooming Shmuel Zaks ©
International Graduate School of Dynamic Intelligent Systems, University of Paderborn Improved Algorithms for Dynamic Page Migration Marcin Bieńkowski.
Competitive On-Line Admission Control and Routing By: Gabi Kliot Presentation version.
IP Restoration on WDM Optical Networks Hwajung Lee*, Hongsik Choi, Hyeong-Ah Choi The George Washington University Department of Computer Science.
Yossi Azar Tel Aviv University Joint work with Ilan Cohen Serving in the Dark 1.
Great Theoretical Ideas in Computer Science.
Department of Computer Science Stanley P. Y. Fung Online Preemptive Scheduling with Immediate Decision or Notification and Penalties.
First lecture in Mathematics
Competitive Queue Policies for Differentiated Services Seminar in Packet Networks1 Competitive Queue Policies for Differentiated Services William.
1 Combinatorial Algorithms Local Search. A local search algorithm starts with an arbitrary feasible solution to the problem, and then check if some small,
1 Distributed Computing Optical networks: switching cost and traffic grooming Shmuel Zaks ©
Testing the independence number of hypergraphs
Graph Colouring L09: Oct 10. This Lecture Graph coloring is another important problem in graph theory. It also has many applications, including the famous.
A Optimal On-line Algorithm for k Servers on Trees Author : Marek Chrobak Lawrence L. Larmore 報告人:羅正偉.
Frequency Capping in Online Advertising Moran Feldman Technion Joint work with: Niv Buchbinder,The Open University of Israel Arpita Ghosh,Yahoo! Research.
CS425: Algorithms for Web Scale Data Most of the slides are from the Mining of Massive Datasets book. These slides have been modified for CS425. The original.
CSCE 411H Design and Analysis of Algorithms Set 10: Lower Bounds Prof. Evdokia Nikolova* Spring 2013 CSCE 411H, Spring 2013: Set 10 1 * Slides adapted.
Non-Preemptive Buffer Management for Latency Sensitive Packets Moran Feldman Technion Seffi Naor Technion.
Matroids, Secretary Problems, and Online Mechanisms Nicole Immorlica, Microsoft Research Joint work with Robert Kleinberg and Moshe Babaioff.
Competitive Queueing Policies for QoS Switches Nir Andelman Yishay Mansour An Zhu TAUTAUStanford.
Tuesday, March 19 The Network Simplex Method for Solving the Minimum Cost Flow Problem Handouts: Lecture Notes Warning: there is a lot to the network.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
Rent, Lease or Buy: Randomized Algorithms for Multislope Ski Rental
CPSC 411 Design and Analysis of Algorithms
Exercise Exercise Proof that
Chapter 5. Optimal Matchings
CSCE 411 Design and Analysis of Algorithms
Dynamic and Online Algorithms for Set Cover
CS200: Algorithm Analysis
Renaming and Oriented Manifolds
A new and improved algorithm for online bin packing
Problem Solving 4.
CPSC 411 Design and Analysis of Algorithms
Clustering.
Presentation transcript:

 On-line problem  Input arrives one at a time, and a decision is made (and cannot be changed).  In the minADM problem: lightpaths arrive one at a time, and need to be colored.  Competitive analysis  An on-line algorithm A is c -competitive if A(I)  c OPT(I) for any input sequence I. (A(I) and OPT(I) are #ADMs used by A and by an optimal offline algorithm OPT.) 6.1 on-line

When a new path arrives: 1. if can close a cycle 2. if can extend a path 3. else - assign same color - assign a new color #ADMs=7 6.2 algorithm ALG

When a new path arrives: 1. if can close a cycle 2. if can extend a path 3. else - assign same color - assign a new color

Theorem: ALG is 7/4-competitive on any topology. This is optimal even for a ring. Theorem: ALG is 3/2-competitive on a path. This is optimal.

k paths k-1 spaces: x between same color k-1-x between different colors k=12 x=6 Theorem: ALG is 3/2-competitive on a path, and this is best possible competitive ratio. 1. Lower bound

So far: any algorithm uses 2k ADMs now – a short path at each gap of diffferent colors (k-1-x such gaps) Any algorithm uses at least one more ADM for each (ALG uses exactly one) So: any algorithm ≥ 2k + (k-1-x) ADMs k=12, x=6, =5

now – two long paths at each of the k gap of same color So far: use ≥ 2k + (k-1-x) ADMs Any algorithm must use 2 ADMs for each So: any algorithm ≥ 2k + (k-1-x) + 4x = = 3k+3x-1 ADMs

OPT: the short paths ≤ 2k ADMs for the long paths 2x ADMs any algorithm/OPT  3/2 – 1/(2k) We showed: any algorithm uses ≥ 3k+3x-1 ADMs OPT  2k + 2x

OPT saves x ADMs ALG saves y ADMs 2. Upper bound

Claim: OPT – max matching at each point ≤

For the proof choose a specific OPT. Recall that OPT can choose any matching at each node. savings of OPT which are not savings of ALG Y - savings of ALG which are also savings of OPT

a b a came before b c c map 1-1

savings of S (y) Savings of S* (x)

Theorem: ALG is 7/4-competitive on any topology. This is optimal even for a ring. 1. Lower bound

Case a: 7/4=1.75

Case b: Case b1: 6/3 = 2 Case b2: 5/3 = 1.67 any algorithm ≥ 1.67 any algorithm ≥ 1.75hw:

#ADMs = N + #chains N lightpaths cycles chains Recall: 2. Upper bound

D 0 (S) – lightpath not sharing any ADM D 1 (S) – lightpath sharing ONE ADM D 2 (S) – lightpath sharing BOTH ADMs d 0 (S) = 2 d 1 (S) = 4 d 2 (S) = 19 d 0 (S) + d 1 (S) + d 2 (S) = 25 = N N=25 lightpaths Consider a solution S

S – ALG, Solution S=chains + cycles #ADMs = N + #chains

We define: and get

D 0 (S) – lightpath not sharing any ADM D 1 (S) – lightpath sharing ONE ADM D 2 (S) – lightpath sharing BOTH ADMs d 0 (S) = 2 d 1 (S) = 4 d 2 (S) = 19 d 0 (S) + d 1 (S) + d 2 (S) = 25 = N N=25 lightpaths example #ADMs=29

d 0 (S) = 2 d 2 (S) = 19 N=25 suppose #chains(OPT)=2, cost(OPT)=25+2=27

Lemmas 1. cost(S) - cost(OPT) = = N/2 + (d 0 (S)-d 2 (S)-2|chains(OPT)|)/2 2. d 0 (S)  d 2 (S) + |chains(OPT)| + N/2 Combining, we have |cost(S)| - |cost(OPT)|  3N/4  3 |cost(S*)|/4 next slide previous slide Theorem: cost(S)  7cost(OPT)/4 Theorem: ALG is 7/4-competitive on any topology. This is optimal even for a ring.

Lemma 1 d 0 (S)  d 2 (S) + |chains(S*)| + N/2 orient S* for any u  D 0 (S) 1.if u is last in some chain of S*, map u to this chain 2.else i.u’  D 0 (S)contradiction ii.u’  D 1 (S)map u to {u, u’} iii.u’  D 2 (S)map u to u’ uu’ S*

orient S* for u  D 0 (S) 1.if u is last in some chain of S*, map u to this chain 2.else i.u’  D 0 (S)contradiction ii.u’  D 1 (S)map u to {u, u’} iii.u’  D 2 (S)map u to u’ uu’ S* d 0 (S)  d 2 (S) + chains(S*) + N/2