English

Improved Approximation Algorithms for 2-Dimensional Knapsack: Packing into Multiple L-Shapes, Spirals, and More

Computational Geometry 2021-03-19 v1 Data Structures and Algorithms

Abstract

In the \textsc{2-Dimensional Knapsack} problem (2DK) we are given a square knapsack and a collection of nn rectangular items with integer sizes and profits. Our goal is to find the most profitable subset of items that can be packed non-overlappingly into the knapsack. The currently best known polynomial-time approximation factor for 2DK is 17/9+ε<1.8917/9+\varepsilon<1.89 and there is a (3/2+ε)(3/2+\varepsilon)-approximation algorithm if we are allowed to rotate items by 90 degrees~{[}G\'alvez et al., FOCS 2017{]}. In this paper, we give (4/3+ε)(4/3+\varepsilon)-approximation algorithms in polynomial time for both cases, assuming that all input data are {integers polynomially bounded in nn}. G\'alvez et al.'s algorithm for 2DK partitions the knapsack into a constant number of rectangular regions plus \emph{one} L-shaped region and packs items into those {in a structured way}. We generalize this approach by allowing up to a \emph{constant} number of {\emph{more general}} regions that can have the shape of an L, a U, a Z, a spiral, and more, and therefore obtain an improved approximation ratio. {In particular, we present an algorithm that computes the essentially optimal structured packing into these regions. }

Keywords

Cite

@article{arxiv.2103.10406,
  title  = {Improved Approximation Algorithms for 2-Dimensional Knapsack: Packing into Multiple L-Shapes, Spirals, and More},
  author = {Waldo Gálvez and Fabrizio Grandoni and Arindam Khan and Diego Ramírez-Romero and Andreas Wiese},
  journal= {arXiv preprint arXiv:2103.10406},
  year   = {2021}
}
R2 v1 2026-06-24T00:19:39.077Z