4SC000 (2020-GS2) Optimal control and dynamic programming