Kevin, You may wish to try building the bindings using SWIG, see:
http://lists.gnu.org/archive/html/help-glpk/2007-05/msg00076.html and http://lists.gnu.org/archive/html/help-glpk/2009-03/msg00023.html SWIG is well documented and included with most recent linux distributions. It is the technology used for glpk-java. Unfortuanately the files I used for Python are no longer on the web. but they can be recovered and I will assist you if you find difficulties. The only difficulty I have experienced is that 'in' and 'out' are reseved words in Python and glpk uses them as procedure names. SWIG has a default work around for this. Good Luck Nigel > ----- Original Message ----- > From: "Robbie Morrison" <[email protected]> > To: "GLPK help" <[email protected]> > Cc: Kevin Hunter <[email protected]> > Subject: [Help-glpk] [Fwd: PyGLPK or python-glpk] > Date: Sun, 23 Jan 2011 07:26:10 +1300 (NZDT) > > > > Hi Kevin > > The GLPK wikibook has a page on python bindings: > > http://en.wikibooks.org/wiki/GLPK/Python > > Both the projects you mention are discussed there. > > If you get the chance, let me know your experiences and > I will update that page -- or you can do so directly yourself, > if you wish. > > good luck > Robbie > > > ------------------------------------------------------------ > > To: [email protected] > > Subject: [Help-glpk] [Fwd: PyGLPK or python-glpk] > > Message-ID: <1295707045.2975.0.camel@none> > > From: Andrew Makhorin <[email protected]> > > Date: Sat, 22 Jan 2011 17:37:25 +0300 > > ------------------------------------------------------------ > > > > -------- Forwarded Message -------- > > From: Kevin Hunter <[email protected]> > > To: GLPK Help List <[email protected]> > > Subject: PyGLPK or python-glpk > > Date: Fri, 21 Jan 2011 16:51:10 -0500 > > > > Hullo List, > > > > I'm looking to have a more direct interface between a > > project and GLPK. The only bindings I currently see > > are PyGLPK[1] and python-glpk[2]. The former project > > seems more Pythonic and has a more professional web > > front, but the latter appears to have been updated more > > recently, and has been included at least in the Debian > > repositories. > > > > Does the GLPK community have a favorite Python binding > > choice they use? > > > > Related question: Do the Python bindings exist on > > multiple platforms? I've tried out at least > > python-glpk, but I'm having a devil of a time getting > > it to work on the Mac. > > > > Thanks! > > > > Kevin > > > > [1] http://www.tfinley.net/software/pyglpk/ > > [2] http://www.dcc.fc.up.pt/~jpp/code/python-glpk/ > > --- > Robbie Morrison > PhD student -- policy-oriented energy system simulation > Technical University of Berlin (TU-Berlin), Germany > University email (redirected) : [email protected] > Webmail (preferred) : [email protected] > [from Webmail client] > > > > _______________________________________________ > Help-glpk mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/help-glpk > -- _______________________________________________ Surf the Web in a faster, safer and easier way: Download Opera 9 at http://www.opera.com _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
