计算机应用 ›› 2020, Vol. 40 ›› Issue (11): 3113-3118.DOI: 10.11772/j.issn.1001-9081.2020040482

• 人工智能 • 上一篇    下一篇

基于Lagrange插值的学习猴群算法求解折扣{0-1}背包问题

徐小平1, 徐丽1, 王峰2, 刘龙3   

  1. 1. 西安理工大学 理学院, 西安 710054;
    2. 西安交通大学 数学与统计学院, 西安 710049;
    3. 西安理工大学 自动化与信息工程学院, 西安 710048
  • 收稿日期:2020-04-20 修回日期:2020-06-26 出版日期:2020-11-10 发布日期:2020-07-20
  • 通讯作者: 徐丽(1995-),女,陕西安康人,硕士研究生,主要研究方向:智能算法;1396580639@qq.com
  • 作者简介:徐小平(1973-),男,陕西蓝田人,教授,博士,主要研究方向:智能算法;王峰(1972-),女,河南兰考人,教授,博士,主要研究方向:智能算法;刘龙(1975-),男,陕西西安人,教授,博士,主要研究方向:机器学习
  • 基金资助:
    国家自然科学基金资助项目(61773016);陕西省创新能力支撑计划项目(2020PT-023);陕西省自然科学基础研究计划项目(2018JQ1089)。

Learning monkey algorithm based on Lagrange interpolation to solve discounted {0-1} knapsack problem

XU Xiaoping1, XU Li1, WANG Feng2, LIU Long3   

  1. 1. School of Sciences, Xi'an University of Technology, Xi'an Shaanxi 710054, China;
    2. School of Mathematics and Statistics, Xi'an Jiaotong University, Xi'an Shaanxi 710049, China;
    3. School of Automation and Information Engineering, Xi'an University of Technology, Xi'an Shaanxi 710048, China
  • Received:2020-04-20 Revised:2020-06-26 Online:2020-11-10 Published:2020-07-20
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61773016), the Shaanxi Provincial Innovation Capability Support Program (2020PT-023), the Shaanxi Natural Science Basic Research Program (2018JQ1089).

摘要: 折扣{0-1}背包问题(D{0-1}KP)的目的是在不超过背包载重的前提下,使得装入背包的所有物品价值系数之和为最大。针对已有算法在求解规模大、复杂度高的D{0-1}KP时的求解精度低的问题,提出了Lagrange插值的学习猴群算法(LSTMA)。首先,在基本猴群算法的望过程中重新定义了视野长度;其次,在跳过程中引入了种群中最优的个体作为第二个支点,并调整搜索机制;最后,在跳过程之后引入Lagrange插值操作来提高算法的搜索性能。对四类实例的仿真结果表明:LSTMA在求解D{0-1}KP时的求解精度高于对比算法,并且具有良好的鲁棒性。

关键词: 折扣{0-1}背包问题, Lagrange插值, 猴群算法, 学习因子

Abstract: The purpose of the Discounted {0-1} Knapsack Problem (D{0-1}KP) is to maximize the sum of the value coefficients of all items loaded into the knapsack without exceeding the weight limit of the knapsack. In order to solve the problem of low accuracy when the existing algorithms solve the D{0-1}KP with large scale and high complexity, the Lagrange Interpolation based Learning Monkey Algorithm (LSTMA) was proposed. Firstly, the length of the visual field was redefined during the look process of the basic monkey algorithm. Then, the best individual in the population was introduced as the second pivot point and the search mechanism was adjusted during the jump process. Finally, the Lagrange interpolation operation was introduced after the jump process to improve the search performance of the algorithm. The simulation results on four types of examples show that LSMTA solves the D{0-1}KP with higher accuracy than the comparison algorithms, and it has good robustness.

Key words: Discounted {0-1} Knapsack Problem (D{0-1}KP), Lagrange interpolation, Monkey Algorithm (MA), learning factor

中图分类号: