結果 : dynamic programming method for solving the lpp