A Fast Heuristic Algorithm for Solving High-Density Subset-Sum Problems
Author(s) -
Akash Nag
Publication year - 2017
Publication title -
international journal of mathematical sciences and computing
Language(s) - English
Resource type - Journals
eISSN - 2310-9033
pISSN - 2310-9025
DOI - 10.5815/ijmsc.2017.02.05
Subject(s) - subset sum problem , knapsack problem , heuristic , continuous knapsack problem , integer (computer science) , set (abstract data type) , computer science , time complexity , cryptosystem , algorithm , integer programming , basis (linear algebra) , mathematics , discrete mathematics , mathematical optimization , cryptography , geometry , programming language
The subset sum problem is to decide whether for a given set of integers A and an integer S, a possible subset of A exists such that the sum of its elements is equal to S. The problem of determining whether such a subset exists is NP-complete; which is the basis for cryptosystems of knapsack type. In this paper a fast heuristic algorithm is proposed for solving subset sum problems in pseudo-polynomial time. Extensive computational evidence suggests that the algorithm almost always finds a solution to the problem when one exists. The runtime performance of the algorithm is also analyzed.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom