作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (13): 4-7,10. doi: 10.3969/j.issn.1000-3428.2009.13.002

• 博士论文 • 上一篇    下一篇

求解多限制0-1背包问题的混合遗传算法

宋海生1,2,3,宋海洲4,傅仁毅1,徐瑞松2   

  1. (1. 顺德职业技术学院计算机技术系,佛山 528300;2. 中国科学院广州地球化学研究所,广州 510640; 3. 中国科学院研究生院,北京 100049;4. 华侨大学数学科学学院,泉州 362021)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-07-05 发布日期:2009-07-05

Hybrid Genetic Algorithm for Multiconstraint 0-1 Knapsack Problem

SONG Hai-sheng1,2,3, SONG Hai-zhou4, FU Ren-yi1, XU Rui-song2   

  1. (1. Dept. of Computer Technology, Shunde Polytechnic, Foshan 528300; 2. Guangzhou Institute of Geochemistry, Chinese Academy of Sciences, Guangzhou 510640; 3. Graduate University of Chinese Academy of Sciences, Beijing 100049; 4. School of Mathematical Sciences, Huaqiao University, Quanzhou 362021)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-07-05 Published:2009-07-05

摘要: 为求解多限制0-1背包问题,设计一种新的价值密度,提出一种基于贪心法的混合遗传算法,采用二进制编码对适应值进行升序排列,并运用轮盘赌选择方法对背包资源利用不足的可行解进行修正处理,对不可行解进行修复处理,并将其与传统遗传算法进行比较。实验结果表明,该算法能够有效提高问题求解的速度和精度,具有一定优越性。

关键词: 背包问题, 贪心法, 遗传算法, 不可行解

Abstract: In order to solve multi-constraint 0-1 knapsack problem, a new profit-density is designed, on basis of which, a Hybrid Genetic Algorithm(HGA) based on greedy algorithm is proposed, which uses the binary code to amend the feasible solution, and applies roulette wheel selection method to rectify knapsack resources with insufficient use, and repairs the infeasible solution. The algorithm is compared with other traditional ones. Experimental results show this HGA can promote the speed and accuracy of solving relevant problems efficiently, and is superior.

Key words: knapsack problem, greedy algorithm, Genetic Algorithm(GA), infeasible solution

中图分类号: