Hello Morton,

Use an error hook function for fault isolation. When you delete the environment in the hook function no leak will occur.

Call glp_error in a terminal hook function to abort the optimizer.

Regards

Heinrich
On 1/20/17, 17:52 Morten Welinder <[email protected]> wrote:
> Please, use the library API for interfacing.

While one could do that, it has downsides: lack of fault isolation and
name space
separation. There would also not seem to be any way to cancel an optimization
at an arbitrary time without risk of leaks and/or bad state.

Morten





On Fri, Jan 20, 2017 at 10:26 AM, Heinrich Schuchardt
<[email protected]> wrote:
> Hello Morton,
>
> Please, use the library API for interfacing.
>
> Best regards
>
> Heinrich
>
_______________________________________________
Bug-glpk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-glpk

Reply via email to