A cooperative game theory model of quantity discounts