Pošljite SMS: Foundations of optimization