OnlineLearningApplications Design and implementation of an algorithm to solve an online pricing problem