The Comparison and Improvement of Algorithms for Solving the 0-1 Knapsack Problem

Author
ZhuYueAn
Advisor
MengXiaoHua
School
Jinan University
Major
Computer Software and Theory
Classification
TP301.6 Algorithm Theory
Degree
Master's thesis
Year
2011
Downloads
299
Citations
0

Request the full text

Abstract

From the computational complexity point of view, the knapsack problem is an NP-hard problem. For half a century, the problem has been one of the hot spots of the algorithm complexity. Knapsack problem in information encryption, budget control, project selection, material cutting, loading of goods, the important value applications such as network and information security. Therefore, the method for solving the knapsack problem, both in theory and in practice has a certain significance. The major work done in the paper are as follows: (1) using classical algorithm for the 0-1 knapsack problem, and design a hybrid algorithm based on two table thinking. (2) space complexity the hybrid algorithm RKP improved algorithm for solving 0-1 knapsack problem. The RKP algorithm combined with dynamic programming algorithm and the divide-and-conquer strategy, only O (C) space complexity in case time complexity of O (nC) 0-1 knapsack problem. And in the premise without backtracking step obtained items into the backpack. (3) dynamic programming to solve the 0-1 knapsack problem serial algorithm is extended to a parallel algorithm. The analysis showed that: vertically partitioned table area parallel dynamic programming algorithm affected by the weight of the article to cause the processor to access data difficult, heavy burden on system bandwidth and code complexity; contrast, horizontal partitioning table area parallel dynamic programming algorithm has more The big advantage. For each processor, each treatment the columns of the data block size is b '= (?) (Where C is the capacity backpack, p is the number of processors, n is the number of optional items, γ, β, χ constant), the parallel algorithm with optimal performance. Subsequently, with the dominant technology dynamic programming the serial algorithm extended parallel algorithm. In the case of load balancing, the time complexity of the algorithm is O (min (?)). (4) Finally, the experiments show different characteristics of various algorithms for solving different classes of 0-1 knapsack problem, the conclusions are as follows: general dynamic programming algorithm proposed in this paper RKP algorithm is insensitive knapsack problem category, and also in solving strong correlation, not very different from the time-consuming when weakly correlated and uncorrelated knapsack problem; poor performance hybrid algorithm based on two table thinking in solving strong 0-1 knapsack problem; surprising in Dantzig performance is bounding function value bound as branch-and-bound algorithm for solving strongly correlated knapsack problem performance performance than backtracking; the recursion method only adapt to the problem of the small-scale, and they are strengthened in solving 0-1 knapsack problem poor.

Table of contents

Abstract 4-6 Abstract 6-8 directory 8-9 first chapter 9-12 the topic 1.1 significance with background 9-10 1.2 research 10-11 1.3 paper is organized 11-12 classical algorithm for knapsack problem 12-39 2.1 recursive algorithm 12-13 2.2 greedy algorithm 13-18 2.3 backtracking algorithm 18-21 2.4 branch-and-bound algorithm 21-35 2.5 dynamic programming algorithm 35-38 2.6 This chapter Summary 38-39 Chapter solutions knapsack problem dynamic programming algorithm improvements 39-48 3.1 RKP algorithm 39-43 3.2 with dynamic programming algorithm dominant technology 43-45 3.3 hybrid algorithm based on two table thinking 45-46 3.4 This chapter Summary 46-48 Chapter IV solution knapsack problem dynamic programming algorithm parallelization expansion 48-62 4.1 General dynamic programming algorithm parallelization expansion 48-51 dynamic programming algorithm 4.2 with disposable parallel extensions 51-61 4.3 Chapter Summary 61-62 algorithm performance 62-73 5.1 knapsack problem classification 62 the of 5.2 experiments comparing the serial algorithm features 62-70 5.3 hybrid algorithm with general dynamic programming algorithm further 70-71 5.4 This chapter Summary 71-73 Chapter Summary and Outlook 73-74 6.1 summarizes 73 6.2 Looking 73-74 the References 74-79 the published during the master's degree and to participate in the project of 79-80 Acknowledgements 80

Related dissertations

  1. The Research of Vehicle Routing Problems with Transshipment Points
  2. Hybrid Genetic Algorithm and Their Applications
    YunWenXia ·Northwest Normal University ·2013 ·Master's thesis
  3. Research and Application on the Hybrid Algorithm of PSO And ABC
  4. Study on Hybrid Neural Network Application in Petroleum Price Prediction
    HuShan ·Nanchang University ·2013 ·Master's thesis
  5. Traffic Video_Based Realtime Vehicle Driving Status Recognition Algorithm Research
    CongZhiHuan ·Liaoning Normal University ·2012 ·Master's thesis
  6. Regularization Algorithm Study on Image Reconstruction for Electrical Capacitance Tomography
    LiCuiHuan ·Hebei University of Technology ·2012 ·Doctoral dissertation
  7. Hybrid Algorithm for Vehicle Routing Problem
    GuanWeiLi ·Guangxi University ·2013 ·Master's thesis
  8. Research and Application for Swarm Intelligent Fusion Algorithm
    LiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  9. Design of MIMO Radar Orthogonal Polyphase Code Based on Genetic Tabu Algorithm
    ZhaoJunJie ·Harbin Engineering University ·2013 ·Master's thesis
  10. Studies on Hybrid Multi-objective Optimization Method and Its Applications to Boiler Load Distribution in Power Plant
    YuChenLong ·Zhejiang University ·2013 ·Doctoral dissertation
  11. Multi-objective Optimization Method for Elevator Group Control System
    Wu ·Shenyang University of construction ·2013 ·Master's thesis
  12. The Research of Short-term Optimal Operation of Dayingjiang Cascade Hydropower Station
  13. Production Planning and Production Scheduling for Automobile Parts Based on Hybrid Algorithm
  14. Research on Ballast Water Technology of Slippage Shipment Process of the Large Structure
    PengZhiXiang ·Tianjin University ·2012 ·Master's thesis
  15. Hybird Genetic Algorithms on Solving Multi-Peak Optimization Problems and Application
    GaoJingHui ·Yanshan University ·2012 ·Master's thesis
  16. The Study on Critical Path Problem in Stochastic Environment
    LiZhenHong ·Hebei University ·2013 ·Master's thesis
  17. Research of Some Scheduling Problems Base on Hybrid Intelligent Algorithm
    QiuJieWen ·South China University of Technology ·2013 ·Master's thesis
  18. Research and Implementation on IPv6Support Online Proxy Technology
    LiaoQingWei ·Harbin Institute of Technology ·2013 ·Master's thesis
  19. Research on Chinese Dependency Parsing Based on Statistical Methods
    RenXiaoNa ·Shenyang Aerospace University ·2011 ·Master's thesis
  20. Research about RFID Tags Hybrid-Anti-Collision Protocol
    ChenZhongPing ·Nanchang University ·2012 ·Master's thesis