English

Approximations and Hardness of Packing Partially Ordered Items

Data Structures and Algorithms 2024-03-05 v1

Abstract

Motivated by applications in production planning and storage allocation in hierarchical databases, we initiate the study of covering partially ordered items (CPO). Given a capacity kZ+k \in \mathbb{Z}^+, and a directed graph G=(V,E)G=(V,E) where each vertex has a size in {0,1,,k}\{0,1, \ldots,k\}, we seek a collection of subsets of vertices S1,,SmS_1, \ldots, S_m that cover all the vertices, such that for any 1jm1 \leq j \leq m, the total size of vertices in SjS_j is bounded by kk, and there are no edges from VSjV \setminus S_j to SjS_j. The objective is to minimize the number of subsets mm. CPO is closely related to the rule caching problem (RCP) that is of wide interest in the networking area. The input for RCP is a directed graph G=(V,E)G=(V,E), a profit function p:VZ0+p:V \rightarrow \mathbb{Z}_{0}^+, and kZ+k \in \mathbb{Z}^+. The output is a subset SVS \subseteq V of maximum profit such that Sk|S| \leq k and there are no edges from VSV \setminus S to SS. Our main result is a 22-approximation algorithm for CPO on out-trees, complemented by an asymptotic 1.51.5-hardness of approximation result. We also give a two-way reduction between RCP and the densest kk-subhypergraph problem, surprisingly showing that the problems are equivalent w.r.t. polynomial-time approximation within any factor ρ1\rho \geq 1. This implies that RCP cannot be approximated within factor V1\eps|V|^{1-\eps} for any fixed \eps>0\eps>0, under standard complexity assumptions. Prior to this work, RCP was just known to be strongly NP-hard. We further show that there is no EPTAS for the special case of RCP where the profits are uniform, assuming Gap-ETH. Since this variant admits a PTAS, we essentially resolve the complexity status of this problem.

Keywords

Cite

@article{arxiv.2403.01568,
  title  = {Approximations and Hardness of Packing Partially Ordered Items},
  author = {Ilan Doron-Arad and Guy Kortsarz and Joseph Naor and Baruch Schieber and Hadas Shachnai},
  journal= {arXiv preprint arXiv:2403.01568},
  year   = {2024}
}
R2 v1 2026-06-28T15:07:38.651Z