Seol mar théacs é seo: Production and Inventory Management with Substitutions