Demand-Driven Allocation And Replenishment