Invia SMS: Engineering plasticity by mathematical programming