Efficient sampling-based energy function evaluation for ensemble optimization using simulated annealing. (November 2020)