Invia SMS: Generalized Convexity and Optimization