Title: Optimization of work-in-process inventories in job-shops