Text this: Improved dynamic programming method for solving multi-objective and multi-stage decision-making problems