Seol mar théacs é seo: Understanding and Optimizing Inventory in Supply Chains