Evaluated the solutions for each sub-goal.