[Top][All Lists]

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

Re: [Bug-glpk] lib_set_print_hook disappeared

From: Roberto Bagnara
Subject: Re: [Bug-glpk] lib_set_print_hook disappeared
Date: Thu, 22 Mar 2007 01:22:27 +0300

Andrew Makhorin wrote:
>> Can you also add to the header file something that easily allows
>> detecting the version of GLPK? Something like the following would be
>> OK:
>> /* The major number of the GLPK version. */
>> /* The minor number of the GLPK version. */
>> #define GLPK_VERSION_MINOR 15
>> /* The revision number of the GLPK version. */
> In the next release there will be the api routine glp_version, which
> returns the version number in the form "4.15" .


> However, there is no need to check the version number for the sake
> of compatibility, because, as I said earlier, new versions of the
> package will be compatible with older versions *on api level*,
> including all obsolete api routines.

My request was independent from the current problems I am experiencing.
Besides being able to recognize the GLPK version at run-time (using
the new glp_version routine), it is useful to be able to recognize it
at compile-time.  For that, macros like the ones I am proposing,
are the most standard solution.
All the best,


Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy

reply via email to

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