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

Computer Engineering & Science

Previous Articles     Next Articles

A binary lion swarm algorithm for
solving 0-1 knapsack problem

LIU Sheng-jian1,YANG Yan1,ZHOU Yong-quan2   

  1. (1.Department of Game,South China Institute of Software Engineering,Guangzhou University,Guangzhou 510990;
    2.College of Information and Computer Science,Guangxi University for Nationalities,Nanning 530006,China)
     
  • Received:2018-11-14 Revised:2019-03-04 Online:2019-11-25 Published:2019-11-25

Abstract:

Aiming at the shortcoming that the traditional binary swarm intelligent algorithm easily falls into local optimum and has slow convergence speed when solving the 0-1 knapsack problem,a new binary lion  warm optimization algorithm (BLSO) is proposed to solve the discrete space problem.The BLSO algorithm redefines the positions of the lion, lioness and cubs, and introduces the inverse operator, move operator and learning operator to construct a brand-new location transfer method and the local search rule.The greedy strategy is added to make the solution feasible and fully utilized, so as to enhance the local search ability and speed up the convergence. The simulation experiments of nine typical 0-1 knapsack cases show that the proposed algorithm can not only solve the 0-1 knapsack problem effectively, but also search for suboptimal solutions with higher precision and even global optimal solutions quickly. The solutions have strong stability. When solving high-dimensional 0-1 knapsack problems, the proposed algorithm is superior to the reference algorithm in terms of optimization time and precision.
Key words:

Key words: Lion Swarm Optimization (LSO), 0-1 knapsack problem, combined constraint optimization, NP hard problem