›› 2014, Vol. 27 ›› Issue (4): 51-.

• 论文 • 上一篇    下一篇

基于贪心遗传算法求解0-1背包问题

姚文鹃,吴菲,夏倩,邵彪,张龙忠,刘剑   

  1. (兰州交通大学交通 运输学院,甘肃 兰州 730070)
  • 出版日期:2014-04-15 发布日期:2014-05-14
  • 作者简介:姚文鹃(1988—),女,硕士研究生。研究方向:管理科学与工程。E-mail:Winnie_xwj@126.com

Solution to 0-1 Knapsack Problem Based on the Greedy-genetic Algorithm

YAO Wenjuan,WU Fei,XIA Qian,SHAO Biao,ZHANG Longzhong,LIU Jian   

  1. (School of Traffic and Transportation,Lanzhou Jiaotong University,Lanzhou 730070,China)
  • Online:2014-04-15 Published:2014-05-14

摘要:

在解决0-1背包问题中,将贪心算法和遗传算法相结合,提出了贪心遗传算法。通过算法构造出更优的新算子,与原有算子相比,既加快了算法的收敛速度,又克服了传统方法容易陷入局部最优的特点,提高了搜索效率。通过计算机仿真试验结果表明,贪心遗传算法相比普通的遗传算法具有更好的近似解,充分证明了贪心遗传算法来求解背包问题的有效性和实用性。

关键词: 背包问题, 遗传算法, 贪心算法, 贪心遗传算法

Abstract:

A greedy-genetic algorithm is proposed combining greedy algorithms and genetic algorithms.The algorithm constructs a new and better operator than the original one.It not only accelerates the convergence speed but also avoids the local optimum trap of the traditional method,thus improving search efficiency.The computer simulation results show that the greedy genetic algorithm has better approximate solutions than the average genetic algorithms,demonstrating the effectiveness and practicality of greedy- genetic algorithms in solving the knapsack problem.

Key words: knapsack problem;greedy algorithm;genetic algorithm;Greedy-Genetical gorith

中图分类号: 

  • TP301.6