A parallel two-list algorithm for the knapsack problem
โ Scribed by Der-Chyuan Lou; Chin-Chen Chang
- Publisher
- Elsevier Science
- Year
- 1997
- Tongue
- English
- Weight
- 695 KB
- Volume
- 22
- Category
- Article
- ISSN
- 0167-8191
No coin nor oath required. For personal study only.
โฆ Synopsis
An n-element knapsack problem has 2" possible solutions to search over, so a task which can be accomplished in 2" trials if an exhaustive search is used. Due to the exponential time in solving the knapsack problem, the problem is considered to be very hard. In the past decade, much effort has been done in order to find techniques which could lead to practical algorithms with reasonable running time. In 1994, Chang et al. proposed a brilliant parallel algorithm, which needs 0(2"18) processors to solve the knapsack problem in O(2 "I*) time; that is, the cost of Chang et al.'s parallel algorithm is 0(25"/8 ). In this paper, we propose a parallel algorithm to improve Chang et al.'s parallel algorithm by reducing the time complexity to be 0(23n/*) under the same 0(2"/*) processors available. Thus, the proposed parallel algorithm has a cost of 0(2"/*). It is an improvement over previous literature. We believe that the proposed parallel algorithm is pragmatically feasible at the moment when multiprocessor systems become more and more popular.
๐ SIMILAR VOLUMES
Chang et al. [Parallel Comput. (1994) 233] introduced a parallel algorithm based on a shared memory SIMD architecture for the generation phase of the classic Horowitz and Sahni [J. ACM 21(2) (1974) 277] two-list serial algorithm for the knapsack problem. They claimed that their parallel generation p
We present two new algorithms for searching in sorted X ุ Y ุ R ุ S, one based on heaps and the other on sampling. Each of the algorithms runs in time O(n 2 log n) (n being the size of the sorted arrays X, Y, R, and S). Hence in each case, by constructing arrays of size n โซุโฌ O(2 s/4 ), we obtain a