Adding a createSolution() method to SimpleRealProblem