MPI-based parallel genetic algorithm for 0-1 knapsack problem Applied Research

Author
WuYun
Advisor
JiangZuo
School
Kunming University of Science and Technology
Major
System Analysis and Integration
Classification
TP18 Artificial intelligence theory
Degree
Master's thesis
Year
2011
Downloads
104
Citations
0

Request the full text

Abstract

Genetic algorithms as a global optimization based on natural selection and the search algorithm, with its simple and universal, implicit parallelism, which is widely used in various fields of science in engineering. Genetic algorithm is intelligent optimization algorithms compute one of the most important, has been successfully used in many large-scale combinatorial optimization problems. However, genetic algorithm in solving large-scale problems, although in theory be able to get global optimal solution, but in practice there exists convergence speed, so that can not get better results. Knapsack problem is a common area in operations research typical combinatorial optimization problem, but also other complex combinatorial optimization problems with a sub-problem, many of the problems in life can be transformed into a knapsack problem to solve, so the research has important applications knapsack problem value. To solve the above problems, read a lot of literature, based on the proposed MPI-based parallel genetic algorithm to solve 0-1 knapsack problem. The algorithm can be selected resource knapsack problem and genetic algorithm parallelism inherent parallelism combining, which greatly improves the efficiency of search and solution quality. This article will use traditional genetic algorithms and coarse-grained parallel genetic algorithm to solve knapsack problem, the final comparative analysis of the two algorithms, the main contents are as follows: First, the introduction of the genetic algorithm knapsack problem in the research status, genetic algorithm basic structure and mathematical theory; then expounded parallel computer architecture, parallel programming theory, parallel algorithms and performance analysis, and MPI parallel programming knowledge, and use MPICH build a Windows-based operating system minicomputer group system; then described in detail parallel genetic algorithm and MPI-based parallel genetic algorithm programming, the use of coarse-grained parallel genetic algorithm for the 0-1 knapsack problem analysis program design and implementation. This paper respectively 20, 50 backpack items for testing. Mainly studied the parallel genetic algorithm and traditional genetic algorithm in the number of different machines, processes, and maximum number of hereditary algebra conditions, the total value of goods loaded, fitness, running time were analyzed and compared. Experimental results show that the coarse-grained parallel genetic algorithm has higher speed ratio, which improves the speed of operation, reduces the average overhead time, changed the traditional genetic algorithm operating mechanism to increase the diversity of population, to avoid the premature convergence phenomenon .

Table of contents

Abstract 3-4 Abstract 4-9 first chapter 9-12 1.1 The purpose of this study and significance 9 1.2 domestic and international research and development status 9-11 1.3 The main contents 11-12 second chapter the basic theory of genetic algorithms 12-21 2.1 of biological evolution and genetic algorithm 12-13 2.2 GA basic structure 13-15 2.2.1 initial population 13 2.2.2 encoding method 13-14 2.2.3 Genetic Operators 14 2.2.4 fitness function 14-15 2.2.5 stopping criterion 15 2.3 Genetic Algorithm 15-17 2.3.1 Select the operator to achieve 15 2.3 .2 crossover realization 15-17 2.3.3 mutation operator to achieve 17 2.4 Genetic Algorithm mathematical theory 17-19 <br / > 2.4.1 schema theorem 17 2.4.2 Model Theory 17-19 2.5 standard genetic algorithm is the basic framework 19-21 first chapters parallel computing 21-33 3.1 parallel computers introduced 21-24 3.1.1 parallel computer classification 21-22 3.1.2 parallel computer architecture model 22-24 3.2 parallel programming model 24-25 3.3 Parallel Algorithms for 25-26 3.4 Parallel algorithm performance analysis 26-27 3.5 MPI Overview 27 3.6 MPI parallel programming knowledge 27-30 3.6.1 MPI program basic structure 27-28 3.6.2 MPI basic function 28-30 3.7 parallel platform to build 30-33 Chapter nbsp Parallel Genetic Algorithm ; 33-36 4.1 master-slave parallel genetic algorithm 33 4.2 Coarse-grained parallel genetic algorithm 33-34 4.3 nbsp fine-grained parallel genetic algorithm ; 34 4.4 Parallel Genetic Algorithm situation 34-36 Chapter coarse-grained parallel genetic algorithm for 0-1 knapsack problem in the realization 36-46 5.1 0-1 knapsack problem model describes 36 5.2 0-1 knapsack algorithm design 36 5.3 0-1 knapsack algorithm 36 -40 5.3.1 0-1 knapsack Encoding 37 5.3.2 0-1 knapsack fitness calculation 37 5.3.3 Genetic Operators 37-38 5.3.4 algorithmic process 38-40 5.4 parallel genetic algorithm program structure 40-41 5.4.1 master process messaging 40 5.4.2 sub-process messaging 40-41 5.4.3 next generation of computing 41 5.5 Case Analysis and Results 41-46 5.5.1 test environment 41 5.5.2 Performance Analysis 41-46 Chapter VI Conclusion 46-47 < br /> References 47-50 Thanks 50-51 Appendix A parallel genetic algorithm to solve 0-1 knapsack problem program 51-60 <br / > Appendix B master's degree meantime published catalog 60

