Interval packing problem Multicommodity demand flow in a line Jian Li Sep. 2005.

Slides:



Advertisements
Similar presentations
Iterative Rounding and Iterative Relaxation
Advertisements

Triangle partition problem Jian Li Sep,2005.  Proposed by Redstar in Algorithm board in Fudan BBS.  Motivated by some network design strategy.
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Incremental Linear Programming Linear programming involves finding a solution to the constraints, one that maximizes the given linear function of variables.
Minimum Vertex Cover in Rectangle Graphs
C&O 355 Lecture 23 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Approximation Algorithms Chapter 14: Rounding Applied to Set Cover.
Introduction to Algorithms
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Linear Programming and Approximation
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
Approximation Algorithms
Network Optimization Models: Maximum Flow Problems In this handout: The problem statement Solving by linear programming Augmenting path algorithm.
CISS Princeton, March Optimization via Communication Networks Matthew Andrews Alcatel-Lucent Bell Labs.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Maximum and Minimum Values (Section 3.1)
Lecture 8. Why do we need residual networks? Residual networks allow one to reverse flows if necessary. If we have taken a bad path then residual networks.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
1 Ford-Fulkerson method Ford-Fulkerson(G) f = 0 while( 9 simple path p from s to t in G f ) f := f + f p output f Runs in time O(|f max | |E|) where f.
1 The Min Cost Flow Problem. 2 The Min Cost Flow problem We want to talk about multi-source, multi-sink flows than just “flows from s to t”. We want to.
Approximation Algorithms
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
1 Distributed Computing Optical networks: switching cost and traffic grooming Shmuel Zaks ©
LP-Based Algorithms for Capacitated Facility Location Hyung-Chan An EPFL July 29, 2013 Joint work with Mohit Singh and Ola Svensson.
1 Approximation Through Scaling Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij.
APPROXIMATION ALGORITHMS VERTEX COVER – MAX CUT PROBLEMS
Design Techniques for Approximation Algorithms and Approximation Classes.
Approximating Minimum Bounded Degree Spanning Tree (MBDST) Mohit Singh and Lap Chi Lau “Approximating Minimum Bounded DegreeApproximating Minimum Bounded.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
1 CS612 Algorithms for Electronic Design Automation CS 612 – Lecture 8 Lecture 8 Network Flow Based Modeling Mustafa Ozdal Computer Engineering Department,
Distributed Algorithms Rajmohan Rajaraman Northeastern University, Boston May 2012 Chennai Network Optimization WorkshopDistributed Algorithms1.
Primal-Dual Algorithms for Connected Facility Location Chaitanya SwamyAmit Kumar Cornell University.
LP-Based Algorithms for Capacitated Facility Location Hyung-Chan An EPFL July 29, 2013 Joint work with Mohit Singh and Ola Svensson.
Approximation Algorithms
Minimizing Stall Time in Single Disk Susanne Albers, Naveen Garg, Stefano Leonardi, Carsten Witt Presented by Ruibin Xu.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Flows in Planar Graphs Hadi Mahzarnia. Outline O Introduction O Planar single commodity flow O Multicommodity flows for C 1 O Feasibility O Algorithm.
CS223 Advanced Data Structures and Algorithms 1 Maximum Flow Neil Tang 3/30/2010.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
1 CS612 Algorithms for Electronic Design Automation CS 612 – Lecture 8 Lecture 8 Network Flow Based Modeling Mustafa Ozdal Computer Engineering Department,
1 Approximation algorithms Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij TexPoint fonts used in EMF. Read the TexPoint manual.
Problems in Combinatorial Optimization. Linear Programming.
Approximation Algorithms Duality My T. UF.
Approximation Algorithms based on linear programming.
::Network Optimization:: Minimum Spanning Trees and Clustering Taufik Djatna, Dr.Eng. 1.
Maximum Flow c v 3/3 4/6 1/1 4/7 t s 3/3 w 1/9 3/5 1/1 3/5 u z 2/2
Finding a Path With Largest Smallest Edge
Graph Algorithms Minimum Spanning Tree (Chap 23)
Vertex Cover, Dominating set, Clique, Independent set
Chapter 5. Optimal Matchings
Computability and Complexity
1.3 Modeling with exponentially many constr.
Network Flow 2016/04/12.
Maximum Flow c v 3/3 4/6 1/1 4/7 t s 3/3 w 1/9 3/5 1/1 3/5 u z 2/2
Integer Programming (정수계획법)
1.3 Modeling with exponentially many constr.
Richard Anderson Autumn 2016 Lecture 7
Integer Programming (정수계획법)
EE5900 Advanced Embedded System For Smart Infrastructure
Maximum Flow c v 3/3 4/6 1/1 4/7 t s 3/3 w 1/9 3/5 1/1 3/5 u z 2/2
Winter 2019 Lecture 11 Minimum Spanning Trees (Part II)
Autumn 2019 Lecture 11 Minimum Spanning Trees (Part II)
Presentation transcript:

