[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] determine reason why search is terminated
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] determine reason why search is terminated |
Date: |
Thu, 16 Feb 2012 09:48:43 +0300 |
> 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.
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-glpk] determine reason why search is terminated,
Andrew Makhorin <=