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

J4 ›› 2011, Vol. 33 ›› Issue (7): 158-162.

• 论文 • 上一篇    下一篇

基于蚁群优化算法求解矩形件排样问题

童科,毛力   

  1. (江南大学信息工程学院,江苏 无锡 214122)
  • 收稿日期:2010-06-11 修回日期:2010-12-10 出版日期:2011-07-21 发布日期:2011-07-25
  • 作者简介:童科(1986),男,江苏张家港人,硕士生,研究方向为人工智能和数据挖掘。毛力(1967),男,江苏无锡人,副教授,研究方向为人工智能、数据挖掘和电子商务。

Solving Rectangular Packing Problems Based on the Ant Colony Optimization Algorithm

TONG Ke,MAO Li   

  1. (School of Information Technology,Jiangnan University,Wuxi 214122,China)
  • Received:2010-06-11 Revised:2010-12-10 Online:2011-07-21 Published:2011-07-25

摘要:

布局问题来源于生产实际,优秀的布局可以提高原料利用率,降低成本,提高经济效益,对许多行业有重要意义。矩形件优化排样是一类具有NP完全难度的组合优化问题。人工蚁群算法是对蚂蚁群体行为的模拟抽象,该算法具有分布计算、信息正反馈和启发式搜索等特点。本文将蚁群算法和剩余矩形法结合用于解决矩形排样问题,首先用蚁群算法将矩形件排样问题转化为一个排列问题;然后通过剩余矩形排样算法排出每一个排列所对应的排样图;最后用算法对文献[9]中的两个算例进行了验证,表明了其有效性。

关键词: 矩形优化排样, 蚁群优化算法, 排样方案, 组合优化

Abstract:

The rectangular packing problem comes from the actual production, it is important for industries to save raw material utilization, reduce costs, improve economic efficiency. Ant Colony System is the abstract simulation of ants group behaviors. ACS has the advantages of distributed computing, information feedback and heuristic search.The optimal layout for rectangles is a NPcomplete combinatorial optimization problem. The ant colony system algorithm and the surplus rectangle algorithm are used for solving the packing problem of rectangles in this paper. First,the rectangles packing problem is turned into a permutation problem.Second,a surplus rectangle algorithm is introduced to decode the permutation of rectangles to the corresponding packing pattern uniquely. At the end of this paper, the new ant colony system is validated by two examples,and the facts show that the new algorithm presented by this paper is efficient.

Key words: rectangle packing;ant colony system algorithm;packing pattern;combinatorial optimization