A tale of 2-dimensional (Guillotine) bin packing Nikhil Bansal (IBM) Andrea Lodi (Univ. of Bologna, Italy) Maxim Sviridenko (IBM)

Slides:



Advertisements
Similar presentations
On allocations that maximize fairness Uriel Feige Microsoft Research and Weizmann Institute.
Advertisements

Approximation algorithms for geometric intersection graphs.
Submodular Set Function Maximization via the Multilinear Relaxation & Dependent Rounding Chandra Chekuri Univ. of Illinois, Urbana-Champaign.
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.
Poly-Logarithmic Approximation for EDP with Congestion 2
Generalization and Specialization of Kernelization Daniel Lokshtanov.
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.
Combinatorial Algorithms
Polynomial Time Approximation Schemes Presented By: Leonid Barenboim Roee Weisbert.
Online Social Networks and Media. Graph partitioning The general problem – Input: a graph G=(V,E) edge (u,v) denotes similarity between u and v weighted.
PTAS for Bin-Packing. Special Cases of Bin Packing 1. All item sizes smaller than Claim 1: Proof: If then So assume Therefore:
June 3, 2015Windows Scheduling Problems for Broadcast System 1 Amotz Bar-Noy, and Richard E. Ladner Presented by Qiaosheng Shi.
Parameterized Approximation Scheme for the Multiple Knapsack Problem Yan Lu Klaus Jansen SODA 2009 CPSC669 Term Project—Paper Reading.
Max-Min Fair Allocation of Indivisible Goods Amin Saberi Stanford University Joint work with Arash Asadpour TexPoint fonts used in EMF. Read the TexPoint.
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.
Totally Unimodular Matrices Lecture 11: Feb 23 Simplex Algorithm Elliposid Algorithm.
1 Introduction to Linear and Integer Programming Lecture 9: Feb 14.
Approximation Algorithm: Iterative Rounding Lecture 15: March 9.
AT&T Labs1 The Sensor Cover Problem Alon Efrat (U. Arizona) Adam Buchsbaum (AT&T Labs) Shaili Jain (Harvard) Suresh Venkatasubramanian (AT&T Labs) Ke Yi.
ISPDC 2007, Hagenberg, Austria, 5-8 July On Grid-based Matrix Partitioning for Networks of Heterogeneous Processors Alexey Lastovetsky School of.
Analysis of Algorithms CS 477/677
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.
Approximation Algorithms for MAX-MIN tiling Authors Piotr Berman, Bhaskar DasGupta, S. Muthukrishman S. Muthukrishman Published on Journal of Algorithms,
Spatial Indexing I Point Access Methods. Spatial Indexing Point Access Methods (PAMs) vs Spatial Access Methods (SAMs) PAM: index only point data Hierarchical.
(work appeared in SODA 10’) Yuk Hei Chan (Tom)
Approximation Algorithms Motivation and Definitions TSP Vertex Cover Scheduling.
Finding Almost-Perfect
Approximation Algorithms: Bristol Summer School 2008 Seffi Naor Computer Science Dept. Technion Haifa, Israel TexPoint fonts used in EMF. Read the TexPoint.
Improved results for a memory allocation problem Rob van Stee University of Karlsruhe Germany Leah Epstein University of Haifa Israel WADS 2007 WAOA 2007.
Minimizing Makespan and Preemption Costs on a System of Uniform Machines Hadas Shachnai Bell Labs and The Technion IIT Tami Tamir Univ. of Washington Gerhard.
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)
 Optimal Packing of High- Precision Rectangles By Eric Huang & Richard E. Korf 25 th AAAI Conference, 2011 Florida Institute of Technology CSE 5694 Robotics.
