Production process and inventory management for machine tool companies: analysis and development of optimisation models