GENERATING OPTIMAL TARIFFS IN THE MARKETPLACE