An Efficient DP Algorithm on a Tree-Structure for Finite Horizon Optimal Control Problems · Study