How should a firm make joint production and replenishment decisions in a make-to-order setting where it can use either of two kinds of raw materials (or their mixture) to produce an end product using a shared production line with stochastic capacity? The problem is motivated by the practice of...