-
Notifications
You must be signed in to change notification settings - Fork 16
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
Bugs: Optimizer stucks in an infinite loop when solving a small size problem #221
Comments
This is an upstream bug in HiGHS. I have opened an issue: ERGO-Code/HiGHS#1883 To work around the problem, disable presolve with |
@Rose-max111 just curious, how did you generate this problem instance? (I'm kindof trying to understand what exactly killed the presolver here, i.e. how is it special). I hit the same problem on some 500k-var problems but I don't see myself getting much useful information out of the debug info there... 😅 |
I was using Linear Programming to determine if there exists a Heisenberg model with exactly five ground states. And it came that this algorithm ran into an infinite loop when some specific configurations were chosen to be ground state.
|
ah wow, super interesting. thanks a lot! |
When i was using HiGHS.Optimizer to solve some LP problems, i encountered a small-size instance that cause the optimizer stuck in an infinite loop. However, this instance could be successfully solved by other optimizers, such as COPT.Optimizer.
One could use the following code to reproduce the issue i encountered.
I tried to seek the solution to the problem, and the point may be the optimized target:
If i remove this line of code or change it to
Then the optimizer could give the proper solution.
The text was updated successfully, but these errors were encountered: