[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] infinite loop
From: |
Andrew Makhorin |
Subject: |
Re: [Help-glpk] infinite loop |
Date: |
Wed, 13 Apr 2016 17:39:31 +0300 |
> 2) Can I do something to avoid the infinite loop with the version I'm
> using. This would be much preferred as the legacy code is
> undocumented. It would be best if I could eventually get some error
> from GLPK (and ignore this problem instance) rather it breaking the
> whole system.
>
> 3) I was considering running GLPK in an external process and killing
> it if no answer is produced in some time, yet this is laborious and
> would introduce problems with efficiency as the input for the process
> would have to be serialized and then parsed.
>
You may specify the time limit. For more details please see the glpk
reference manual included in the distribution tarball.