Text this: Optimal Inventory and Safety Stock Level Determination