Save the solution.