Faster Algorithms for k-Subset Sum and Variations

12/08/2021
by   Antonis Antonopoulos, et al.
0

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 ⊆ Z, such that Σ(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 [Bell57] can solve the problem in O(n t^k) 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 Õ(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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/11/2022

Approximating Subset Sum Ratio via Subset Sum Computations

We present a new FPTAS for the Subset Sum Ratio problem, which, given a ...
research
03/27/2018

A Faster FPTAS for the Subset-Sums Ratio Problem

The Subset-Sums Ratio problem (SSR) is an optimization problem in which,...
research
05/24/2021

Efficient Reporting of Top-k Subset Sums

The "Subset Sum problem" is a very well-known NP-complete problem. In th...
research
02/21/2022

A Probabilistic Approach to The Perfect Sum Problem

The subset sum problem is known to be an NP-hard problem in the field of...
research
07/07/2018

New Algorithms for Subset Sum Problem

Given a set (or multiset) S of n numbers and a target number t, the subs...
research
03/14/2020

Approximation Schemes for Subset Sum Ratio Problems

We consider the Subset Sum Ratio Problem (SSR), in which given a set of ...
research
07/07/2018

The Universal and Practical Programming Code for Subset Sum Problem

Given a multiset S of n numbers and a target number t, the subset sum pr...

Please sign up or login with your details

Forgot password? Click here to reset