Profit calculations and constraints