Faster algorithms for k-subset sum and variations

被引:3
|
作者
Antonopoulos, Antonis [1 ]
Pagourtzis, Aris [1 ]
Petsalakis, Stavros [1 ]
Vasilakis, Manolis [1 ]
机构
[1] Natl Tech Univ Athens, Sch Elect & Comp Engn, Athens 15780, Greece
关键词
Color coding; FFT; k-Subset Sum; Multiple Knapsack; Multiple Subset Sum; Pseudopolynomial algorithms; Subset Sum;
D O I
10.1007/s10878-022-00928-0
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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), ... , t(k), determine whether there exist k disjoint subsets Z(1), ... , Z(k) subset of Z, such that E(Z(i)) = t(i), for i = 1, ... , k. Assuming 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(nt(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 (SIC)(n(k/(k+1))t(k)) and a randomised one of (SIC)(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.
引用
收藏
页数:21
相关论文
共 50 条
  • [31] A WEIGHTED K-SUBSET LOAD BALANCING ALGORITHM FOR DISTRIBUTED SLEE IN NEXT GENERATION NETWORK
    Zhao, Yao
    Yang, Fangchun
    Bai, Dongwei
    2006 FIRST INTERNATIONAL CONFERENCE ON COMMUNICATIONS AND NETWORKING IN CHINA, 2006,
  • [32] Privacy-Utility Trade-off of k-subset Mechanism<bold> </bold>
    Zhou, Yihui
    Song, Guangchen
    Liu, Hai
    Lu, Laifeng
    2018 INTERNATIONAL CONFERENCE ON NETWORKING AND NETWORK APPLICATIONS (NANA), 2018, : 212 - 217
  • [33] Equal-Subset-Sum Faster Than the Meet-in-the-Middle
    Mucha, Marcin
    Nederlof, Jesper
    Pawlewicz, Jakub
    Wegrzycki, Karol
    27TH ANNUAL EUROPEAN SYMPOSIUM ON ALGORITHMS (ESA 2019), 2019, 144
  • [34] FAST APPROXIMATION ALGORITHMS FOR KNAPSACK AND SUM OF SUBSET PROBLEMS
    IBARRA, OH
    KIM, CE
    JOURNAL OF THE ACM, 1975, 22 (04) : 463 - 468
  • [35] Learning-augmented algorithms for online subset sum
    Xu, Chenyang
    Zhang, Guochuan
    JOURNAL OF GLOBAL OPTIMIZATION, 2023, 87 (2-4) : 989 - 1008
  • [36] Learning-augmented algorithms for online subset sum
    Chenyang Xu
    Guochuan Zhang
    Journal of Global Optimization, 2023, 87 : 989 - 1008
  • [37] Fast low-space algorithms for subset sum
    Jin, Ce
    Vyas, Nikhil
    Williams, Ryan
    arXiv, 2020,
  • [38] Complexity and algorithms for finding a subset of vectors with the longest sum
    Shenmaier, Vladimir
    THEORETICAL COMPUTER SCIENCE, 2020, 818 : 60 - 73
  • [39] Complexity and Algorithms for Finding a Subset of Vectors with the Longest Sum
    Shenmaier, Vladimir
    COMPUTING AND COMBINATORICS, COCOON 2017, 2017, 10392 : 469 - 480
  • [40] Quantum Algorithms of the Subset-sum Problem on a Quantum Computer
    Chang, Weng-Long
    Ren, Ting-Ting
    Feng, Mang
    Lu, Lai Chin
    Lin, Kawuu Weicheng
    Guo, Minyi
    2009 WASE INTERNATIONAL CONFERENCE ON INFORMATION ENGINEERING, ICIE 2009, VOL II, 2009, : 54 - +