Inventory Replenishment Policy for Linearly Increasing Demand Considering Shortages—An Optimal Solution