Unit 4: Optimal input procurement