Are there any freely available tools that aid in generating LP formulations in a way that can be fed into some solver?

Say I have a few hundred variables, all which have to satisfy the same constraints, then it would be tedious to manually generate these; or, if the sum of the absolute values of the variable is subject to some constraint, then that also is easier said than written out explicitly.

So are there any tools that are capable of generating (textual) LP formulations from a more abstract description using quantifiers, loops or ranges, that can be fed into solvers?

  • $\begingroup$ Im Prinzip ist hier Lingo hilfreich. Bei der trial version kann man bis 300 Variablen verwenden. // In principle Lingo is helpful. In the trial version one can use 300 variables. $\endgroup$ – callculus Mar 6 at 16:29
  • $\begingroup$ Some free tools are GLPK, YALMIP, PuLP and Cylp. $\endgroup$ – LinAlg Mar 6 at 19:17
  • 1
    $\begingroup$ @callculus I added a translation. Please try to stick to English as much as possible. $\endgroup$ – quid Mar 6 at 20:35
  • $\begingroup$ @quid Thanks for the translation. I appreciate that you was able to translate it. Usually I write my comments in English. This was an exemption. $\endgroup$ – callculus Mar 6 at 20:42
  • $\begingroup$ @callculus you are welcome. It's not a big deal. We even allow users to resort to other languages, besides English, if there are problems of understanding. Only as a general principle it's better to stick to English. $\endgroup$ – quid Mar 6 at 23:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.