首页 | 官方网站   微博 | 高级检索  
     

带权重的贪心萤火虫算法求解0-1背包问题
引用本文:任静敏,潘大志. 带权重的贪心萤火虫算法求解0-1背包问题[J]. 计算机与现代化, 2019, 0(5): 86-91. DOI: 10.3969/j.issn.1006-2475.2019.05.016
作者姓名:任静敏  潘大志
作者单位:西华师范大学数学与信息学院,四川 南充,637000;西华师范大学数学与信息学院,四川 南充,637000
基金项目:国家自然科学基金资助项目(11371015); 四川省教育厅自然科学基金资助项目(18ZA0469); 西华师范大学校级科研团队项目(CXTD2015-4); 西华师范大学英才基金资助项目(17YC385)
摘    要:根据萤火虫算法的自身特点,将自适应权重、改进贪心算法、变异算子与基本萤火虫算法相结合,提出一种带权重的贪心萤火虫算法。通过加入自适应权重与变异算子,可以提高算法全局搜索能力,加入贪心算法在一定程度上可提高算法收敛速度,整体看,改进萤火虫算法提高了算法性能。通过仿真实验将改进后的算法与一些基本算法进行比较,实验结果表明,该算法在求解0-1背包问题时,无论在运算速度还是求解精度上都有明显改进。

关 键 词:萤火虫算法  背包问题  贪心算法  变异算子  自适应权重
收稿时间:2019-05-14

Solving 0-1 Knapsack Problem Based on Weighted Greedy Firefly Algorithm
REN Jing-min,PAN Da-zhi. Solving 0-1 Knapsack Problem Based on Weighted Greedy Firefly Algorithm[J]. Computer and Modernization, 2019, 0(5): 86-91. DOI: 10.3969/j.issn.1006-2475.2019.05.016
Authors:REN Jing-min  PAN Da-zhi
Affiliation:(College of Mathematics and Information,China West Normal University,Nanchong 637000,China)
Abstract:According to the characteristics of firefly algorithm, a weighted greedy firefly algorithm is proposed by combining adaptive weight, improved greedy algorithm, mutation operator with basic firefly algorithm. By adding adaptive weight and mutation operator, the global searching ability of the algorithm could be improved. The addition of greedy algorithm can improve the convergence speed of the algorithm to a certain extent. On the whole, the improved firefly algorithm improves the algorithm performance. Through the simulation experiment, the improved algorithm was compared with some basic algorithms. The experimental results show that the algorithm has obvious improvement in the speed and precision of solving 0-1 knapsack problem.
Keywords:firefly algorithm   knapsack problem   greedy algorithm   mutation operator   adaptive weight  
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《计算机与现代化》浏览原始摘要信息
点击此处可从《计算机与现代化》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号