New Algorithms for Subset Sum Problem

07/07/2018
by   Zhengjun Cao, et al.
0

Given a set (or multiset) S of n numbers and a target number t, the subset sum problem is to decide if there is a subset of S that sums up to t. There are several methods for solving this problem, including exhaustive search, divide-and-conquer method, and Bellman's dynamic programming method. However, none of them could generate universal and light code. In this paper, we present a new deterministic algorithm based on a novel data arrangement, which could generate such code and return all solutions. If n is small enough, it is efficient for usual purpose. We also present a probabilistic version with one-sided error and a greedy algorithm which could generate a solution with minimized variance.

READ FULL TEXT

page 1

page 2

page 3

page 4

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...
research
07/22/2018

Subset Sum Made Simple

Subset Sum is a classical optimization problem taught to undergraduates ...
research
12/08/2021

Faster Algorithms for k-Subset Sum and Variations

We present new, faster pseudopolynomial time algorithms for the k-Subset...
research
01/28/2022

Solving a percolation inverse problem with a divide-and-concur algorithm

We present a percolation inverse problem for diode networks: Given infor...
research
03/11/1999

A complete anytime algorithm for balanced number partitioning

Given a set of numbers, the balanced partioning problem is to divide the...
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
03/20/2022

Subset Sum in O(n^16log(n))

This extensive revision of my paper "Description of an O(poly(n)) Algori...

Please sign up or login with your details

Forgot password? Click here to reset