Understanding Duality and Lagrangians in Optimization Understanding Duality and Lagrangians in Optimization