The practice of increasing or decreasing prices based on demand has been compared to the way airline tickets and hotel rooms are sold.