## Abstract

An n-element knapsack problem has 2^{n} possible solutions to search over, so a task which can be accomplished in 2_{n} 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 O(2^{n/8}) processors to solve the knapsack problem in O(2^{n/2}) time; that is, the cost of Chang et al.'s parallel algorithm is O(2^{5n/8}). In this paper, we propose a parallel algorithm to improve Chang et al.'s parallel algorithm by reducing the time complexity to be O(2^{3n/8}) under the same O(2^{n/8}) processors available. Thus, the proposed parallel algorithm has a cost of O(2^{n/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.

Original language | English |
---|---|

Pages (from-to) | 1985-1996 |

Number of pages | 12 |

Journal | Parallel Computing |

Volume | 22 |

Issue number | 14 |

DOIs | |

State | Published - 03 1997 |

Externally published | Yes |

## Keywords

- Cryptosystem
- Knapsack problem
- NP-complete problems
- Parallel algorithms