Invia SMS: The approximate minimization of functionals