arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1612.02788cs.DScs.CCcs.CR
收藏

子集和、k-和及相关问题的快速空间有效算法

Faster Space-Efficient Algorithms for Subset Sum, k-Sum and Related Problems

Nikhil Bansal, Shashwat Garg, Jesper Nederlof, Nikhil Vyas

摘要:

我们提出了空间有效的Monte Carlo算法,解决子集和背包实例与$n$项目使用$O^*(2^{0.86n})$时间和多项式空间,其中$O^*(\cdot)$符号抑制因素多项式的输入大小。这两种算法都假定对随机位的随机只读访问。模这个温和的假设,这解决了一个长期存在的开放问题,在精确算法的NP难问题。这些结果可以推广到求解$n$变量上的二元线性规划问题,在相似的运行时间内,约束条件较少。我们还表明,对于任何恒定的$k\geq 2$,$k$ -Sum的随机实例可以解决使用$O(n^{k-0.5}polylog(n))$时间和$O(\log n)$空间,而不需要随机访问随机位的假设。这些结果的基础是一个算法,该算法确定两个给定的列表的长度$n$与整数由一个多项式在$n$共享一个共同的值。假设随机只读访问随机位,我们表明,这个问题可以解决使用$O(\log n)$空间显着快于平凡的$O(n^2)$时间算法,如果没有值经常出现在同一列表中。

英文摘要:

We present space efficient Monte Carlo algorithms that solve Subset Sum and Knapsack instances with $n$ items using $O^*(2^{0.86n})$ time and polynomial space, where the $O^*(\cdot)$ notation suppresses factors polynomial in the input size. Both algorithms assume random read-only access to random bits. Modulo this mild assumption, this resolves a long-standing open problem in exact algorithms for NP-hard problems. These results can be extended to solve Binary Linear Programming on $n$ variables with few constraints in a similar running time. We also show that for any constant $k\geq 2$, random instances of $k$-Sum can be solved using $O(n^{k-0.5}polylog(n))$ time and $O(\log n)$ space, without the assumption of random access to random bits. Underlying these results is an algorithm that determines whether two given lists of length $n$ with integers bounded by a polynomial in $n$ share a common value. Assuming random read-only access to random bits, we show that this problem can be solved using $O(\log n)$ space significantly faster than the trivial $O(n^2)$ time algorithm if no value occurs too often in the same list.

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

↑