help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] [Fwd: Solutions upon timeout]


From: Heinrich Schuchardt
Subject: Re: [Help-glpk] [Fwd: Solutions upon timeout]
Date: Wed, 18 Jan 2017 07:31:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.6.0

Hello Pietro,

your message had to be forwarded manually because you are not subscribed
to the GLPK help list, cf.
https://lists.gnu.org/mailman/listinfo/help-glpk

Yes, glp_mip_col_val will return the best known integer
feasible solution.

You can use glp_mip_status to find out if any integer solution exists
and if this solution is optimal.

For a description see glpk-4.60/doc/glpk.pdf of the source distribution
available at
http://ftp.gnu.org/gnu/glpk/glpk-4.60.tar.gz

Best regards

Heinrich

On 01/17/2017 04:58 PM, Andrew Makhorin wrote:
> -------- Forwarded Message --------
> To: address@hidden
> Subject: Solutions upon timeout
> Date: Tue, 17 Jan 2017 14:15:38 +0100
> 
> Hello to everybody. I am using GLPK as a library in a
> software I am writing. My question is: if I set a
> timeout to a MIP search (tm_limit field in a glp_iocp
> structure) and then glp_intopt times out, how do I
> obtain the best known integer feasible solution found so
> far? Is it ok to use glp_mip_col_val?
> Thank you
> Pietro 




reply via email to

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