Multiproduct Inventory Systems with Upgrading: Replenishment, Allocation, and Online Learning - BizPub.ai