计算机科学 ›› 2012, Vol. 39 ›› Issue (7): 237-241.

• 人工智能 • 上一篇    下一篇

基于动态规划法求解动态o-1背包问题

贺毅朝,田海燕,张新禄,王志威,高锁刚   

  1. (石家庄经济学院信息工程学院 石家庄 050031) (河北师范大学数学与信息科学学院 石家庄 050016) (计算数学与应用河北省重点实验室 石家庄 050016)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Solving Dynamic 0-1 Knapsack Problems Based on Dynamic Programming Algorithm

  • Online:2018-11-16 Published:2018-11-16

摘要: 随机时变背包问题(RTVKP)是一种动态组合优化问题,也是一种典型的NP-hard问题。由于RTVKP问题中物品的价值、重量和背包载重均是动态变化的,导致问题的求解非常困难。在动态规划法基础上,提出了一种求解背包载重随机变化的R I'VKP问题的确定性算法,分析了其复杂度和成功求解需要满足的条件。对两个大规模实例的计算表明,该算法是求解RTVKP问题的一种高效算法。

关键词: NP-难问题,0-1背包问题,动态优化,时变背包问题,动态规划法

Abstract: Random time-varying knapsack problem (RTVKP) is a dynamic combinatorial optimization problem, is a typical NP-hard problem too. Because the value and size of items and the size of knapsack can change along with the time, it causes that solving this problem is more difficult. We proposed an efficient algorithm for solving RTVKP with dynamic size of knapsack based on dynamic programming method, and analyzed the complexity of new algorithm and the condition of its successful executing. I}he results of simulation computation show that the exact algorithm is an efficient algorithm for solving RTVKP.

Key words: NP-hard problem, 0-1 knapsack problem, Dynamic optimization, Time-varying knapsack problems, Dynamic programming

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!