Title: Foundations of Optimization in Finite Dimensions