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 $$t_1, \ldots , t_k$$ t 1 , … , t k , determine whether there exist k disjoint subsets $$Z_1,\dots ,Z_k \subseteq Z$$ Z 1 , ⋯ , Z k ⊆ Z , such that $$\Sigma (Z_i) = t_i$$ Σ ( Z i ) = t i , for $$i = 1, \ldots , k$$ i = 1 , … , k . Assuming $$t = \max \{ t_1, \ldots , t_k \}$$ t = max { t 1 , … , t k } is the maximum among the given targets, a standard dynamic programming approach based on Bellman’s algorithm can solve the problem in $$O(n t^k)$$ O ( n t k ) time. We build upon recent advances on Subset Sum due to Koiliaris and Xu, as well as Bringmann, 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)} t^k)$$ O ~ ( n k / ( k + 1 ) t k ) and a randomised one of $${\tilde{O}}(n + t^k)$$ O ~ ( n + t k ) 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 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, . . . , t k , determine whether there exist k disjoint subsets Z1, . . . , Z k ⊆ Z, such that Σ(Zi) = ti, for i = 1, . . . , k. Assuming t = max{t1, . . . , t k } is the maximum among the given targets, a standard dynamic programming approach based on Bellman's algorithm [3] can solve the problem in O(nt k ) time. We build upon recent advances on Subset Sum due to Koiliaris and Xu [17] and Bringmann [4] in order to provide faster algorithms for k-Subset Sum. We devise two algorithms: a deterministic one of time complexity Õ(n k/(k+1) t k ) and a randomised one of Õ(n + t k ) 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.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
customersupport@researchsolutions.com
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
Copyright © 2025 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.