计算机应用 ›› 2015, Vol. 35 ›› Issue (7): 2088-2092.DOI: 10.11772/j.issn.1001-9081.2015.07.2088

• 行业与领域应用 • 上一篇    下一篇

改进膜蜂群算法求解0-1背包问题

宋潇潇, 王军   

  1. 西华大学 电气与电子信息学院, 成都 610039
  • 收稿日期:2015-01-26 修回日期:2015-04-05 出版日期:2015-07-10 发布日期:2015-07-17
  • 通讯作者: 宋潇潇(1981-),男,江苏南京人,讲师,博士,主要研究方向:优化算法、智能控制,sxx_pippen@163.com
  • 作者简介:王军(1966-),女,四川绵阳人,教授,博士,主要研究方向:优化算法、交流传动、电力电子装置与系统。
  • 基金资助:

    国家自然科学基金资助项目(61472328, 51477142);四川省教育厅项目(13zb0017);西华大学重点项目(z1120943)。

Improved artificial bee colony algorithm based on P system for 0-1 knapsack problem

SONG Xiaoxiao, WANG Jun   

  1. School of Electrical Engineering and Electronic Information, Xihua University, Chengdu Sichuan 610039, China
  • Received:2015-01-26 Revised:2015-04-05 Online:2015-07-10 Published:2015-07-17

摘要:

针对现有算法在求解大规模0-1背包问题时存在的不足,提出一种改进膜蜂群算法(IABCPS)。IABCPS将膜计算(MC)的思想引入人工蜂群(ABC)算法,基于极坐标编码的方式,采用细胞型单层膜结构(OLMS),利用各基本膜中改进人工蜂群算子进行迭代,并结合表层膜实现数据交流;算法通过调整内部参数,实现寻优过程中开发和探索的有效配合。实验结果表明IABCPS在求解小规模背包问题时能准确找到最优解。在求解200个物品的背包问题时,IABCPS相对克隆选择免疫遗传算法(CSIGA)平均结果提高了0.15%,方差降低了97.53%;相对于ABC算法平均结果提高了4.15%,方差降低了99.69%,表现出了良好的寻优能力和稳定性。在与ABCPS求解物品数量为300,500,700,1000的大规模背包问题的比较实验中,IABCPS的平均结果比ABCPS分别高1.25%、3.93%、6.75%和11.21%,且方差与实验次数的商始终维持在个位数,表现出了良好的鲁棒性。

关键词: 人工蜂群算法, 膜计算, 0-1背包问题, 极坐标编码, 细胞型P系统

Abstract:

Aiming at the defects of resolving large scale 0-1 knapsack problem with existed algorithm, an Improved Artificial Bee Colony algorithm based on P Systems (IABCPS) was introduced in this paper. The idea of Membrane Computing (MC), polar coordinate coding and One Level Membrane Structure (OLMS) was used by IABCPS. Evolutionary rules of improved Artificial Bee Colony (ABC) algorithm and transformation or communication rules in P systems were adopted to design its algorithm. The limit of number of trials "limit" was adjusted to keep the balance of exploitation and exploration. The experimental results show that IABCPS can find the optimum solutions in solving small scale knapsack problems. In solving a knapsack problem with 200 items, compared with Clonal Selection Immune Genetic Algorithm (CSIGA), IABCPS increases the average results by 0.15% and decreases variance by 97.53%; compared with ABC algorithm, IABCPS increases the average results by 4.15% and decreases variance by 99.69%. The results demonstrate that IABCPS has good ability of optimization and stability. Compared with Artificial Bee Colony algorithm based on P Systems (ABCPS) in solving large scale knapsack problem with 300, 500, 700 and 1000 items respectively, IABCPS increases the average results by 1.25%,3.93%,6.75% and 11.21%, and the ratio of the variance and the number of experiments keeps in single digits. It shows its strong robustness.

Key words: Artificial Bee Colony (ABC) algorithm, Membrane Computing (MC), 0-1 knapsack problem, polar coordinate coding, cell-like P system

中图分类号: