{"title":"0-1背包问题的自适应最优并行算法","authors":"Kenli Li, Lingxiao Li, Teklay Tesfazghi, E. Sha","doi":"10.1109/PDP.2011.11","DOIUrl":null,"url":null,"abstract":"The 0-1 knapsack problem is well known to be NP-complete problem. In the past two decades, much effort has been done in order to find techniques that could lead to algorithms with a reasonable running time. This paper proposes a new parallel algorithm for the 0-1 knapsack problem where the optimal merging algorithm is adopted. Based on an EREW PRAM machine with shared memory, the proposed algorithm utilizes O((2^(n/4))^(1-e)) processors, 0 \\le ε \\le 1, and O(2^(n/2)) memory to find a solution for the n-element 0-1 knapsack problem in time O((2^(n/4))(2^(n/4))^e). Thus the cost of the proposed parallel algorithm is O(2^(n/2)), which is both the lowest upper-bound time and without memory conflicts if only quantity of objects is considered in the complexity analysis for the 0-1 knapsack problem. Thus it is an improvement result over the past researches.","PeriodicalId":341803,"journal":{"name":"2011 19th International Euromicro Conference on Parallel, Distributed and Network-Based Processing","volume":"34 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-02-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Adaptive and Cost-Optimal Parallel Algorithm for the 0-1 Knapsack Problem\",\"authors\":\"Kenli Li, Lingxiao Li, Teklay Tesfazghi, E. Sha\",\"doi\":\"10.1109/PDP.2011.11\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The 0-1 knapsack problem is well known to be NP-complete problem. In the past two decades, much effort has been done in order to find techniques that could lead to algorithms with a reasonable running time. This paper proposes a new parallel algorithm for the 0-1 knapsack problem where the optimal merging algorithm is adopted. Based on an EREW PRAM machine with shared memory, the proposed algorithm utilizes O((2^(n/4))^(1-e)) processors, 0 \\\\le ε \\\\le 1, and O(2^(n/2)) memory to find a solution for the n-element 0-1 knapsack problem in time O((2^(n/4))(2^(n/4))^e). Thus the cost of the proposed parallel algorithm is O(2^(n/2)), which is both the lowest upper-bound time and without memory conflicts if only quantity of objects is considered in the complexity analysis for the 0-1 knapsack problem. Thus it is an improvement result over the past researches.\",\"PeriodicalId\":341803,\"journal\":{\"name\":\"2011 19th International Euromicro Conference on Parallel, Distributed and Network-Based Processing\",\"volume\":\"34 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2011-02-09\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2011 19th International Euromicro Conference on Parallel, Distributed and Network-Based Processing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/PDP.2011.11\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 19th International Euromicro Conference on Parallel, Distributed and Network-Based Processing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PDP.2011.11","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Adaptive and Cost-Optimal Parallel Algorithm for the 0-1 Knapsack Problem
The 0-1 knapsack problem is well known to be NP-complete problem. In the past two decades, much effort has been done in order to find techniques that could lead to algorithms with a reasonable running time. This paper proposes a new parallel algorithm for the 0-1 knapsack problem where the optimal merging algorithm is adopted. Based on an EREW PRAM machine with shared memory, the proposed algorithm utilizes O((2^(n/4))^(1-e)) processors, 0 \le ε \le 1, and O(2^(n/2)) memory to find a solution for the n-element 0-1 knapsack problem in time O((2^(n/4))(2^(n/4))^e). Thus the cost of the proposed parallel algorithm is O(2^(n/2)), which is both the lowest upper-bound time and without memory conflicts if only quantity of objects is considered in the complexity analysis for the 0-1 knapsack problem. Thus it is an improvement result over the past researches.