Round and Approx: A technique for packing problems Nikhil Bansal (IBM Watson) Maxim Sviridenko (IBM Watson) Alberto Caprara (U. Bologna, Italy)

Slides:



Advertisements
Similar presentations
Submodular Set Function Maximization via the Multilinear Relaxation & Dependent Rounding Chandra Chekuri Univ. of Illinois, Urbana-Champaign.
Advertisements

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.
Approximating Maximum Subgraphs Without Short Cycles Guy Kortsarz Join work with Michael Langberg and Zeev Nutov.
1 of 56 Linear Programming-Based Approximation Algorithms Shoshana Neuburger Graduate Center, CUNY May 13, 2009.
1/17 Optimal Long Test with One Free Bit Nikhil Bansal (IBM) Subhash Khot (NYU)
The Stackelberg Minimum Spanning Tree Game Jean Cardinal · Erik D. Demaine · Samuel Fiorini · Gwenaël Joret · Stefan Langerman · Ilan Newman · OrenWeimann.
PTAS for Bin-Packing. Special Cases of Bin Packing 1. All item sizes smaller than Claim 1: Proof: If then So assume Therefore:
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computational problems, algorithms, runtime, hardness
Max-Min Fair Allocation of Indivisible Goods Amin Saberi Stanford University Joint work with Arash Asadpour TexPoint fonts used in EMF. Read the TexPoint.
Instructor Neelima Gupta Table of Contents Lp –rounding Dual Fitting LP-Duality.
Bin Packing With Fragile Objects Nikhil Bansal (CMU) Joint with Zhen Liu (IBM) & Arvind Sankar(MIT)
Parameterized Approximation Scheme for the Multiple Knapsack Problem by Klaus Jansen (SODA’09) Speaker: Yue Wang 04/14/2009.
Linear Programming and Approximation
1 Optimization problems such as MAXSAT, MIN NODE COVER, MAX INDEPENDENT SET, MAX CLIQUE, MIN SET COVER, TSP, KNAPSACK, BINPACKING do not have a polynomial.
Polynomial time approximation scheme Lecture 17: Mar 13.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Integer Programming Difference from linear programming –Variables x i must take on integral values, not real values Lots of interesting problems can be.
Distributed Combinatorial Optimization
Linear Programming – Max Flow – Min Cut Orgad Keller.
1 Introduction to Approximation Algorithms Lecture 15: Mar 5.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
Packing Element-Disjoint Steiner Trees Mohammad R. Salavatipour Department of Computing Science University of Alberta Joint with Joseph Cheriyan Department.
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
Minimizing Flow Time on Multiple Machines Nikhil Bansal IBM Research, T.J. Watson.
A tale of 2-dimensional (Guillotine) bin packing Nikhil Bansal (IBM) Andrea Lodi (Univ. of Bologna, Italy) Maxim Sviridenko (IBM)
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
1/24 Algorithms for Generalized Caching Nikhil Bansal IBM Research Niv Buchbinder Open Univ. Israel Seffi Naor Technion.
1 The Santa Claus Problem (Maximizing the minimum load on unrelated machines) Nikhil Bansal (IBM) Maxim Sviridenko (IBM)
LP-based Algorithms for Capacitated Facility Location Chaitanya Swamy Joint work with Retsef Levi and David Shmoys Cornell University.
The Theory of NP-Completeness 1. Nondeterministic algorithms A nondeterminstic algorithm consists of phase 1: guessing phase 2: checking If the checking.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Approximation Algorithms for NP-hard Combinatorial Problems Magnús M. Halldórsson Reykjavik University
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
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.
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
Chapter 15 Approximation Algorithm Introduction Basic Definition Difference Bounds Relative Performance Bounds Polynomial approximation Schemes Fully Polynomial.
Packing Rectangles into Bins Nikhil Bansal (CMU) Joint with Maxim Sviridenko (IBM)
The Simplex Algorithm 虞台文 大同大學資工所 智慧型多媒體研究室. Content Basic Feasible Solutions The Geometry of Linear Programs Moving From Bfs to Bfs Organization of a.
1/19 Minimizing weighted completion time with precedence constraints Nikhil Bansal (IBM) Subhash Khot (NYU)
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
New algorithms for Disjoint Paths and Routing Problems
Lecture.6. Table of Contents Lp –rounding Dual Fitting LP-Duality.
Minimizing Response time in Broadcast Scheduling Nikhil Bansal Don Coppersmith and Maxim Sviridenko.
CPS Computational problems, algorithms, runtime, hardness (a ridiculously brief introduction to theoretical computer science) Vincent Conitzer.
The bin packing problem. For n objects with sizes s 1, …, s n where 0 < s i ≤1, find the smallest number of bins with capacity one, such that n objects.
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.
1 Approximation Algorithms for Generalized Scheduling Problems Ravishankar Krishnaswamy Carnegie Mellon University joint work with Nikhil Bansal, Anupam.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Approximation Algorithms based on linear programming.
Lap Chi Lau we will only use slides 4 to 19
Topics in Algorithms Lap Chi Lau.
Chart Packing Heuristic
Maximum Matching in the Online Batch-Arrival Model
Computability and Complexity
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
The Subset Sum Game Revisited
Polyhedron Here, we derive a representation of polyhedron and see the properties of the generators. We also see how to identify the generators. The results.
Coverage Approximation Algorithms
Richard Anderson Lecture 28 Coping with NP-Completeness
Linear Programming and Approximation
Linear Programming Duality, Reductions, and Bipartite Matching
PTAS for Bin-Packing.
On Approximating Covering Integer Programs
Approximation Algorithm
Presentation transcript:

