Faster algorithms for k-subset sum and variations
Antonis Antonopoulos (),
Aris Pagourtzis (),
Stavros Petsalakis () and
Manolis Vasilakis ()
Additional contact information
Antonis Antonopoulos: National Technical University of Athens
Aris Pagourtzis: National Technical University of Athens
Stavros Petsalakis: National Technical University of Athens
Manolis Vasilakis: National Technical University of Athens
Journal of Combinatorial Optimization, 2023, vol. 45, issue 1, No 2, 21 pages
Abstract:
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 $$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.
Keywords: Color coding; FFT; k-Subset Sum; Multiple Knapsack; Multiple Subset Sum; Pseudopolynomial algorithms; Subset Sum (search for similar items in EconPapers)
Date: 2023
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
http://link.springer.com/10.1007/s10878-022-00928-0 Abstract (text/html)
Access to the full text of the articles in this series is restricted.
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:spr:jcomop:v:45:y:2023:i:1:d:10.1007_s10878-022-00928-0
Ordering information: This journal article can be ordered from
https://www.springer.com/journal/10878
DOI: 10.1007/s10878-022-00928-0
Access Statistics for this article
Journal of Combinatorial Optimization is currently edited by Thai, My T.
More articles in Journal of Combinatorial Optimization from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().