getOptimalityGap() for MIP solvers.