Stats in ProblemSolution are an option now, so in case maxIterations is <= 0 we skip inference.