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 条
  • [41] Two linear approximation algorithms for the subset-sum problem
    Kellerer, H
    Mansini, R
    Speranza, MG
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2000, 120 (02) : 289 - 296
  • [42] On Near-Linear-Time Algorithms for Dense Subset Sum
    Bringmann, Karl
    Wellnitz, Philip
    PROCEEDINGS OF THE 2021 ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2021, : 1777 - 1796
  • [43] Faster algorithms for string matching with k mismatches
    Amir, A
    Lewenstein, M
    Porat, E
    PROCEEDINGS OF THE ELEVENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2000, : 794 - 803
  • [44] Faster Combinatorial k-Clique Algorithms
    Abboud, Amir
    Fischer, Nick
    Shechter, Yarin
    LATIN 2024: THEORETICAL INFORMATICS, PT I, 2024, 14578 : 193 - 206
  • [45] Faster algorithms for orienteering and k-TSP
    Gottlieb, Lee-Ad
    Krauthgamer, Robert
    Rika, Havana
    THEORETICAL COMPUTER SCIENCE, 2022, 914 : 73 - 83
  • [46] Faster algorithms for string matching with k mismatches
    Amir, A
    Lewenstein, M
    Porat, E
    JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2004, 50 (02): : 257 - 275
  • [47] Faster algorithms for k-medians in trees
    Benkoczi, R
    Bhattacharya, B
    Chrobak, M
    Larmore, LL
    Rytter, W
    MATHEMATICAL FOUNDATIONS OF COMPUTER SCIENCE 2003, PROCEEDINGS, 2003, 2747 : 218 - 227
  • [48] A BRIEF ANALYSIS OF EVOLUTIONARY ALGORITHMS FOR THE DYNAMIC MULTIOBJECTIVE SUBSET SUM PROBLEM
    Comsa, Iulia
    Grosan, Crina
    Yang, Shengxiang
    KEPT 2011: KNOWLEDGE ENGINEERING PRINCIPLES AND TECHNIQUES, 2011, : 177 - 184
  • [49] Approximating Subset Sum Ratio via Subset Sum Computations
    Alonistiotis, Giannis
    Antonopoulos, Antonis
    Melissinos, Nikolaos
    Pagourtzis, Aris
    Petsalakis, Stavros
    Vasilakis, Manolis
    COMBINATORIAL ALGORITHMS (IWOCA 2022), 2022, 13270 : 73 - 85
  • [50] Faster Algorithms for the Constrained k-Means Problem
    Bhattacharya, Anup
    Jaiswal, Ragesh
    Kumar, Amit
    33RD SYMPOSIUM ON THEORETICAL ASPECTS OF COMPUTER SCIENCE (STACS 2016), 2016, 47