Originally posted by: Laci Ladanyi
If the optimum is nonzero then eventually the sign of the best integer solution and the best dual bound will be the same, and from then on the gap will be sensible again. Also, if the optimum is 0 then as soon as a solution of value 0 is found (i.e., you "just" need to prove optimality) the relative gap will make sense again because of the 1e-10 shift in the divisor. So yes, eventually the relative gap can be used for termination. And, of course, there is the absolute gap as well that is checked for termination criteria. And if neither kicks in then sooner or later cplex will enumerate the whole tree, though it may take a while :-).
--Laci
#CPLEXOptimizers#DecisionOptimization