As technology improves, we will see more and more personalized pricing. Instead of figuring out an overall “optimal” price, companies will be able to figure out what the optimal price is for you.
Take airlines for example. They’ve long had variable pricing. The essential gist of their pricing has been to separate business travelers (with low price elasticity) from leisure travelers (with high price elasticity). They’ve done this with mechanisms like advance purchase requirements and Saturday-night stay requirements.