Move SVMProblem to a new file and add a unit test for Solver