bug-glpk
[Top][All Lists]
Advanced

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

Re: [Bug-glpk] GLPK 4.40 on centos


From: Andrew Makhorin
Subject: Re: [Bug-glpk] GLPK 4.40 on centos
Date: Fri, 14 Jun 2013 10:27:46 +0400

>         When I do yum install glpk, I get version 4.40. This has a bug
>         that if we give the computation time for MIP, it is the CPU
>         time(using clock()) and not the absolute time or 'wall clock
>         time'. Secondly if we run the function twice within 10 min
>         interval, and give 2 min computation time, there is a chance
>         that it might execute for much less than 2 min. I looked at
>         the source code and there is a bug.

Thank you for your bug report.

The bug has been fixed in recent versions of glpk.

>         What is the best way to upgrade from 4.40 to 4.47. Why doesn't
>         yum automatically install the latest version?

You may build glpk from sources by yourself. The GLPK distribution
tarball can be found on http://ftp.gnu.org/gnu/glpk/ [via http] and
ftp://ftp.gnu.org/gnu/glpk/ [via FTP]. For installation instructions see
file INSTALL. Note that most recent version is 4.50.

>         Code which results in these 2 problems:

It was an unsuccessful attempt to measure the time using only standard
ANSI C functions. Currently glpk uses a configurable code which includes
a Posix-specific version as well.





reply via email to

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