Add support for exact solutions to MyProblem base