Round and Approx: A technique for packing problems Nikhil Bansal (IBM Watson) Maxim Sviridenko (IBM Watson) Alberto Caprara (U. Bologna, Italy)

Problems Bin Packing: Given n items, sizes s 1,…,s n, s.t. 0 < s i · 1. Pack all items in least number of unit size bins. D-dim Bin Packing (with & without rotations)

Problems d-dim Vector Packing: Each item d-dim vector. Packing valid if each co-ordinate wise sum · 1 Set Cover: Items i 1, …, i n Sets C 1,…,C m. Choose fewest sets s.t. each item covered. All three bin packing problems, can be viewed as set cover. Sets implicit: Any subset of items that fit feasibly in a bin. Valid Invalid Bin: machine with d resources Item: job with resource requiremts.

Short history of bin-packing Bin Packing: NP-Hard if need 2 or 3 bins? (Partition Prob.) Does not rule out Opt + 1 Asymptotic  approximation:  OPT + O(1) Several constant factors in 60-70’s APTAS: For every  >0, (1+  ) Opt + O(1) [de la Vega, Leuker 81] Opt + O(log 2 OPT) [Karmarkar Karp 82] Outstanding open question: Can we get Opt + 1 No worse integrality gap for a natural LP known

Short history of bin-packing 2-d Bin Packing: APTAS ) P=NP [B, Sviridenko 04] Best Result: Without rotations: 1.691… [Caprara 02] With rotations: 2 [Jansen, van Stee 05] d-dim Vector Packing: No APTAS for d=2 [Woeginger 97] Best Result: O(log d) for constant d [Chekuri Khanna 99] If d part of input, d 1/2 -  ) P=NP Best for d=2 is 2 approx.

Our Results 1) 2-d Bin Packing : ln = 1.52 Both with and without rotations (previously & 2) 2) d-Dim Vector Packing: 1 + ln d (for constant d) For d=2: get 1+ ln 2 = (previously 2)

General Theorem Given a packing problem, items i 1,…,i n 1) If can solve set covering LP min  C x C s.t.  C: i 2 C x C ¸ 1 8 items i 2)  approximation : Subset Oblivious Then (ln  + 1) approximation d subset oblivious approximation for vector packing algorithm of Caprara for 2d bin packing is subset ob. Give subset ob. approx for rotation case (new)

Subset Oblivious Algorithms Given an instance I, with n items  (I) = all 1’s vector  S) incidence vector for subset of items S. There exist k weight (n - dim) vectors w 1, w 2,…,w k For every subset of items S µ I, and  > 0 1) OPT (I) ¸ max i ( w i ¢  (I) ) 2) Alg (S) ·  max i (w i ¢  (S)) +  OPT(I) + O(1)

