arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1704.06928cs.DScs.NAmath.NAmath.OC
收藏

区间子集和问题的一个新的完全多项式时间近似方案

A New Fully Polynomial Time Approximation Scheme for the Interval Subset Sum Problem

State Key Laboratory of Scientific and Engineering Computing, Institute of Computational Mathematics and Scientific/Engineering Computing, Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院计算数学与科学/工程计算研究所)

Rui Diao, Ya-Feng Liu, Yu-Hong Dai

AI总结:

本文提出了一种新的完全多项式时间近似方案,用于解决区间子集和问题,该方案在时间和空间复杂度上优于现有方法,并通过数值模拟验证了其正确性和效率。

摘要:

区间子集和问题(ISSP)是经典子集和问题的推广。给定一组区间$\left\{[a_{i,1},a_{i,2}]\right\}_{i=1}^n$和一个目标整数$T$,ISSP是寻找一组整数,每个区间至多选一个,使得其和尽可能接近目标$T$但不超过它。本文首先研究了ISSP的计算复杂性。我们证明ISSP相比0-1背包问题(KP)相对容易解决。我们还识别了几种ISSP的子类,这些子类在多项式时间内可解(以高概率),尽管问题本身是NP难的。然后,我们提出了一种新的完全多项式时间近似方案(FPTAS)来解决一般的ISSP问题。所提出方案的时间和空间复杂度分别为${\cal O}\left(n \max\left\{1 / ε,\log n\right\}\right)$和${\cal O}\left(n+1/ε\right)$,其中$ε$是相对近似误差。据我们所知,所提出方案的时间复杂度几乎与已知最优方案相同,但空间复杂度显著更低。所提出方案的正确性和效率通过数值模拟得到验证。特别是,所提出方案在$1$秒内成功解决了$n=100,000$和$ε=0.1\%$的ISSP实例。

英文摘要:

The interval subset sum problem (ISSP) is a generalization of the well-known subset sum problem. Given a set of intervals $\left\{[a_{i,1},a_{i,2}]\right\}_{i=1}^n$ and a target integer $T,$ the ISSP is to find a set of integers, at most one from each interval, such that their sum best approximates the target $T$ but cannot exceed it. In this paper, we first study the computational complexity of the ISSP. We show that the ISSP is relatively easy to solve compared to the 0-1 Knapsack problem (KP). We also identify several subclasses of the ISSP which are polynomial time solvable (with high probability), albeit the problem is generally NP-hard. Then, we propose a new fully polynomial time approximation scheme (FPTAS) for solving the general ISSP problem. The time and space complexities of the proposed scheme are ${\cal O}\left(n \max\left\{1 / ε,\log n\right\}\right)$ and ${\cal O}\left(n+1/ε\right),$ respectively, where $ε$ is the relative approximation error. To the best of our knowledge, the proposed scheme has almost the same time complexity but a significantly lower space complexity compared to the best known scheme. Both the correctness and efficiency of the proposed scheme are validated by numerical simulations. In particular, the proposed scheme successfully solves ISSP instances with $n=100,000$ and $ε=0.1\%$ within one second.

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

↑