English

Approximation Schemes and Structural Barriers for the Two-Dimensional Knapsack Problem with Rotations

Data Structures and Algorithms 2026-03-27 v2 Computational Geometry

Abstract

We study the two-dimensional (geometric) knapsack problem with rotations (2DKR), in which we are given a square knapsack and a set of rectangles with associated profits. The objective is to find a maximum profit subset of rectangles that can be packed without overlap in an axis-aligned manner, possibly by rotating some rectangles by 9090^{\circ}. The best-known polynomial time algorithm for the problem has an approximation ratio of 3/2+ϵ3/2+\epsilon for any constant ϵ>0\epsilon>0, with an improvement to 4/3+ϵ4/3+\epsilon in the cardinality case, due to G{\'a}lvez et al. (FOCS 2017, TALG 2021). Obtaining a PTAS for the problem, even in the cardinality case, has remained a major open question in the setting of multidimensional packing problems, as mentioned in the survey by Christensen et al. (Computer Science Review, 2017). In this paper, we present a PTAS for the cardinality case of 2DKR. In contrast to the setting without rotations, we show that there are (1+ϵ)(1+\epsilon)-approximate solutions in which all items are packed greedily inside a constant number of rectangular {\em containers}. Our result is based on a new resource contraction lemma, which might be of independent interest. In contrast, for the general weighted case, we prove that this simple type of packing is not sufficient to obtain a better approximation ratio than 1.51.5. However, we break this structural barrier and design a (1.497+ϵ)(1.497+\epsilon)-approximation algorithm for 2DKR in the weighted case. Our arguments also improve the best-known approximation ratio for the (weighted) case {\em without rotations} to 13/7+ϵ1.857+ϵ13/7+\epsilon \approx 1.857+\epsilon. Finally, we establish a lower bound of nΩ(1/ϵ)n^{\Omega(1/\epsilon)} on the running time of any (1+ϵ)(1+\epsilon)-approximation algorithm for our problem with or without rotations -- even in the cardinality setting, assuming the kk-\textsc{Sum} Conjecture.

Keywords

Cite

@article{arxiv.2603.23970,
  title  = {Approximation Schemes and Structural Barriers for the Two-Dimensional Knapsack Problem with Rotations},
  author = {Debajyoti Kar and Arindam Khan and Andreas Wiese},
  journal= {arXiv preprint arXiv:2603.23970},
  year   = {2026}
}
R2 v1 2026-07-01T11:36:47.658Z