Generalization of Cost Optimization in (S-1, S) Lost Sales Inventory Model