1

I have a program written in App Engine (python) and I want to use an integer linear programming solver in it. All solvers I could find seems to be written partly in C, so I would imagine they won't work in App Engine.

Anyone knows of a pure python library that solves integer linear programming with inequalities?

I managed to find this http://projects.scipy.org/scipy/ticket/1252 but it seems that it doesn't deal with inequalities.

5
  • Have you tried the ones you've found? (could you link to them in your question?) Commented Sep 22, 2012 at 10:56
  • I just downloaded whatever I could find on stackoverflow / wikipedia and checked if they have c files. All of them did. Commented Sep 22, 2012 at 12:33
  • And those would be helpful links to include in your question (see whathaveyoutried.com). My point was "you don't imagine they'd work in app engine", I think they will, did you try?? Commented Sep 22, 2012 at 14:09
  • I have reason to believe they won't work (developers.google.com/appengine/docs/python/runtime#Pure_Python), so I am not interested in investing the time in trying. If you think otherwise you are welcome to post an answer/comment and say why. Furthermore maybe it would be better to keep your general views about the culture of asking questions in meta/up and down votes. Commented Sep 22, 2012 at 15:42
  • I think that is more relevant to writing your own C extensions... Commented Sep 23, 2012 at 1:32

1 Answer 1

3

This seems to do the trick: http://labix.org/python-constraint

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.