子集和中的算法结构:确定性界内导航与计数复杂度分野
Algorithmic Structure in Subset Sum: Deterministic In-Bound Navigation and the Counting Complexity Divide
AI总结:
针对子集和问题,本文提出一种具备输入鲁棒性与结构自适应性的确定性界内解空间导航算法,分析了假阳性等性能影响因素,探讨了其向NP/NP完全问题的推广潜力,揭示了判定与计数复杂度的非平凡关联,并提供了可复现的C++实现。
摘要:
本文提出一种探索子集和问题(Subset Sum Problem)解空间的确定性算法方法。该算法具备输入鲁棒性与结构自适应性,其探索过程受引导并向解空间中可能存在解的区域(即界内解空间)收敛,跳过所有不可能存在解的区域。遗憾的是,这一机制可能产生假阳性:那些被提示可能存在解、但最终被证实无法导向解的路径。因此,算法所导航的界内解空间可能仅包含假阳性、仅包含真解,或二者混合,这会以不同方式影响算法性能。随后,本文详细阐述了针对不同实例探索界内解空间所面临的挑战。此外,本文还说明该算法经适当调整后,如何可实际推广至其他NP/NP完全问题。文中对向k-SAT和一般CNF-SAT的推广进行了入门级讨论,详尽细节将留待后续论文呈现。本文不满足P与NP问题的证明要求,也未声称解决该问题;不过,它对P与NP问题具有启示意义,并通过该算法提供了一个审视其可行范畴的实用视角。该算法的可行性边界揭示了判定复杂度与计数复杂度之间的非平凡关联。为便于轻松复现,本文附上了该算法的完整C++实现代码。
英文摘要:
This paper presents a deterministic algorithmic approach of exploring the solution space of the Subset Sum Problem. The algorithm presented is input-robust and structurally adaptive. Exploration is guided and narrows into areas in the solution space where solutions are possible, referred to as in-bound solution space, skipping all areas where solutions are impossible. Unfortunately, this can lead to false positives: paths that are hinted to potential have solutions but ultimately realized to not lead to solutions. The in-bound solution space navigated can therefore be filled with only false positives, only true solutions or a mix of the two, affecting the algorithm's performance in different ways. We then detail the challenges of exploring the in-bound solution space for different instances. Further, we show how this algorithm may practically generalize to other NP/NP-complete problems with appropriate adaptation. An introductory discussion is done on this generalization to k-SAT and general CNF-SAT, deferring extensive detail to a follow-up paper. This paper does not satisfy P vs NP proof requirements and does not claim to resolve the problem. However, it has implications for the P vs NP and offers a practical lens through the algorithm of what is feasible with it. The feasibility bounds of the algorithm reveal a nontrivial relationship between decision and counting complexity. To facilitate easy reproducibility, we include in the paper a full C++ implementation of the algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。