Renamed TwoValuePair to SolverSolutionPair and also made the class private.