V. V. Vazirani. Approximation Algorithms Chapters 3 & 22
Round and Approx: A technique for packing problems Nikhil Bansal (IBM Watson) Maxim Sviridenko (IBM Watson) Alberto Caprara (U. Bologna, Italy)
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.
1 Introduction to Approximation Algorithms. 2 NP-completeness Do your best then.
Approximation schemes Scheduling problems. Polynomial Time Approximation Scheme (PTAS) Let Π be a minimization problem. An approximation scheme for problem.
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)
Approximation Algorithms
Speaker: Yoni Rozenshein Instructor: Prof. Zeev Nutov.
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
Princeton University COS 423 Theory of Algorithms Spring 2001 Kevin Wayne Approximation Algorithms These lecture slides are adapted from CLRS.
0 Weight Annealing Heuristics for Solving Bin Packing Problems Kok-Hua Loh University of Maryland Bruce Golden University of Maryland Edward Wasil American.
On the Approximability of Geometric and Geographic Generalization and the Min- Max Bin Covering Problem Michael T. Goodrich Dept. of Computer Science joint.
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Column Generation By Soumitra Pal Under the guidance of Prof. A. G. Ranade.
1/19 Minimizing weighted completion time with precedence constraints Nikhil Bansal (IBM) Subhash Khot (NYU)
A Optimal On-line Algorithm for k Servers on Trees Author : Marek Chrobak Lawrence L. Larmore 報告人:羅正偉.
Log Truck Scheduling Problem
New algorithms for Disjoint Paths and Routing Problems
LIMITATIONS OF ALGORITHM POWER
The full Steiner tree problem Theoretical Computer Science 306 (2003) C. L. Lu, C. Y. Tang, R. C. T. Lee Reporter: Cheng-Chung Li 2004/06/28.
A Unified Continuous Greedy Algorithm for Submodular Maximization Moran Feldman Roy SchwartzJoseph (Seffi) Naor Technion – Israel Institute of Technology.
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.
Feb 23, 2010 University of Liverpool Minimizing Total Busy Time in Parallel Scheduling with Application to Optical Networks Michele Flammini – University.
TU/e Algorithms (2IL15) – Lecture 11 1 Approximation Algorithms.
8.3.2 Constant Distance Approximations
Lap Chi Lau we will only use slides 4 to 19
Topics in Algorithms Lap Chi Lau.
Chart Packing Heuristic
Hamiltonian Cycle and TSP
Coverage Approximation Algorithms
Richard Anderson Lecture 28 Coping with NP-Completeness
ICS 353: Design and Analysis of Algorithms
The Theory of NP-Completeness
Guess Free Maximization of Submodular and Linear Sums
Presentation transcript:

A tale of 2-dimensional (Guillotine) bin packing Nikhil Bansal (IBM) Andrea Lodi (Univ. of Bologna, Italy) Maxim Sviridenko (IBM)

2-d bin Packing Problem Given: Collection of rectangles (by height, width) Goal : Pack in min # of unit square bins  Rectangles parallel to bin edges  Cannot be rotated Rectangles Bins

Many Applications  Cloth cutting, steel cutting, wood cutting  Truck Loading  Placing ads in newspapers  Memory allocation in paging systems  …

Guillotine Bin Packing Guillotine Cut: Edge to Edge cut across a bin

Guillotine Bin Packing Guillotine Cut: Edge to Edge cut across a bin k-stage Guillotine Packing [Gilmore, Gomory] k recursive levels of guillotine cuts to recover all items stage 4-stage

Non-guillotine Packing

Motivation for Guillotine Packings Practical constraint (simplicity of cutting tool) Many heuristics are “small” stage packing algorithms Many column generation techniques Nice combinatorial properties (2-stage: Shelf Packing) Shelf Packing

Asymptotic approximation ratio 1-d Packing: Cannot distinguish in poly time if need 2 or 3 bins (Partition Problem) Asymptotic Approximation ratio (  ): If Alg (I) ·  ¢ Opt(I) + O(1) Asymptotic PTAS: If Alg(I) · (1+  ) Opt(I) + f(  )

