Title: Optimization in Quality Control