Simultaneous optimization of production planning and inspection planning for flexible manufacturing systems