Xi'an Research Institute of Hi-Tech, Xi'an, Shaanxi 710025, China.
Comput Intell Neurosci. 2022 Oct 22;2022:1266529. doi: 10.1155/2022/1266529. eCollection 2022.
0-1 Knapsack problem (KP) is NP-hard. Approximate solution is vital for solving KP exactly. In this paper, a fast polynomial time approximate solution (FPTAS) is proposed for KP. FPTAS is a local search algorithm. The best approximate solution to KP can be found in the neighborhood of the solution of upper bound for exact -item knapsack problem (E-KP) where is near to the critical item . FPTAS, in practice, often achieves high accuracy with high speed in solving KP. The computational experiments show that the approximate algorithm for KP is valid.
0-1 背包问题(KP)是 NP 难的。近似解对于精确求解 KP 至关重要。本文提出了一种 KP 的快速多项式时间近似解(FPTAS)。FPTAS 是一种局部搜索算法。KP 的最佳近似解可以在精确物品背包问题(E-KP)的解的邻域中找到,其中 接近于关键物品 。FPTAS 在实践中通常在解决 KP 方面具有高速和高精度的特点。计算实验表明,KP 的近似算法是有效的。