GLPK uses |best_found - best_bound|/(|best_found| + DBL_EPSILON) .
A better formula would be to get rid of the absolute values and replace DBL_EPSILON with -lp_obj, the negative of the LP relaxation's objective value. The man that matters disagrees and is more interested in copying CLPEX. My suggestion can result in 0/0 iff the MIP has the same objective value as its LP relaxation. At that point, the MIP has been solved. -- Michael henne...@web.cs.ndsu.nodak.edu "Sorry but your password must contain an uppercase letter, a number, a haiku, a gang sign, a heiroglyph, and the blood of a virgin." -- someeecards _______________________________________________ Help-glpk mailing list Help-glpk@gnu.org https://lists.gnu.org/mailman/listinfo/help-glpk