0-1背包问题的自适应最优并行算法

Kenli Li, Lingxiao Li, Teklay Tesfazghi, E. Sha
{"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}
引用次数: 3

摘要

众所周知,0-1背包问题是np完全问题。在过去的二十年里,为了找到能够产生具有合理运行时间的算法的技术,已经做了很多努力。本文提出了一种新的0-1背包问题并行算法,该算法采用最优归并算法。该算法基于具有共享内存的EREW PRAM机器,利用O((2^(n/4))^(1-e))个处理器,0 \le ε \le 1和O(2^(n/2))内存,在O((2^(n/4))(2^(n/4))^e)时间内找到n元素0-1背包问题的解。因此,本文提出的并行算法的开销为O(2^(n/2)),在对0-1背包问题进行复杂度分析时,如果只考虑对象的数量,该算法既具有最小的上界时间,又不存在内存冲突。这是对以往研究的一种改进。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信