Previous Work on APTASes 1-d Packing: (1+  ) Opt + 1 [de La Vega, Lueker 81] Strip Packing: APTAS [Kenyon, Remila 96] Square Packing: APTAS [B, Sviridenko 04] [ Correa, Kenyon 04] General 2-d Packing: No APTAS [B, Sviridenko 04] 2-stage (or Shelf) Packing: APTAS [Caprara, Lodi, Monaci 05] Shelf Packing

Our Result APTAS for arbitrary 2-d guillotine packing 1) Approximate with O(1) stage packing 2) APTAS for O(1) stage packing. Bit surprising as no APTAS for general 2-d packing. A large stage guillotine packing

Talk outline APTAS for 1-d packing APTAS for square packing APTAS for strip packing Why no APTAS for general 2-d packing ? Our algorithm and analysis Grouping and rounding Fractional packing Size classification

1-d: Rounding to simple instance Partition big into O(1) groups, with equal objects 0 1  0 1  I’ I... I’ ¸ I

1-d: Rounding to a simpler instance Partition big into O(1) groups, with equal objects 0 1  0 1  I’ I... I’ ¸ I I’ – { } · I I’ ¼ I I’ can be solved optimally

Filling in smalls Take solution on bigs. Fill in smalls (i.e. <  ) greedily. 1) If no more bins need, already optimum. 2) If yes, every bin (except maybe 1) filled to 1-  Alg(I) · Size(I)/(1-  ) +1 · Opt/(1-  ) +1

Strip Packing (Cutting Stock) Given rectangles (height · 1, width · 1) Strip: Width 1, infinite height Place rectangles (no rotation) to minimize height

Strip Packing Kenyon Remila 96: (1+  ) Opt + 1/  2 Key insight: Can split a rectangle arbitrarily along the height Individual height does not matter width cumulative height

Square Packing: (Small, big) not enough 0 1 I Various square sizes Identical to 1-d case: Round bigs, easy to solve exactly Problem: Not clear how to pack small in gaps without waste? Small, medium and big

General 2-d Packing Packing with arbitrary rectangles 1.698… [Caprara 02] No APTAS (from 3D Matching) [B., Sviridenko 04] 01 1no order width height Each item has unique identity Bin packs well if and only if the “right” items chosen

Guillotine Packing Arbitrary -> O(1) stage packings [Transformation Procedure] APTAS for O(1) stage packings. [ Rounding relies on Opt’s structure]

Size Classification H V B S Big: Width > , Height >  Horizontal: Width > , Height <<  Vertical: Height > , Width <<  Rest medium: O(  ) area, ignored Ignore smalls Allow V and H to be fractionally packed (individual identities not so important) V H  <<  medium

Transformation procedure (Idea) If only bigs (i.e. (h,w) >  ) -> depth < 1/ , degree < 1/  If high depth or degree, lots of regions corresponding to V or H Since fractional (structure does not matter), can prune the tree Guillotine Tree: Leaf = object, Interior node = region

APTAS for O(1) stage packing Lemma: Almost Opt solution with O(1) different types of regions. Do not know Opt, but can guess regions from a polynomially large set. k=O(1) possible types of guillotine trees (O(1) stage, O(1) degree, O(1) different regions) Guess n 1, n 2, …, n k : number of each tree type used. Matching rectangles to leaves in the trees Make V, H integral. Packing S (smalls) suitably.

Constant number of region types Apply 1-d rounding recursively on regions Round heights of shelves (width irrelevant) There is an almost Opt solution with O(1) different region types

Concluding Remarks Extensions: 90 degree rotations are allowed (using ideas of Van Stee, Jansen 05) Running time: n raised to a huge tower of 1/  ’s Can the algorithm be made practical? Can use to improve guarantee for general 2-d packing? 1.698… [Caprara 02] Best known gap between guillotine and general is 4/3 ?

Questions ?