An (easy) example Any-Fit Bin Packing algorithm: Consider items one by one. If current item does not fit in any existing bin, put it in a brand new bin. No two bins filled · 1/2 (implies ALG · 2 OPT + 1 ) Also a subset oblivious 2 approx K=1: w(i) = s i (size of item i) 1) OPT(I) ¸  i 2 I s i = w ¢  (I) [Volume Bound] 2) Alg(S) · 2 w ¢  (S) + 1 [ # bins · 2 ( total volume of S) + 1 ]

Non-Trivial Example Asymptotic approx scheme of de la Vega, Leuker For any  > 0, Alg · (1+  ) OPT + O(1/  2 ) We will show it is subset oblivious

1-d: Algorithm 0 1 I

0 1 I  bigs

1-d: Algorithm Partition bigs into 1/  2 = O(1) groups, with equal objects 0 1  0 1  I’ I... I’ ¸ I

1-d: Algorithm Partition bigs into 1/  2 = O(1) groups, with equal objects 0 1  0 1  I’ I... I’ ¸ I I’ – { } · I I’ ¼ I I’ has only O(1/  2 ) distinct sizes

LP for the big items 1/  2 items types. Let n i denote # of items of type i in instance. LP: min  C x C s.t.  C a i,C x C ¸ n i 8 size types i C indexes valid sets (at most (1/  2 ) (1/  ) ) a i,C number of type i items in set C At most 1/  2 variables non-zero. Rounding: x ! d x e Solution (big) · Opt (big) + 1/  2

Filling in smalls Take solution on bigs. Fill in smalls (i.e. <  ) greedily. 1)If no more bins need, already optimum. 2)If needed, every bin (except maybe one) filled to 1-  Alg(I) · Volume(I)/(1-  ) +1 · Opt/(1-  ) +1 We will now show this is a subset oblivious algorithm !

Subset Obliviousness LP: min x C  C a i,C x C ¸ n i 8 item types i Dual: max n i w i  i a i,C w i · 1 for each set C If consider dual for subset of items S Dual: max |type i items in S| w i  i a i,C w i · 1 for each set C Dual polytope independent of S: Only affects objective function.

Subset Obliviousness LP: min x C  C a i,C x C ¸ n i 8 item types i Dual: max n i w i  i a i,C w i · 1 for each set C. Define vector W v for each vertex of polytope (O(1) vertices) LP * (S) = max v W v ¢  (S) (LP Duality) Alg(S) · LP * (S) + 1/  2 = max v W v ¢  (S) + 1/  2 Opt(I) ¸ LP(I) = max v W v ¢  (I) Handling smalls: Another vector w, where w(i) = s i

General Algorithm Theorem: Can get ln  + 1 approximation, if 1) Can solve set covering LP 2)  approximate subset oblivious alg. Algorithm: Solve set covering LP, get soln x *. Randomized Rounding with parameter  > 0, i.e. choose set C independently with prob  x C * Residual instance: Apply subset oblivious  approx.

Proof of General Theorem After randomized rounding, Prob. element i left uncovered · e -  Pf: Prob =  C: i 2 C (1-  x C ) · e -  ( as  C: i 2 C x C ¸ 1 ) E ( w i ¢  (S)) · e -  w i ¢  (I) w i ¢  (S) sharply concentrated (variance small: proof omitted) max i (w i ¢  (S)) ¼ e -  max i (w i ¢  (I) ) · e -  OPT(I) But subset oblivious  algorithm implies Alg(S) ·  max i (w i ¢  (S)) ·  e -  OPT(I)

Proof of General Algorithm Expected cost = Randomized Rounding + Residual instance cost ¼  LP cost +  e -  Opt Gives  +  e -  approximation Optimizing , gives 1 + ln  approx.

Wrapping up d-dim vector packing: Partition Instance I into d parts I 1,…,I d I j consists of items for which j th dim is largest Solving I j is just a bin packing problem 1+  for bin packing gives d+  subset oblivious algorithm 2-d bin Packing: Harder Framework for incorporating structural info. into set cover. Other Problems?

Questions?