opencobra / optlang

optlang - sympy based mathematical programming language
http://optlang.readthedocs.org/
Apache License 2.0
252 stars 52 forks source link

Default solvers #257

Closed Midnighter closed 1 year ago

Midnighter commented 1 year ago

At the moment, swiglpk is one of the dependencies. I was wondering if osqp, mip, highspy shall also be default dependencies?

cdiener commented 1 year ago

It's a good question. There are some issues with upstream packages breaking or not updating to new Python versions which could hold optlang back. For instance, highspy currently has no working MAC wheel.

In the long run we should probably depend on HIGHS and have a dedicated HIGHS interface since it includes good LP, MILP, and QP solvers. So it's probably a better default than GLPK.

Midnighter commented 1 year ago

Although conda might alleviate some of those issues. Let's revisit when we create a dedicated HIGHS interface and make it default.