How to Achieve Optimization in Outsourcing