Parallel Environment0-1Knapsack Problem Solving Strategy
- Author
- MengXiaoXiao
- Advisor
- LiYueXin
- School
- Hubei University
- Major
- System Analysis and Integration
- Classification
- TP338.6 Parallel computer
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 14
- Citations
- 0
Abstract
In this thesis, the0-1knapsack problem-solving strategy theory. Papers in the pipeline technique and0-1knapsack problem based on theoretical studies, the pipeline of technology into items to be placed in bags in the preparatory work, with "greedy algorithm"thinking to solve the0-1knapsack problem.0-1knapsack problem on a large scale in order to effectively solve.0-1knapsack problem (Knapsack Problem, referred to as KP) is a classical combinatorial optimization problems, has broad application background. Many of the problems in life can be used to describe the knapsack problem, such as resource allocation, storage load, capital budget, storage allocation and project selection and so on knapsack problem can be modeled, and it is often used for other combinatorial optimization problems of a complex sub-problems. But when the scale is too large knapsack problem, if desired optimal solution is extremely difficult, to carry out large-scale studies0-1knapsack problem is significant.The traditional method of solving knapsack problem can be divided into two categories: exact algorithms (such as dynamic programming, branch and bound, backtracking, etc.) and approximate algorithms (eg greedy algorithm). Because the time complexity of exact algorithms is exponential growth, so gradually from the sixties made a number of approximation algorithms.In addition, pipelining is widely used in micro-processing chip, a key technology, his instructions to the CPU inside the modalities for the implementation of the parallel operations in space. The assembly line technology into the preparation phase of the0-1knapsack problem, knapsack problem will have some improving overall efficiency. After reading a lot of foreign literature, based on the0-1knapsack problem is proposed a new solution strategy. This paper introduces the concept of parallel machines, pipeline technology, and common thinking and problem solving0-1knapsack their respective performance is analyzed. In the greedy algorithm, inspired by ideas, combined with the characteristics of0-1knapsack problem, we propose a improvement measures to achieve in large-scale environment, the case of a large amount of data to improve the search speed of0-1knapsack problem of reconciliation quality. This paper from the initial data entry, analysis, calculation, all aspects of starting at the overall performance improvement in all aspects.
Table of contents
Summary 5-6
Abstract 6-11
Chapter 1 Introduction 11-14
1.1 background and significance 11
1.2 and the main content of this thesis work 11-12
organization and structure of 1.3 papers 12-14
Chapter Two parallel computing 14-18
2.1 Introduction to parallel computing 14-15
2.1.1 parallel computing is defined 14
2.1.2 parallel computing research 14-15
2.2 parallel algorithms classification 15
2.3 parallel algorithm technology 15-18
classification 2.3.1 multicore parallel algorithms 16 <br / > Technical differences multithreaded 2.3.2 single and multi-core platforms 16-18
Chapter III pipeline technology 18-31
3.1 pipeline Profile 18-19
3.1.1 pipeline background 18-19
3.1.2 pipeline term 19
3.2 pipelining works 19-21
3.2.1 pipeline classification 19-20
3.2.2 pipeline features 20-21
3.3 pipelining performance 21-27
3.3.1 pipeline throughput 21-24
3.3.2 pipeline speedup nbsp 24-25
3.3.3 pipeline efficiency ; 25-26
section 3.3.4, the optimal number of pipeline 26-27
3.4 lines related 27-31
3.4.1 structurally related 28-29
3.4. 2 Data related 29
3.4.3 control relevant 29-31
Chapter 0-1 knapsack problem in combinatorial optimization 31-40
4.1 dynamic Programming basic idea 31-33
4.1.1 dynamic Programming 31
4.1.2 dynamic programming method for solving the basic steps 31-32
4.1.3 dynamic programming algorithm description and design 32-33
4.2 backtracking basic idea 33-35
4.2.1 backtracking solving basic steps 33-34
4.2.2 backtracking algorithm description and analysis of 34
4.2.3 backtracking 34-35
4.3 branch bound method basic idea 35-40
4.3.1 branch and bound method 35-36
4.3.2 branch and bound method for solving basic steps 36 <br / > 4.3.3 branch and bound algorithm description and design 36-40
Chapter V line technology introduced 40-43
5.1 control technology first operating mode 40
5.2 of implementation 40-42
5.3 for the knapsack problem doing preparatory work 42-43
Chapter 6, \-1 knapsack problem 43-54
6.1 greedy algorithm 43-46
6.1.1 the basic idea of ??the greedy algorithm 43
6.1.2 greedy algorithms for solving steps 43-44
6.1.3 greedy algorithm knapsack problem described 44-45
6.1.4 greedy algorithm 0-1 knapsack problem analysis with examples 45-46
6.2 greedy algorithm for 0-1 knapsack problem 46-54
6.2.1 the basic idea 46
6.2. 2 algorithm description and corresponding flow chart 46-47
6.2.3 Case Study 47-53
6.2.4 performance Analysis 53-54 <br / > Chapter VII summary and Outlook 54-55
References published during 55-57
master's degree thesis and project participation 57-58
Thanks 58
Related dissertations
- Concurrent design some deterministic algorithm based on MPI
- The Loss-of-efficiency Investigation and Analysis of Xinjiang Tomato on the Queuing Process of the Purchase and Sale
- Research on the optimization of reverse logistics network household appliance enterprises
- Loan Default Prediction Based on Imbalanced Data Classification
- The Stochastic Service System Model and Optimization Research about Order Batch-ing Problem for Logistics Distribution Center
- A Study of GPU-based Parallel Learning to Rank
- Research on System Stability for Haptic Rendering
- Research on Key Technology of Modeling and Rendering for Virtual Natural Scene
- Study on Distributed Large-scale Microscopic Traffic Simulation
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- Matching Algorithm Research Based on Graph Edit Distance
- Research on Boundary Face Method Base on GPU-acceleration
- Parallelization Research of Face Recognition and Texture Synthesis Algorithm Base on MATLAB Multi-core Clusters
- Research of Image Registration and Mosaic Technology Based on GPU
- Model Optimization Technique Based on Viewpoint-dependent and Application
- Research on Detection and Recognition of Traffic Objects in City Environments
- Research of Face Recognition Algorithm Based on Sparse Representation
- Human Action Recognition Based on Kinect Skeleton Information
- Study of adaptive beamforming processor based on GPU
- Study and Implementation of Fast Super-resolution Reconstruction Methods