The subset sum problem, also referred as SSP, is a NP-Hard computational problem. SSP has its applications in broad domains like cryptography, number theory, operation research and complexity theory. The most famous algorithm for solving SSP is Backtracking Algorithm which has exponential time complexity. Therefore, our goal is to design and develop better alternate enumeration techniques for faster generation of SSP solutions. Given the set of first n natural numbers which is denoted by Xn and a target sum S, we propose various alternate enumeration techniques which find all the subsets of Xn that add up to sum S.
In this paper, we present the mathematics behind this exponential problem. We analyze the distribution of power set of Xn and present formulas which show definite patterns and relations among these subsets. We introduce three major distributions for power set of Xn: Sum Distribution, Length-Sum Distribution and Element Distribution. These distributions are prepossessing procedures for various alternate enumeration techniques for solving SSP. We propose novel algorithms: Subset Generation using Sum Distribution, Subset Generation using Length-Sum Distribution, Basic Bucket Algorithm, Maximum and Minimum Frequency Driven Bucket Algorithms and Local Search using Maximal and Minimal Subsets for enumerating SSP.
We compare the performance of these approaches against the traditional backtracking algorithm. The efficiency and effectiveness of these algorithms are presented with the help of these experimental results. Furthermore, we studied the over solution set of subsets generated by various algorithms to get the complete solution for subset sum problem. Finally, we present a conjecture about upper bound on the number of subsets that has to be enumerated to get all solutions for Subset Sum Problem.
Alternating Local Enumeration (TnALE): Solving Tensor Network Structure Search with Fewer Evaluations
RIKEN-AIP(理化学研究所先进智能项目中心);Guangdong University of Technology(广东工业大学);Harbin Engineering University(哈尔滨工程大学);WASEDA University(早稻田大学);Instituto Argentino de Radioastronomía(阿根廷射电天文研究所)
Polynomial Delay Algorithm for Listing Minimal Edge Dominating sets in Graphs
在输出多项式时间内,即在时间多项式内,计算超图的所有最小断面,即超图的最小断面的长度和最小断面的累积长度,是一个有50年历史的公开问题,迄今为止,很少有超图类的例子能解决这个问题.一个图的最小支配集是它的顶点集的一个子集,它与每个顶点的闭邻域都有一个非空的交。文[M. M. Kanté,V. Limouzy,A.玛丽湖Nourine,On the Enumeration of Minimal Dominating Sets and Related Notions,In Revision 2014]指出图中最小控制集的计数和超图中最小断面的计数是两个等价的问题。希望这种等价性可以帮助在transmittance问题中获得新的见解,很自然地查看图类内部。在[Golovach et al. - ICALP 2013]和[Kanté et al. - ISAAC 2012]中独立地并使用不同的技术证明了图中的最小边控制集(即线图中的最小控制集)可以在增量输出多项式时间中枚举。我们提供了第一个多项式延迟和多项式空间算法,该算法列出了图中的所有最小边控制集,回答了[Golovach et al. - ICALP 2013]的一个公开问题。除了结果,我们希望所使用的技术,是一个著名的Berge算法的修改和线图的结构的强有力的使用的混合,是非常感兴趣的,可以用来得到新的输出-多项式时间算法。