# File ai/csp/backtracking.rb, line 62 def first_solution(csp) each_solution(csp) { |solution| return solution } nil end