二维多阶段矩形剪切排样算法(精)
第32卷第5期 计算机应用与软件 Vol32No.5
5
2015年5月 ComputerApplicationsandSoftware May201
二维多阶段矩形剪切排样算法
孔令熠 陈秋莲
(广西大学计算机与电子信息学院 广西南宁530004)
摘 要 讨论有需求约束的二维剪切矩形排样问题:将一张板材剪切成一组已知尺寸的毛坯,使排样价值(板材中包含的毛坯总
价值)最大,约束条件是排样方式中包含每种毛坯数量都不能超过其需求量。采用普通条带多阶段排样方式,每次剪切都从板材上
产生一根水平或者竖直的普通条带,条带中可以包含不同尺寸毛坯。引入分支限界与贪婪策略,以提高算法效率。实验结果表明,
该算法可以有效提高排样价值。
关键词 有约束二维剪切 多阶段排样方式 普通条带 分支限界 贪婪策略
中图分类号 TP391 文献标识码 A DOI:10.3969/j.issn.1000386x.2015.05.056
MULTISTAGETWODIMENSIONALRECTANGULARNESTINGALGORITHM
WITHCUTTINGBYGUILLOTINE
KongLingyi ChenQiulian
(CollegeofComputerandElectronicInformation,GuangxiUniversity,Nanning530004,Guangxi,China)
Abstract Wediscusstwodimensionalcuttingrectangularnestingproblemwithconstrainedrequirement:inwhichasingleplateiscutinto
agroupofroughcastpieceswithgivensizesandmakesthenestingvalue(totalvalueofpiecescontainedintheplate)maximised,the
constraintsarethatinthenestingpatternthenumberofeachpiececannotexceeditsdemand.Weadoptgeneralstripsandmultistaged
nestingpattern,therewillproduceonehorizontalorverticalstripfromtheplateineverycut,whichcancontainthepiecesofdifferenttypes.
Branchandboundandgreedystrategyareintroducedtoenhancetheefficiencyofthealgorithm.Experimentalresultsindicatethatthe
algorithmcaneffectivelyimprovethevalueofnesting.
Keywords Constrainedtwodimensionalcuttingproblems Multistagenestingpattern Generalstrip Branchandbound
Greedystrategy
[7]:从
DT) L×W的板材上切下m种毛坯,其中第i种毛坯的尺寸
0 引 言 和价值分别是l×w和c,需求量为d。使用冲压机剪裁方式