Optimization and profit: Outsourcing