https://123dok.net/document/y6epl2k5-dynamic-programming-parallel-implementations-for-the-knapsack-problem.html