Dynamic Programming Vs Mixed Integer Programming