Add SolverData method to the python binding.