Related dissertations

  1. Parallel Genetic Algorithm and Application Research of Task Scheduling in Grid
    LiuWenJuan ·Hebei University of Engineering ·2013 ·Master's thesis
  2. Study on Distributed Large-scale Microscopic Traffic Simulation
    MaWenXue ·Chang'an University ·2013 ·Master's thesis
  3. Concurrent design some deterministic algorithm based on MPI
    ChenLongZuo ·Tianjin Normal University ·2013 ·Master's thesis
  4. The Study of Three-dimensional Magnetotelluric Occam Inversion Based on MPI Parallel Algorithm
    LiuJunFeng ·Donghua Polytechnic University ·2013 ·Master's thesis
  5. Research on Application of perfectly matched layer boundary and parallel FDTD algorithm in integrated photonic based
  6. Parallelization of TOUGHREACT Using MPI
    LiWeiShan ·Jilin University ·2012 ·Master's thesis
  7. Parallel Computing for Multi-pinhole SPECT Reconstruction Algorithm
    LiuLu ·Tsinghua University ·2012 ·Master's thesis
  8. Parallel Programming and Optimization Based on Multi-core Processors
    Wang ·Nanjing University ·2012 ·Master's thesis
  9. Balance Parallelization of Dissipative Particle Dynamics
  10. Parallel Algorithm Research of the Laplace Transform and Its Application Based on MPI
    ZhangJiWei ·Hubei University ·2011 ·Master's thesis
  11. Research and Achieve of the Parallel Algorithm of the Matrix Computing on More Processors
    GaoShuo ·Hubei University ·2011 ·Master's thesis
  12. Research on the Parallel Algorithms in Acoustic Field Time Domain Signal Prediction
    LiYunHe ·Harbin Engineering University ·2012 ·Master's thesis
  13. Research and Implementation of Small Linux-Based Cluster
  14. Research of Parallel Statistical Cost Flow Phase Unwrapping Algorithm Based on Network Flow Model
    ChenGuoDong ·Chengdu University of Technology ·2012 ·Master's thesis
  15. Research on Lidar Data Filtering Method Using Parallel Platform
    ZhengHanZhi ·Southwest Jiaotong University ·2011 ·Master's thesis
  16. Some Applications of Parallel Computing in Information Security
    SongLi ·Yunnan University ·2012 ·Master's thesis
  17. Research on Application of Parallel Computation to Marine Water Quality Forecast System of Jiaozhou Bay
    NiuPei ·Hebei University of Engineering ·2012 ·Master's thesis
  18. Parallel Regularization Inversion of2-D MT Data Based on MPI
    LiuPengMao ·Central South University ·2012 ·Master's thesis
  19. Parallel Solution of Finite Element Equations Using Multi-color SSOR-PCG
    XuHeWei ·Yangtze River Scientific Research ·2012 ·Master's thesis
  20. Static scheduling of parallel tasks on distributed memory multiprocessors
    ZhangJun ·Institute of Computing Technology ·1999 ·Doctoral dissertation