arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2107.14080cond-mat.stat-mechcs.DSmath-phmath.MPmath.OC
收藏

背包问题的大 W 极限

Large W limit of the knapsack problem

Mobolaji Williams

AI总结:

本文将背包问题表述为统计物理系统,通过计算配分函数推导出三种算法,揭示了动态规划解的极大权重约束极限会导致贪婪解,并讨论了形式体系的扩展。

摘要:

我们将背包问题(KP)表述为一个统计物理系统,并计算相应的配分函数作为复平面上的积分。引入的形式体系使我们能够为 KP 推导出三种基于统计物理的算法:一种基于精确配分函数的递归定义;另一种基于该配分函数的大权重极限;最后一种基于第二种算法的零温极限。通过比较这些算法的性能,我们发现它们在运行时间和准确性方面并未持续优于动态规划、退火或标准贪婪算法。然而,精确配分函数被证明能重现 KP 的动态规划解,且零温算法被证明能产生贪婪解。因此,尽管 KP 的动态规划和贪婪解在概念上是截然不同的,但本工作引入的统计物理形式体系揭示了前者的极大权重约束极限会导致后者。我们最后讨论了如何扩展这一形式体系,以获得所引入算法的更准确版本,并将其应用于其他类似的组合优化问题。

英文摘要:

We formulate the knapsack problem (KP) as a statistical physics system and compute the corresponding partition function as an integral in the complex plane. The introduced formalism allows us to derive three statistical-physics-based algorithms for the KP: one based on the recursive definition of the exact partition function; another based on the large weight limit of that partition function; and a final one based on the zero-temperature limit of the second. Comparing the performances of the algorithms, we find that they do not consistently outperform (in terms of runtime and accuracy) dynamic programming, annealing, or standard greedy algorithms. However, the exact partition function is shown to reproduce the dynamic programming solution to the KP, and the zero-temperature algorithm is shown to produce a greedy solution. Therefore, although dynamic programming and greedy solutions to the KP are conceptually distinct, the statistical physics formalism introduced in this work reveals that the large weight-constraint limit of the former leads to the latter. We conclude by discussing how to extend this formalism in order to obtain more accurate versions of the introduced algorithms and to other similar combinatorial optimization problems.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