Faster Approximation Schemes for the Two-Dimensional Knapsack Problem

Heydrich S.; Wiese A.

Abstract

For geometric optimization problems we often understand the computational complexity on a rough scale, but not very well on a finer scale. One example is the two-dimensional knapsack problem for squares. There is a polynomial time (1 + epsilon)-approximation algorithm for it (i.e., a PTAS) but the running time of this algorithm is triple exponential in 1/epsilon, i.e., Omega(n(221/epsilon)). A double or triple exponential dependence on 1/epsilon is inherent in how this and other algorithms for other geometric problems work. In this article, we present an efficient PTAS (EPTAS) for knapsack for squares, i.e., a (1 + epsilon)-approximation algorithm with a running time of O-epsilon(1) . n(O(1)). In particular, the exponent of n in the running time does not depend on e at all! Since there can be no fully polynomial time approximation scheme (FPTAS) for the problem (unless P = NP), this is the best kind of approximation scheme we can hope for. To achieve this improvement, we introduce two new key ideas: We present a fast method to guess the Omega(2(2)(1/)(epsilon)) relatively large squares of a suitable near-optimal packing instead of using brute-force enumeration. Secondly, we introduce an indirect guessing framework to define sizes of cells for the remaining squares. In the previous PTAS, each of these steps needs a running time of Omega(n(221/epsilon)) and we improve both to O-epsilon(1) . n(O(1)). We complete our result by giving an algorithm for two-dimensional knapsack for rectangles under (1 + epsilon)-resource augmentation.We improve the previous double-exponential PTAS to an EPTAS and compute even a solution with optimal weight, while the previous PTAS computes only an approximation.

Más información

Título según WOS: Faster Approximation Schemes for the Two-Dimensional Knapsack Problem
Título según SCOPUS: Faster approximation schemes for the two-dimensional knapsack problem
Título de la Revista: ACM Transactions on Algorithms
Volumen: 15
Número: 4
Editorial: ASSOC COMPUTING MACHINERY
Fecha de publicación: 2019
Idioma: English
DOI:

10.1145/3338512

Notas: ISI, SCOPUS