计算机应用 ›› 2012, Vol. 32 ›› Issue (08): 2168-2175.DOI: 10.3724/SP.J.1087.2012.02168

• 先进计算 • 上一篇    下一篇

基于核算法解决多维多选择背包问题

康鲲鹏   

  1. 商丘师范学院 计算机与信息技术学院,河南 商丘 476000
  • 收稿日期:2011-12-13 修回日期:2012-03-12 发布日期:2012-08-28 出版日期:2012-08-01
  • 通讯作者: 康鲲鹏
  • 作者简介:康鲲鹏(1976-),男,河南商丘人,讲师,硕士,主要研究方向:智能计算。
  • 基金资助:
    河南省科技厅基础与前沿技术研究项目(112300410306)

Core-based multidimensional multiple-choice knapsack solution

KANG Kun-peng   

  1. School of Computer and Information Technology, Shangqiu Normal University, Shangqiu Henan 476000,China
  • Received:2011-12-13 Revised:2012-03-12 Online:2012-08-28 Published:2012-08-01
  • Contact: KANG Kun-peng

摘要: 针对目前尚无多维多选择背包问题(MMKP)高效核算法的现状,提出用多种方法来构造处理这种类型背包的核。首先论述了如何在一般背包问题中获得核;接着根据事先设定的度量指标详细讨论了MMKP的基本解和两种排序关系,并利用三种备选方案得出MMKP的核,亦即子空间。第一种方案是基于观察数据E[lc]和E[d∞]比较小来得到核;第二种方案基于基本解和最优解的曼哈顿距离不算太远来实施;第三种方案是为所有元素定义一个全序并取第一组k元素作为核。比较了这三种方案的不同与优劣,结果表明:第一种方案比其他两种方案无论从定义子空间的精度和枚举时间平均值上,性能都更优越,利用该方案定义的核能高效解决MMKP。

关键词: 多维多选择背包问题, 核, 分支定界, 整数线性规划, 组合优化

Abstract: The core has been used to design efficient algorithms for the knapsack problem. Several methods were put forward to obtain a core for Multidimensional Mutiple-choice Knapsack Problem (MMKP) as there is no algorithm based on core now. The method of obtaining a core of the Knapsack Problem (KP) was discussed firstly, and then the base solution and ordering relations of MMKP were explained in detail according to the metrics set beforehand. After that, the core which can be called subspace was obtained by three methods. The firrst method was based on the observation that which of E[lc] and E[d∞] was smaller. The second method was based on the observation that the Manhattan distance of the base solution was not too far from the optimal solution. In the third method, a total ordering was defined among all items and the first k items were taken as the core.The comparative study shows that the performance of the first one is superior on both accuracy and enumeration time. The MMKP can be solved efficiently with this method.

Key words: Multidimensional Mutiple-choice Knapsack Problem (MMKP), core, branch-and-bound, integer linear programming, combinatorial optimization

中图分类号: