Hi Kevin and Robbie,

Based on experience PyGLPK -  PyMathProg Combo is easier to work on.

PyMathProg includes PyGLPK now.

PYMathProg is python binding for MathProg (GMLP).

http://pymprog.sourceforge.net/

Have a look at the examples before installing.

Inspect first which version of GLPK needed for PyGLPK - PyMathProg. It
has MacOS X 10.6 and python 2.6 build.

Install GLPK from the source instead of using MacPort mentioned in the
installation[1].

[1] http://pymprog.sourceforge.net/setup.html#mac-setup

Regards,

Noli




On 1/23/11, Robbie Morrison <[email protected]> wrote:
>
> 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
>

_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to