Title: convexity and optimization in finite dimensions 1