bug-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-glpk] [Fwd: glpsol's --write format changed]


From: Heinrich Schuchardt
Subject: Re: [Bug-glpk] [Fwd: glpsol's --write format changed]
Date: Fri, 20 Jan 2017 19:48:05 +0100

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 <address@hidden> 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
<address@hidden> wrote:
> Hello Morton,
>
> Please, use the library API for interfacing.
>
> Best regards
>
> Heinrich
>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]