A Genetic Algorithm for the Rectangular Strip Packing Problem
- Author
- ZhaoXinFang
- Advisor
- CuiYaoDong
- School
- Guangxi Normal University
- Major
- Applied Computer Technology
- Classification
- TP18 Artificial intelligence theory
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 114
- Citations
- 2
Abstract
The rectangle packing problem exists widely in many industries, such as the mechanical, furniture and costume industries. Solving this problem can save raw materials, streamline production processes, reduce production cost and increase the efficiency of industry. Irregular layouts can be transformed into rectangular packing problems by computer graphics processing technology. The rectangle strip packing problem (RSPP) can be stated as putting some quantified rectangles P1 , P2 ,…, Pn on the given sheet, which is fixed with width and isn’t fixed with height, with an aim to minimizing sheet’s unused area. RSPP is an importance branch of computer aid nesting. But it is a high computational complexity NP-complete problem in theory. So when the scale of the problem is large, we can not use exact algorithm to acquire the optimal solution. Therefore, the study has important practical and theoretical value.The genetic algorithm is global search optimization compute technology based on biology anagenesis and random selection. It simulates biology anagenesis basal progress, uses the Digital gene string to analog the chromosome, and imitate the basal biology evolution progress through choose、cross、mutation and so forth genetic operation. After a number of generations, the problem solution represented by the most excellent chromosome is the ultimately optimization solution or close to the optimization solution. The multi-colony genetic algorithm utilizes some colonies to replace the singular colony, and every colony carry through side-by-side independently evolution according to their own different evolutional strategy and genetic operation. In the progress of evolution the algorithm can choose and reserve the excellent chromosome from each separate colony, so that it could quicken the speed of evolution, at the same time keep the stability of the excellent chromosome s’evolution, and avoid the prematurity phenomena that can be likely to appear if there is only singular colony.Based on the above considerations, in this paper, we propose a simple approach which Just adopts two colonies and can be used to solve RSPP based on the genetic algorithm. The validity of the algorithm is Confirmed by numerous test examples, and the novelty of this research is as follows:First, the thesis proposes an approximate rectangular packing algorithm. We compare and analyze some approximate rectangular packing algorithms proposed by Chinese and foreign scholars. After Aggregating the advantages and disadvantages of these algorithms, we modifie an approximately rectangular packing algorithm based on the Lowest Horizontal Line Searching Algorithm (LHLSA), and denominate the Optimization Insert Algorithm based on the Lowest Horizontal Line. In the progress of placing the rectangular, the length of the lowest horizontal line is compared with present rectangle’s length (in this paper, we firstly define the border of the rectangular paralleled X axis is the length, the other border is figured as the width). If the lowest horizontal line is longer than the length, we put the rectangular in this position. Otherwise, the length of the lowest horizontal line is compared with present rectangle’s width. If lowest horizontal line is larger than the width, we rotate the rectangular and put the rectangular in this position. If the lowest horizontal line is less than the length and width, that means the present rectangular couldn’t be place on the lowest horizontal line, we search back the position in the current sequence, and choose the classic rectangular (the Optimization), which meet the requirements and whose length or width proximal the length of the lowest horizontal line, and put it in this position. If all the rectangular can’t meet this requirement, the lowest horizontal line will be updated. We insert the Optimization before the present location, and insure the sequence of the latter rectangular invulnerable. Because this packing algorithm can make the rectangle place compactly, so reduce the height of placing all rectangles, and improve the layout efficiency on a certain extent.Second, the Optimization Insert Algorithm based on the Lowest Horizontal Line is combined with genetic algorithm. We propose a new algorithm to solve RSPP. How to construct the sequence is a key issue of the rectangular packing problem. Many scholars have applied genetic algorithms, simulated annealing algorithm and so on to construct sequence, and use the sequence combining with some approximately rectangle packing algorithm to solve the rectangular packing problem, and get better results. The multi-colony genetic algorithm is a modified algorithm based on basic GA. This article adopts the idea of the multi-colony genetic algorithm, utilizes double different initialize strategy to produce double separate colonies which possess near same numbers chromosomes. They take same genetic operators, and evolve side-by-side, and distribute the more excellent chromosome periodically. The article designs related operation of applying the simple multi-colony algorithm to solve RSPP, define the fitness function and introduce detailed how to apply this algorithms to generate the sequence. According to the Optimization Insert Algorithm based on the Lowest Horizontal Line and this fitness function, the sequence achieves the value of the fitness function and generates layout designs. Compared with the fitness value of the sequence, the better packing designs are achieved.Then, base on the proposed algorithm, we plan and design the system’s basic functional modules and a system of computer optimizing nesting is developed. Through numerous examples of testing, the algorithm is compared with the test result of some genetic algorithm and random algorithm. The experimental results indicate that our algorithm of this system is validity about sheet utilization and packing time.Lastly, author conclude the research on rectangular packing problem and put forward the orientation of the future work.
Table of contents
Chinese Abstract 3-5
Abstract 5-10
first chapter 10-14
1.1 computer-aided to optimize nesting Introduction
1.2 rectangular pieces nesting Category 10-11
1.3 rectangular pieces nesting problems of complexity theory 11-12
1.4 issues at home and abroad Dynamic 12-13
1.5 research content 13
1.6 thesis chapter organization 13-14
genetic algorithm 14-19
2.1 Genetic Algorithm theory 14
2.2 Genetic Algorithm basic steps 14-17
2.2.1 coding problems 15-16
2.2.2 Population initialization 16
2.2.3 fitness function 16
2.2.4 Genetic operators 16-17
2.3 genetic algorithm progress 17-19
2.3.1 basic genetic algorithm improvements 18
2.3.2 Hybrid Genetic Algorithm 18-19
Chapter based genetic algorithm rectangular pieces with nesting algorithm 19-26
3.1 rectangular pieces based on genetic algorithm with nesting algorithm 19-23
3.1.1 BL algorithm 19-20
3.1.2 down the steps algorithm 20-21
3.1.3 minimum horizontal line algorithm 21-23
3.1.4 search algorithm based on the lowest horizontal 23
3.2 preferential insertion algorithm based on the lowest horizontal line 23-26
3.2.1 merit-based strategy 23-24
3.2.2 the insertion strategy 24-26
Chapter genetic algorithm to solve the problem of rectangular pieces with nesting 26-34
4.1 genetic algorithm to solve rectangular pieces with the lack of nesting improvement 26-27
4.2 genetic algorithm process 27-28
4.3 chromosome encoding The 28
4.4 heuristic initial population generation strategy 28-29
4.5 fitness calculation 29-30
4.6 genetic operators 30-33
4.6.1 crossover operator 30-31
4.6.2 mutation operator 31-32
4.6.3 Select operator 32-33
4.7 allocation Jiaoyou chromosome 33-34
the fifth chapter rectangular pieces develop and experiment with layout system for computing 34-43
5.1 rectangular pieces with nesting system developed 34
5.2 Experimental calculation 34-41
5.2.1 First Example 34-37
5.2.2 second set of examples 37-39
5.2.3 Third Example 39-40
5.2.4 Fourth Example 40-41
5.3 experimental results analysis 41-43
Chapter Summary and Outlook 43-44
the
References 44-47
studying for a master's degree during the thesis 47-48
Acknowledgements 48-49
Related dissertations
- An Exact Algorithm for Generating Optimal Four-block Patterns of Rectangular Blanks
- An Exact Algorithm for Generating Optimal Three-block Patterns of Rectangular Blanks
- The Research on Optimization Algorithms for One-dimensional Cutting Stock Problems
- The Analysis and Optimization of Warehouse Management System Based on Rfid Technology
- Optimization in Production Scheduling
- Study of Coal Logistics Network Optimization Based on Reliability Constraint
- Research and Development of the Layout System for the Near Optimal Cutting of Circular Blanks
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- Research on the Investment Decision of Chinese Financial Market Based on Chaos Theory
- The Optimization of Fund Contract in the Perspective of Governance Structure
- Research of Short Selling Trading Strategies Based on Copula Theory
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization