I'd suggest that a better denominator would be |best_mip - root_lp|
That would make the formula immune to shifts and scalings.
It would also ensure that the gap was never greater than 100% .
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword." -- Lily
Help-glpk mailing list