Interval packing problem Multicommodity demand flow in a line Jian Li Sep. 2005

Interval packing problem  Input:  1) A set I of n intervals, I 1, I 2,..., I n, with each I i = [l i, r i ] and having a THICKNESS (or HEIGHT) h i, such that l i and r i are all integers in {1,2,..., n} and h i is an integer > 0  2) n-1 CAPACITY constraints c i, with each c i located at the point p i = (i + 1/2, 0) on the x-axis, for every i = 1,2,..., n-1, such that each c i is an integer > 0. We may call each p i a thickness constrained point  Output:  The MAXIMUM NUMBER of intervals in I such that at each thickness constrained point p i = (i + 1/2, 0), the sum of thickness values of all output intervals that contain p i is less then c i.

 In fact, it is a special case of the multicommodity demand flow problem

Multicommodity demand flow problem  T=(V,E,u) be a capacitated network, where each edge capacity u e is an integer.  A number of demand vertices pairs (s i,t i ) with demand value d i and profit w i  GOAL: simultaneously route the demand flow without violating the capacity constraints and maximize the profit.  NOTE: di must be fully satisfied to obtain a profit wi

Interval packing problem can be modeled as multicommodity flow problem in a line.

LP formulation max  i w i x i  i:e2 path(i) d i x i · u e x i =0,1

Some special case  All capacities are one.  All demand are one.  The problem is exactly to compute a independent set in a interval graph, which is in P.

 Algorithm:  Sort intervals according their left endpoints.  Use the reverse order to greedy construct the independent set. (reverse perfect elimination order)

Some special case.  the problem can be formulated as the following min-cost flow problems.  There are n vertice, namely v1,v2,…..,vn, and arcs from vi to v(i+1) with capacity u i and cost zero and arc from vn to v1 with capacity +infinity and cost zero.  For every interval I i, there is a arc from v(r i ) to v(l i ) with capacity d i and cost -1/d i (we call it back- arc).

Capacity=u i, cost=-1/d i

Some special case  However, the min cost circulation may not give the correct answer, because in the original problem only in case that the back-arc are saturated(flow=capacity) can incur a cost 1. So we can treat it as the relax of the original problem. In fact it solve the relaxed LP of the original problem.  Moreover, if all d i is one, then this special case can be solved optimally in polytime.

Some special case  if the number of intervals passing p i is bounded( less than a constant C), then we can solve the problem optimally by standard dynamic programming technique.

Small and Large demand  Bottleneck capacity b(f): the smallest capacity edge on Path(f)   -large demand: d(f)¸  b(f)  Otherwise,  -small

Bounding large demand  Lemma:  If d max · u min (a wild assumption)in a feasible solution, the number of  -large demands that cross any edge is at most 2(1/  2 )  So, we can use DP to solve the case with only large task optimally.

Bounding large demand  Proof of the lemma:  Fix a feasible solution S, consider an edge e.  Let S e be the set of all  -large demand cross e.  S e =S l [ S r, where S l is the set where its bottleneck is to the left of e(including e), and S r otherwise. SlSl e SrSr

Bounding large demand  Proof Cont.  We can show S l <=1/  2 (similar for S r )  Let A be the set of bottleneck edge for S l. Let e’ be the rightmost one in A. Suppose e’ is the bottleneck edge for demand I j, thus d j >  c(e’). But all demands in S l pass through e’(since e’ is rightmost one). But each demand I k is  -large. d k ¸  b k ¸  c min.   c min S l · c(e’), thus  S l · |c(e’)/  c min | · |d i /  2 c min | · 1/  2 \QED

 Suppose we have a  -approximation algorithm for the case where only small demands exist.  Then we choose the larger one from the optimal solution for large demand and approximation solution for small demand  We get 2  approximation for original problem OPT<=OPT large +OPT small <=SOL large +  SOL small <=2max{SOL large +  SOL small } <= 2  max{SOL large + SOL small }

Dealing with Small demands  Randomized rounding: G.Calineascu et IPCO2002 for uniform capacity. (1+e)-approx. A.Chakrabarti et APPROX2002 for general case. O(1)-approx.  Packing integer program C.Chekuri et ICALP2003 for general case. (1+e)-approx.