Invia SMS: Dynamic optimization and economic applications/