-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highs with python-mip is slow #372
Comments
I have not looked into the code in a long while, but since the above call to EDIT: Maybe the call to |
Thanks, @rschwarz. I'll take a look into it. |
The solution is to avoid using The name of variable is set automatically at Line 40 in 0ccb811
I met the same problem in PyOptInterface and decide to maintain the name mapping internally: metab0t/PyOptInterface@0074dc0 Update: A fix is proposed at ERGO-Code/HiGHS#1782 to solve this problem. |
Hello, everyone
Firstly, thanks for the great package and also for adding support for Highs.
However, it seems that creating a optimization model with Highs is rather slow.
Describe the bug
Adding variables to a Highs optimization model is slow.
To Reproduce
Expected behavior
GRB: 0.021987227955833077 seconds to add vars
CBC: 0.026054809102788568 seconds to add vars
Highs: 6.408406416885555 seconds to add vars
Desktop (please complete the following information):
Thanks again!
The text was updated successfully, but these errors were encountered: