Even though parallel programming has been in use for a long time, many researchers are still dealing with the topic of parallel implementation of dynamic programming, as solving optimization problems involves a lot of computing, even using dynamic programming. In this work, we focus on Rank-1 method for problems of dynamic programming that belong to the linear-tropical dynamic programming class of problems. The method is tested on various randomly generated input data and using the Bellman-Ford algorithm and seam carving algorithm. In case of the Bellman-Ford and seam carving algorithms, the parallel Rank-1 method does not show any improvements, compared to the sequential implementation of those algorithms. In case of randomly selected input data, we see that the speed of solving the problem depends on how many input matrices are of rank 1. In case that at least one matrix has rank 1, the algorithm can already bring some improvements.
|