English

A novel and efficient algorithm to solve subset sum problem

Information Theory 2020-05-05 v2 math.IT

Abstract

In this paper we suggest analytical methods and associated algorithms for determining the sum of the subsets XmX_m of the set XnX_n (subset sum problem). Our algorithm has time complexity T=O(Cnk)T=O(C_{n}^{k}) (k=[m/2]k=[m/2], which significantly improves upon all known algorithms. This algorithm is applicable to all NP-complete problems. Moreover, the algorithm has memory complexity M=O(Cnk)M=O(C_n^k), which makes our algorithm applicable to real-world problems. At first, we show how to use the algorithm for small dimensions m=4,5,6,7,8m=4 ,5 ,6 ,7 ,8. After that we establish a general methodology for m>8m>8. The main idea is to split the original set XnX_n (the algorithm becomes even faster with sorted sets) into smaller subsets and use parallel computing. This approach might be a significant breakthrough towards finding an efficient solution to NPNP-complete problems. As a result, it opens a way to prove the PP versus NP problem (one of the seven Millennium Prize Problems).

Keywords

Cite

@article{arxiv.2003.06571,
  title  = {A novel and efficient algorithm to solve subset sum problem},
  author = {B. Sinchev and A. B. Sinchev and J. Akzhanova and A. M. Mukhanova and Y. Issekeshev},
  journal= {arXiv preprint arXiv:2003.06571},
  year   = {2020}
}

Comments

8 pages