Robert,

If you're committed to the Python aspect of this, you might also
consider CVXOPT (http://abel.ee.ucla.edu/cvxopt/index.html).  CVXOPT
is generally for convex optimization, but purportedly allows use of
glpk for milp problems. I'm not much of a python programmer, so don't
have much direct experience with this. CVXOPT is also integrated into
the sage environment which might be nice for the educational context.

Jeff


On Mon, Nov 30, 2009 at 11:12 AM, Robert Johansson
<[email protected]> wrote:
> Ok, but I really want to use Python. The problem is which one to choose 
> (PyMathProg, python-glpk, ctypes-glpk or something else). The math is no 
> problem and the programming bit will be ok if I just can use a language that 
> I know well. In the end I will use it in an educational context so I would 
> rather like to cover several applications than having a cutting edge solution 
> for only one case.
>
> Thanks!
>
> /Robert
>
> -----Ursprungligt meddelande-----
> Från: [email protected] 
> [mailto:[email protected]] För Jeffrey Kantor
> Skickat: den 30 november 2009 15:37
> Till: Robert Johansson
> Kopia: [email protected]
> Ämne: Re: [Help-glpk] Python
>
> That's not a lot to go on.  There are a lot of ways to formulate
> linear programming
> applications, Python being one.  You may find one of the modeling languages,
> such as mathprog, may fit your application and require little programming
> overhead.
>
> What type of applications to you have in mind?
>
> On Mon, Nov 30, 2009 at 9:01 AM, Robert Johansson
> <[email protected]> wrote:
>> Hi!
>>
>> I want to use Python to run glpk (under Windows). I looked around for a
>> while and found PyMathProg, python-glpk and ctypes-glpk. My knowledge in C
>> is basic but I can write decent Python scripts. I would be much grateful for
>> any suggestions or advices.
>>
>> cheers, Robert
>> _______________________________________________
>> 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
>
>


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

Reply via email to