• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (5): 102-105.

• 论文 • Previous Articles     Next Articles

The 01 Knapsack Problem Based on the BeeSwarm Genetic Algorithm

WU Di,JIANG Yongzeng,SONG Guangjun   

  1. (School of Computer and Control Engineering,Qiqihaer University,Qiqihaer 161006,China)
  • Received:2010-04-19 Revised:2010-08-03 Online:2011-05-25 Published:2011-05-25

Abstract:

This paper presents a beeswarm genetic algorithm for the 0-1 knapsack problem. There are two populations, one for global search, and the other for local search. Each individual adopts the binary code. Only the best one can crossover. The strategy of managing the feasible solution is to enclose the goods which is out of the knapsack and costeffective, until no goods can be put into. The solution which does not accord with the constraint condition mutates under the instruction of mutagens. The genetic operators include order crossover operator, twoblockexchange mutation operator and restraint operator. The method sufficiently takes the advantage of the genetic algorithm such as group search and global convergence in order to have a quick parallel search, which efficiently overcomes the problem of local optimization. The experimental results show that the bee swarm genetic algorithm is efficient in solving the 0-1Knapsack  problem, and is also suitable for other combinatorial optimization problems.

Key words: knapsack problem;bee swarm genetic algorithm;active evolution operator;best one crossover;restraint operator