A Tight (3/2+ε) Approximation for Skewed Strip Packing

Waldo Gálvez, Fabrizio Grandoni, Afrouz Jabal Ameli, Klaus Jansen, Arindam Khan, Malin Rau

TL;DR

This paper tackles the classic Strip Packing problem, aiming to minimize the height of packed rectangles within a fixed-width strip. The authors achieve a near-optimal approximation ratio of (3/2 + ε) for a specific, yet challenging, subset of instances called "skewed" instances, bringing us closer to a long-standing goal in the field.

What Problem Does This Paper Address?

The Strip Packing problem is about efficiently fitting a collection of rectangular items into a long, narrow strip of fixed width. Imagine trying to cut pieces from a roll of material – you want to minimize the length of the roll used. This problem is fundamental and has applications in manufacturing, resource allocation, and even energy management in smart grids.

The challenge is that Strip Packing is NP-hard, meaning finding the absolute best packing is computationally infeasible for large inputs. Researchers have been working on approximation algorithms that guarantee a solution close to optimal. While the best known general approximation is (5/3 + ε), it's widely believed that a (3/2 + ε) approximation should be possible. However, achieving this for all cases is difficult. This paper focuses on a specific type of instance: "skewed" instances. In these instances, all rectangles are "small" relative to both the strip's width and the optimal packing's height. This "skewed" property retains much of the problem's complexity, making it a crucial stepping stone towards a general solution.

Methods

The paper introduces a sophisticated algorithm that builds upon existing techniques in geometric packing. Key elements include:

  • Container-Based Packing: The core idea is to divide the strip into a small, constant number of rectangular "containers." The algorithm then uses specialized packing strategies for each container type:
  • Vertical/Horizontal Containers: For packing rectangles that are either tall and narrow or short and wide, these containers are used to pack items in a straightforward manner (e.g., side-by-side or stacked).
  • ε-Area Containers: These containers are designed for rectangles that are "small" in both dimensions relative to the container's size. The Next Fit Decreasing Height (NFDH) algorithm is employed here, a standard subroutine in packing problems.
  • Linear Grouping: A technique used to transform rectangles into "slices" (either horizontal or vertical) to simplify structural analysis and packing.
  • Structural Decomposition: The algorithm first decomposes the problem into packing "tall" rectangles (T) and "skewed" rectangles (Shslice) into a structured set of boxes. Then, it incorporates the remaining "vertical" rectangles (Vuslice) into the leftover space.
  • Guessing Container Sizes: The algorithm relies on the ability to "guess" the sizes and positions of these containers in polynomial time, a common strategy in approximation algorithms for packing.
  • Rounding and Approximation: The algorithm uses parameters like ε to control the trade-off between packing quality and computational complexity. It leverages existing approximation algorithms (like a PTAS for the Generalized Assignment Problem) and carefully analyzes the wasted space to ensure the overall approximation ratio.

Datasets

Not discussed in the paper. The paper focuses on theoretical algorithm design and analysis for a general problem class, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • The (3/2 + ε) Barrier is Achievable for Skewed Instances: The most significant insight is demonstrating that a near-optimal (3/2 + ε) approximation is possible for the "skewed" subset of Strip Packing instances. This suggests that the complexity of the general problem might stem from the interaction between "large" and "skewed" rectangles.
  • Structured Packing is Key: The algorithm's success hinges on a clever decomposition of the problem into packing different types of rectangles into specific container structures. This structured approach allows for precise control over wasted space.
  • Leveraging Free Space: A critical technical novelty is the guarantee of leaving a sufficiently large "free box" of a specific size (ε²W × OPT). This free space is essential for incorporating the remaining rectangles without significantly increasing the overall height.
  • The Importance of "Skewed" Instances: By focusing on skewed instances, the authors isolate a core difficulty of the general problem, providing a pathway to understanding and potentially solving the broader challenge.

Key Results

  • Approximation Ratio: The paper presents a polynomial-time algorithm that achieves an approximation ratio of (3 + O(ε)) for d-skewed Strip Packing instances, where d is a small constant. The authors note that this can be further refined to (3/2 + O(ε)) with careful parameter tuning and by considering the initial rounding of OPT.
  • Number of Containers: The algorithm uses a constant number of containers (O(ε⁻¹)).
  • Container Size Computation: The sizes of these containers can be computed in polynomial time.
  • Hardness Result: The paper also proves that a (3 - ε) approximation is not possible for d-skewed Strip Packing unless P=NP, reinforcing the tightness of their (3/2 + ε) result.

Limitations and Future Work

  • Skewed Instances Only: The primary limitation is that the main result applies only to "skewed" instances. The interaction between "large" and "skewed" rectangles in the general Strip Packing problem remains a significant obstacle.
  • Constant Factors: While the asymptotic approximation ratio is (3/2 + ε), the constant factors hidden within the O(ε) notation might be large in practice.
  • Future Work: The authors explicitly state that their work makes progress towards a (3/2 + ε) approximation for the general Strip Packing problem. Future research will likely focus on bridging the gap between their skewed instance result and the general case, potentially by developing new techniques to handle the interaction between large and skewed rectangles.

Summary updated

Abstract

In the Strip Packing problem, we are given a vertical half-strip [0,W]× [0,+∞) and a collection of open rectangles of width at most W. Our goal is to find an axis-aligned (non-overlapping) packing of such rectangles into the strip such that the maximum height OPT spanned by the packing is as small as possible. Strip Packing generalizes classical well-studied problems such as Makespan Minimization on identical machines (when rectangle widths are identical) and Bin Packing (when rectangle heights are identical). It has applications in manufacturing, scheduling and energy consumption in smart grids among others. It is NP-hard to approximate this problem within a factor (3/2-ε) for any constant ε > 0 by a simple reduction from the Partition problem. The current best approximation factor for Strip Packing is (5/3+ε) by Harren et al. [Computational Geometry '14], and it is achieved with a fairly complex algorithm and analysis. It seems plausible that Strip Packing admits a (3/2+ε)-approximation. We make progress in that direction by achieving such tight approximation guarantees for a special family of instances, which we call skewed instances. As standard in the area, for a given constant parameter δ > 0, we call large the rectangles with width at least δ W and height at least δ OPT, and skewed the remaining rectangles. If all the rectangles in the input are large, then one can easily compute the optimal packing in polynomial time (since the input can contain only a constant number of rectangles). We consider the complementary case where all the rectangles are skewed. This second case retains a large part of the complexity of the original problem; in particular, it is NP-hard to approximate within a factor (3/2-ε) and we provide an (almost) tight (3/2+ε)-approximation algorithm.
BibTeX
@inproceedings{galvez2020tight,
  author = {Waldo Gálvez and Fabrizio Grandoni and Afrouz Jabal Ameli and Klaus Jansen and Arindam Khan and Malin Rau},
  title = {{A Tight (3/2+ε) Approximation for Skewed Strip Packing}},
  booktitle = {APPROX-RANDOM},
  year = {2020},
  url = {https://openreview.net/forum?id=irZSkBRTfl},
}
Figure