Contextualized Inventory Management