Profit and production planning