Invia SMS: Optimal design of flexible manufacturing systems