HiGHS
HiGHS copied to clipboard
Python Interface should release the GIL when run gets called
The GIL prevents other python threads from running. Releasing it when run is called (and grabbing it again at the end of run) will allow other threads to proceed while HiGHS is running.
Please assign me.
Relatedly, HiGHS ignores keyboard interrupts. I assume that this is also due to how HiGHS gets called.
Through highspy, I can well imagine that it does ignore keyboard interrupts
Yes, I believe releasing the GIL will also fix the keyboard interrupt issue.
Hello, may I ask whether this has been fixed? I'm sometimes experiencing similar problems. Thanks!
I did try to fix this, but my initial attempt was not successful. I'll give it another try today.
Ahh... I think I see how to fix this.
I've got the keyboard interrupt working. I'll create a PR shortly.