Text this: An optimization in management of inventory system for pipeline : a case study