Emergent Mind

Faster Algorithms for $k$-Subset Sum and Variations

(2112.04244)
Published Dec 8, 2021 in cs.DS

Abstract

We present new, faster pseudopolynomial time algorithms for the $k$-Subset Sum problem, defined as follows: given a set $Z$ of $n$ positive integers and $k$ targets $t1, \ldots, tk$, determine whether there exist $k$ disjoint subsets $Z1,\dots,Zk \subseteq Z$, such that $\Sigma(Zi) = ti$, for $i = 1, \ldots, k$. Assuming $t = \max { t1, \ldots, tk }$ is the maximum among the given targets, a standard dynamic programming approach based on Bellman's algorithm [Bell57] can solve the problem in $O(n tk)$ time. We build upon recent advances on Subset Sum due to Koiliaris and Xu [Koil19] and Bringmann [Brin17] in order to provide faster algorithms for $k$-Subset Sum. We devise two algorithms: a deterministic one of time complexity $\tilde{O}(n{k / (k+1)} tk)$ and a randomised one of $\tilde{O}(n + tk)$ complexity. Additionally, we show how these algorithms can be modified in order to incorporate cardinality constraints enforced on the solution subsets. We further demonstrate how these algorithms can be used in order to cope with variations of $k$-Subset Sum, namely Subset Sum Ratio, $k$-Subset Sum Ratio and Multiple Subset Sum.

We're not able to analyze this paper right now due to high demand.

Please check back later (sorry!).

Generate a summary of this paper on our Pro plan:

We ran into a problem analyzing this paper.

Newsletter

Get summaries of trending comp sci papers delivered straight to your inbox:

Unsubscribe anytime.