renamed evaluate_many to solve