> Is there a simple way to determine if an optimization run using glpsol
> was terminated because the relative MIP gap tolerance was reached or
> because the time limit was exceeded?

No. In both cases glpsol returns EXIT_SUCCESS.

(BTW, the C standard defines only two values returned by main:
EXIT_SUCCESS and EXIT_FAILURE. The GNU Coding Standards also recommend
not to use exit codes other than 0 and 1.)

>  
> I can use terminal capture then read the text file but would prefer to
> use the exit code.
>  




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

Reply via email to