Solving knapsack problems on GPU

Publication year: 2012
Source: Computers & Operations Research, Volume 39, Issue 1, January 2012, Pages 42-47

V., Boyer , D., El Baz , M., Elkihel

A parallel implementation via CUDA of the dynamic programming method for the knapsack problem on NVIDIA GPU is presented. A GTX 260 card with 192 cores (1.4GHz) is used for computational tests and processing times obtained with the parallel code are compared to the sequential one on a CPU with an Intel Xeon 3.0GHz. The results show a speedup factor of 26 for large size problems. Furthermore, in order to limit the communication between the CPU and the GPU, a compression technique is presented which decreases significantly the memory occupancy.