Research and Implementation of Parallel Genetic Algorithm Based on Multi-Core Computers
- Author
- CaoZuoZuo
- Advisor
- LiJingZuo
- School
- Northeastern University
- Major
- Computer Software and Theory
- Classification
- TP18 Artificial intelligence theory
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 62
- Citations
- 0
Abstract
Nowadays Genetic Algorithm is still a hot spot in the area of Evolutionary Computation, and resolving the Traveling Salesman Problem is an application using Genetic Algorithm. Traditional Genetic Algorithm is not applicable to large-scale traveling salesman problems anymore, so new algorithms should be raised or the better of the traditional ones should be advanced. Parallelism is a feature of Genetic Algorithm which is implicit, and the appearance of multi-core computers expounds the development space of Parallel Genetic Algorithm based on multi-core platforms.This thesis first compares several kinds of parallel genetic algorithms, and then recommends multithreading technology of multi-core computers to the Improved Genetic Algorithm to introduce the Multithreading Parallel Genetic Algorithm for large-scale traveling salesman problems. This new algorithm uses multithreads to control multi-populations’synchronous evolution. Populations transfer their optimum chromosomes after they all evolved into the migration generation. In this way, the diversity of populations can be amplified and the search efficiency can be increased both in over-all and partial occasions.This thesis uses Microsoft Visual Studio2010as the multi-core parallel programming environment. According to the Parallel Patterns Library of VS2010, the concept’Thread’is substituted by’Task’to implement the multithreading algorithm and the Traveling Salesman Problem-Solving System based on multi-core computers is finally accomplished.Ultimately, the algorithm proposed in this thesis is tested in three ways on a single multi-core computer:lateral comparison test, longitudinal comparison test and load balance performance test. The results demonstrate that this algorithm is effective for large-scale traveling salesman problems. It can figure out superior results better than most of the serial-running genetic algorithms especially when the sum of cities of the problem is about400to1000, and the relative error of accuracy according to TSPLIB is not more than3.14%. Meanwhile, it’s a load balance algorithm since it takes full advantage of each CPU of multi-core computers.
Table of contents
Summary 5-6
Abstract 6-11
Chapter 1 Introduction 11-15
1.1 Background 11-12
1.2 research status 12-13
1.3 significance 13-14
1.4 thesis structure 14-15
2 knowledge chapter describes 15-29
2.1 Introduction to genetic algorithms 15-18
2.1.1 The term describes 16
2.1.2 solved using GA process issues 16-17
Features 2.1.3 GA 2.2 genetic Algorithm for TSP mathematical description of the problem nbsp 17-18
; 18-22
2.2.1 TSP problems outlined 18-20
2.2.2 GT algorithm 20-22
2.3 multicore platforms and multi-threading technology 22-24
2.4 multithreaded parallel development tools 24-27
2.4.1 OpenMP 24-25
2.4.2 Intel threading Building Blocks 25-26
2.4.3 parallel Patterns Library and task Parallel Library 26-27
2.5 Summary 27-29
Chapter 3, multi -threaded parallel genetic algorithm design 29-37
3.1 algorithm is expected to achieve the objectives 29
3.2 algorithm described 29-36
3.2.1 improved single thread of execution Guo Tao algorithm 31-33
3.2.2 thread synchronization control between 33-34
3.2.3 individual migration rules 34-36
3.2.4 final screening and optimization of stopping conditions 36
3.3 Summary 36-37
Chapter 4 Multi -threaded parallel implementation of genetic algorithm 37-51
4.1 development environmental 37-38
4.1.1 hardware development platform 37
4.1.2 software development environment 37-38
4.2 function modules 38-50
4.2.1 city coordinates read from the file data 39-40
4.2.2 parallel initialization 40-42
4.2.3 parallel genetic evolution 42-46
4.2.4 parallel to find the worst individual 46-47
4.2.5 parallel Switch optimum individual 47-48 <br / > 4.2.6 centralized screening outstanding individual 48-50
4.3 Summary 50-51
Chapter 5 System test 51-67
5.1 experimental environment 51
5.1.1 hardware environment 51
5.1.2 software environment 51
5.2 This algorithm comparison with other algorithms 51-61
5.3 performance evaluation parameters 61-64
5.3.1 the number of parallel tasks performance tests against 61-62
5.3.2 for population scale performance testing 62-63
5.3.3 for performance testing migration interval 63-64
5.3.4 performance Testing for the mutation rate of 64
5.4 multicore load testing 64-66
5.5 summary 66-67
Chapter 6 Conclusion 67-69
6.1 nbsp summary ; 67-68
6.2 future Work Prospects 68-69
References 69-75
Thanks 75-77
Master's thesis during the study published 77
Related dissertations
- Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
- Study on the dynamic path of job shop scheduling problem based on parallel genetic algorithm
- Application Research of parallel genetic algorithm in weight in the planning problem
- Data Analysis Based on Game Gold Trading Market
- A Semi-distributed Urban Rainfall-runoff and Non-point Source Pollution Simulation System
- Research on the Reconstruction of Gene Regulatory Network Based on Differential Equations Network Model
- Application Research of 6 Fuzzy Logic Controllers Parallel Genetic Algorithms on One PC-based Cluster of Workstation in Multisensor Multitarget Tracking
- Study on Dynamic Traffic Assignment of Traffic Network and the Related Problems
- Parallel networks and genetic algorithms in the biological effects of HPM radiation antenna design evaluation and application of
- Simulation and Prediction of Anaerobic Bioreactors Based on Neural Network and Estimation of Their Operation State
- Theory and Application Research on Displacement Back Analysis of Transversely Isotropic Rock Mass
- Research on Aerodynamic Optimization Design of Fan/Compressor Blade Using Parallel Genetic Algorithm
- Application and Research of Logistics Vehicles Dispatching System Based on Parallel Genetic Algorithm
- Multi-objective Evolutionary Algorithm and Its Application in Optimization Problems
- Research of Parallel Distributed Evolutionary Computation Based on Internet
- The Application of PGA on a New Optimal Design of Water Supply Networks
- Traffic flow forecasting with flow
- Parallel Genetic Algorithm and Its Distributed Application on the Combination Optimum Problem
- Parallel genetic algorithm for job shop scheduling problem
- Research on Genetic Algorithm and Its Application in System Identification