SMS dit: Engineering plasticity by mathematical programming