help-glpk
[Top][All Lists]
Advanced

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

Re: [Help-glpk] Re: How to avoid output when reading in an mps problem.


From: Andrew Makhorin
Subject: Re: [Help-glpk] Re: How to avoid output when reading in an mps problem.
Date: Thu, 27 Sep 2007 16:09:50 +0400

> In our software project (the Parma Polyhedra Library,
> http://www.cs.unipr.it/ppl) we use glpk in a demo application, mainly
> for debugging purposes: we have developed an exact arithmetic mip solver
> and we want to check if the results we are obtaining agree with those
> obtained using glpk.

That is very interesting. Probably it may be interesting to you that
glpk has an exact lp solver (lpx_exact) based on rational arithmetic,
which is also available in glpsol (options --xcheck and --exact).
However, this is an exotic feature (I mean glpk), because instances
of real size cannot be solved/checked in a resonable time.

>  It is acceptable that the user hasn't installed
> glpk at all, or that an old version is found. Hence, it is not really
> appropriate to have our project depend on glpk. Rather, at configure
> time, we try to detect the installed version of glpk and, based on that,
> we conditionally enable/disable the various tests.
> With the valuable info you provided we should be able to write 
> meaningful auto-configuration code.

Starting from glpk 4.16 there are two preprocessor variables
GLP_MAJOR_VERSION and GLP_MINOR_VERSION defined in glpk.h as well as
the api routine glp_version which may be used to check the version
of the package.





reply via email to

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