Moving equals() and hashCode() from AbstractGenericSolution to GenericBinarySolution (pending to be revised)