A Polynomial-Time Algorithm for Special Cases of the Unbounded Subset-Sum Problem
Abstract
The Unbounded Subset-Sum Problem (USSP) is defined as: given sum and a set of integers output a set of non-negative integers such that . The USSP is an NP-complete problem that does not have any known polynomial-time solution. There is a pseudo-polynomial algorithm for the USSP problem with time complexity and memory complexity, where is the smallest element of \cite{PH}. This algorithm is polynomial in term of the number of inputs, but exponential in the size of . Therefore, this solution is impractical for the large-scale problems. In this paper, first we propose an efficient polynomial-time algorithm with computational complexity for solving the specific case of the USSP where , 's are the elements of a small subset of in which of its elements divides and . Second, we present another algorithm for smaller values of with computational complexity that finds the answer for some inputs with a probability between to . Its success probability is directly related to the number of subsets of in which of their elements divides . This algorithm can solve the USSP problem with large inputs in the polynomial-time, no matter how big inputs are, but, in some special cases where is small, it cannot find the answer.
Cite
@article{arxiv.2103.09080,
title = {A Polynomial-Time Algorithm for Special Cases of the Unbounded Subset-Sum Problem},
author = {Majid Salimi and Hamid Mala},
journal= {arXiv preprint arXiv:2103.09080},
year = {2021}
}
Comments
19 pages