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

J4 ›› 2012, Vol. 34 ›› Issue (10): 192-194.

• 论文 • 上一篇    

一种高效的同尺寸长方体的装箱算法

姚 怡,崔耀东   

  1. (广西大学计算机与电子信息学院,广西 南宁 530004)
  • 收稿日期:2012-04-25 修回日期:2012-07-10 出版日期:2012-10-25 发布日期:2012-10-25
  • 基金资助:

    国家自然科学基金资助项目(61063031);广西教育厅科学技术研究资助项目(200911MS19)

An Efficient Algorithm for the ContainerLoading Problem of Identical Boxes

YAO Yi,CUI Yaodong   

  1. (School of Computer,Electronics and Information,Guangxi University,Nanning 530004,China)
  • Received:2012-04-25 Revised:2012-07-10 Online:2012-10-25 Published:2012-10-25

摘要:

针对应用广泛的同尺寸长方体货品的装箱问题,本文运用分层装载方案,根据货品的长宽高采用三种不同的层高,利用动态规划算法分别计算三种层的最大装载量,再通过背包算法对层进行组合,得出装箱的最优方案。该算法复杂度低,装载方案简单。

关键词: 装箱, 集装箱运输, 动态规划

Abstract:

This paper focuses on the container loading problem:how to pack as more identical rectangular boxes as possible into a rectangular container.Layer patterns are used,i.e.three layers are used according to the length,width,and height of the box.A dynamic programming procedure is used to determine the optimal layouts of the boxes on the layers,and a knapsack problem is solved to obtain the optimal combination of the layers in the container.The algorithm has low complexity and the loading pattern is simple.

Key words: container loading;container transport;dynamic programming