Impact of scheduling frequency and shared capacity on production and inventory costs.