The optimal planning of computerized manufacturing systems