I am trying to write a small price optimization engine that optimizes revenues given a list of articles.
I have a list of articles and for each of them, I have its price elasticity of demand. My constraints are currently not defined, however, there will be definitely something putting a roof to the maximum price and the minimum price.
Currently, I am stuck in finding a way in which I could write down to the model the relationship of price and price elasticity, more precisely the model should have a constraint that understands that if an item is very elastic changing its price will affect a lot of quantity sold.
Moreover, I am actually not sure which kind of data I really need as input variables. Do I need something like a list of prices and quantity sold at different price points?