Title: Elements of Dynamic Optimization