Operations Research, Optimization, Python.
Such policy is called “Optimal Policy”. Optimal policy satisfies a set of equations known as “Bellman Optimality Equations”, and DP is an algorithm that finds the optimal policy based on Bellman equations in discrete state-action spaces. I hope you find this high level explanation of how to