Pricing and Output Optimization