Re: [Fwd: Solutions upon timeout]

Heinrich Schuchardt <[email protected]>
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
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: [email protected]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.