Approximation Algorithms for Demand Strip Packing

Waldo Gálvez, Fabrizio Grandoni, Afrouz Jabal Ameli, Kamyar Khodamoradi

TL;DR

This paper tackles the Demand Strip Packing (DSP) problem, aiming to minimize peak resource consumption when scheduling tasks with processing times and resource demands. The authors present a novel $(5/3 + \epsilon)$-approximation algorithm, improving upon previous bounds and offering a more efficient analysis. They also achieve state-of-the-art results for specific cases, including a $(3/2)$-approximation for SQUARE-DSP.

What Problem Does This Paper Address?

Imagine you have a set of tasks, each needing a certain amount of time to complete and a specific amount of a resource (like electricity or bandwidth) while it's running. You need to schedule these tasks within a given time frame, and your goal is to minimize the peak demand for that resource at any single point in time. This is the essence of the Demand Strip Packing (DSP) problem.

This problem is a bit like packing rectangles into a strip, but with a crucial difference: the "rectangles" (tasks) don't need to be packed geometrically without overlap. Instead, we only care about the total resource demand at any given time. This relaxation makes DSP distinct from the more studied Geometric Strip Packing (GSP) problem, and it means that solutions for GSP don't directly translate to DSP. The paper addresses the challenge of finding efficient algorithms for DSP, especially given its known NP-hardness for approximation below a factor of 3/2.

Methods

The authors introduce a sophisticated approximation algorithm for DSP. Their approach involves several key steps:

  • Task Classification: Tasks are categorized based on their height (demand) and width (processing time) relative to the optimal solution's peak demand (OPT) and the total time interval (W). This classification helps in handling different types of tasks strategically.
  • Container-based Scheduling: They use a "container-based" approach, where groups of tasks are packed into artificial "containers." These containers are then scheduled, and this schedule induces a schedule for the original tasks. This technique is inspired by recent work in related packing problems.
  • Left-Pushing: A core technique is "left-pushing," where tasks are shifted as far left as possible without violating certain peak constraints. This operation helps to structure the demand profile, making subsequent scheduling easier.
  • Generalization of Lemma 6: The paper extends a known lemma (Lemma 6) for scheduling tasks into a (Q, t*)-sorted schedule framework. This generalization is crucial for handling the structured demand profiles created by left-pushing.
  • Handling Special Cases: For specific scenarios like tasks with small demands (short tasks) or square tasks (SQUARE-DSP), they develop tailored algorithms and achieve improved approximation ratios.

The analysis is noted as being substantially simpler than previous approaches for related problems like GSP.

Datasets

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

Key Insights and Ideas

  • DSP vs. GSP Distinction: The paper emphasizes that DSP is fundamentally different from GSP due to the lack of geometric packing constraints. This distinction is crucial for developing specialized algorithms and understanding the problem's complexity.
  • Structured Demand Profiles: The concept of "demand profile" and the technique of "left-pushing" are central. By strategically manipulating these profiles, the authors create structures that simplify the scheduling of remaining tasks.
  • Containerization as a Tool: Using containers to group and schedule tasks is a powerful abstraction that allows for more manageable analysis and algorithmic design.
  • Importance of Task Classification: The careful classification of tasks based on their dimensions relative to OPT and W is key to developing a unified approach that handles different task types effectively.
  • Achieving Near-Optimal Ratios: The paper demonstrates that it's possible to get very close to the optimal solution (within a factor of 5/3 + ε) for DSP, which is a significant theoretical achievement.

Key Results

  • Main Result: A polynomial-time deterministic $(5/3 + \epsilon)$-approximation algorithm for the Demand Strip Packing (DSP) problem for any constant $\epsilon > 0$. This improves upon the previously known 2-approximation.
  • Special Cases:
    • A $(1 + O(\epsilon))$-approximate solution for DSP instances where task heights are bounded by $\delta \cdot OPT$ (for a suitably chosen $\delta$).
  • A deterministic polynomial-time $3/2$-approximation algorithm for SQUARE-DSP (where task height equals width).
  • Gap Instances: The paper provides examples (Figure 1) illustrating that DSP can achieve better solutions than GSP for certain instances, highlighting the importance of DSP-specific algorithms.

Limitations and Future Work

  • Assumption of Known OPT: The main $(5/3 + \epsilon)$-approximation algorithm assumes that the optimal value OPT is known. The authors mention that this assumption can be dropped by approximately guessing OPT, which would introduce an additional $(1 + \epsilon)$ factor in the approximation ratio.
  • Theoretical Focus: The paper is primarily theoretical, focusing on algorithmic design and approximation guarantees. Empirical evaluation on real-world instances or comparisons with existing heuristics are not discussed.
  • Future Work: The paper suggests that further research could explore online versions of DSP, variants with additional constraints (like time windows), and more general cost functions. The techniques developed here could potentially be extended to these related problems.

Summary updated

BibTeX
@inproceedings{galvez2021approximation,
  author = {Waldo Gálvez and Fabrizio Grandoni and Afrouz Jabal Ameli and Kamyar Khodamoradi},
  title = {{Approximation Algorithms for Demand Strip Packing}},
  booktitle = {APPROX-RANDOM},
  year = {2021},
  doi = {10.4230/lipics.approx/random.2021.20},
}
Figure