This is case study from analyticsvidhya.com. it was done using R programming for optimizing product prices. I've done that same in python using. below is the link of case study initialy it was published -
https://www.analyticsvidhya.com/blog/2016/07/solving-case-study-optimize-products-price-online-vendor-level-hard/
This study and code gives the optimized prices for all the products available in data source proided by the Vendor or given with case study using the price sensitivity of the product.