English

On the Fine-Grained Complexity of the Unbounded SubsetSum and the Frobenius Problem

Data Structures and Algorithms 2021-08-13 v1 Computational Complexity

Abstract

Consider positive integral solutions xZn+1x \in \mathbb{Z}^{n+1} to the equation a0x0++anxn=ta_0 x_0 + \ldots + a_n x_n = t. In the so called unbounded subset sum problem, the objective is to decide whether such a solution exists, whereas in the Frobenius problem, the objective is to compute the largest tt such that there is no such solution. In this paper we study the algorithmic complexity of the unbounded subset sum, the Frobenius problem and a generalization of the problems. More precisely, we study pseudo-polynomial time algorithms with a running time that depends on the smallest number a0a_0 or respectively the largest number ana_n. For the parameter a0a_0, we show that all considered problems are subquadratically equivalent to (min,+)(min,+)-convolution, a fundamental algorithmic problem from the area of fine-grained complexity. By this equivalence, we obtain hardness results for the considered problems (based on the assumption that an algorithm with a subquadratic running time for (min,+)(min,+)-convolution does not exist) as well as algorithms with improved running time. The proof for the equivalence makes use of structural properties of solutions, a technique that was developed in the area of integer programming. In case of the complexity of the problems parameterized by ana_n, we present improved algorithms. For example we give a quasi linear time algorithm for the Frobenius problem as well as a hardness result based on the strong exponential time hypothesis.

Keywords

Cite

@article{arxiv.2108.05581,
  title  = {On the Fine-Grained Complexity of the Unbounded SubsetSum and the Frobenius Problem},
  author = {Kim-Manuel Klein},
  journal= {arXiv preprint arXiv:2108.05581},
  year   = {2021}
}

Comments

19 pages, 2 figures