Solves a defined IProblem<T> and returns the found solution (objective) values.
Implemented in ConstraintSolver< T >.