Seol mar théacs é seo: A computational model for inventory management and planning