A computationally efficient algorithm for computing convex hull prices. (January 2022)