|
From: | Jeroen Demeyer |
Subject: | Re: [Help-glpk] glpk 4.57 release information |
Date: | Mon, 09 Nov 2015 07:45:06 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
On 2015-11-09 00:08, Andrew Makhorin wrote:
The glpk reference manual says (6.1.13): If the hook routine returns, the application program is abnormally terminated. To prevent abnormal termination the hook routine may perform a global jump using the standard function longjmp, in which case the application program *must* call the routine glp_free_env.
I see. Unfortunately, this actually frees all memory allocated by GLPK before which means that future calls to glp_delete_prob() for example will generate an error. This makes it harder to use for me.
Jeroen.
[Prev in Thread] | Current Thread | [Next in Thread] |