New: maximumproductionandminimumcost