An efficient modeling interface in Python with support for HIGHS #1708
metab0t
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
Thanks for developing this Python packaging of HiGHS. I didn't find any documentation for the methods in the API. Note that HiGHS would not have been developed without @galabovaa, or the writers of its solvers: Qi Huangfu, @lschork2, @lgottwald and @feldmeier. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today, I want to share a newly developed modeling interface for Python: https://github.com/metab0t/PyOptInterface with support for HiGHS.
It can be installed with our PyPI package of HiGHS to use HiGHS in Python out of the box:
It provides high-level modeling capability by using the C API of HiGHS directly and achieves competitive performance to construct large scale models.
It has built-in support for N-dimensional containers for variables and constraints. The variables and constraints can also be used with Numpy to formulate multi-dimensional array.
This is an introductory example to use PyOptInterface and HiGHS to solve N-queens problem:
More detailed documentation is available online.
Thanks for @jajhall for developing such an amazing open source optimizer!
Feedbacks and stars are all welcome 😄.
Beta Was this translation helpful? Give feedback.
All reactions