bug-glpk
[Top][All Lists]
Advanced

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

[Bug-glpk] Using old glpk api in existing projects


From: Andrew Makhorin
Subject: [Bug-glpk] Using old glpk api in existing projects
Date: Tue, 13 Aug 2013 08:35:07 +0400

On Mon, 2013-08-12 at 14:22 +0200, Jan Engelhardt wrote:
> On Wednesday 2013-08-07 22:02, Andrew Makhorin wrote:
> 
> >> Between glpk-4.48 and 4.52, the LPX API was removed according to the 
> >> ChangeLog, but the header file glplpx.h is still there and lpxapi01.c is 
> >> still compiled into the library. Is that not kind of redundant?
> >
> >Glplpx.h and lpxapi01.c need to be kept (for a while), because some
> >internal glpk routines still use obsolete api routines prefixed with
> >lpx. However, eventually the old api will be completely removed from the
> >package.
> 
> Once glp routines no longer use the lpx ones, would it be possible
> to provide a lpx compatibility library that uses glp?
> 

Please see the attachment (oldapi.tar.gz). Files lpx.h and lpx.c
implement the old glpk api (as it was defined in glpk 4.48) thru calls
to the new api routines. To compile an existing project you need to add
to it these two files. File lpxsamp.c is an example that illustrates
using the old api. Please note that these three files will be included
in a next release of the package. Thanks.

Andrew Makhorin

Attachment: oldapi.tar.gz
Description: application/compressed-tar


reply via email to

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