Invia SMS: Optimization theory for large systems