> I want to print the gap of the mip problem. 
> But, the out put of the glp_ios_mip_gap(tree) routine is a very large number.
>  
> >fprintf(f, "Final Toralance %2.1lf \n", glp_ios_mip_gap(tree));
> 
> output>179769313486231570814527423731704356798070567525844996598...........
> 

This large number is DBL_MAX (1.798e308 for 64-bit IEEE 754) defined in
<float.h>. It is returned by glp_ios_mip_gap if no integer feasible
solution has been found yet.


_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to