few
few
Thanks for the quick response. I tried and it worked, but I ran into some issues: - I don't know how to make it work if the path contains spaces....
I updated the commit to fix the formatting issue and made a small edit to examples/call_highs_from_python.py
Should I try to provide a PR? Does anybody have an opinion on a fix? I'm considering this: * turn `__add__` into `__iadd__` * Make `__add__` return a new instance...
Maybe a bit unrelated, but since you're working on the constraints... I started to convert a modeling program to use highspy and ran into this error: `Cannot construct constraint with...
Have you considered creating two classes? One for sums of variables multiplied by constants and one for constraints? Initially I thought one could do something like this: ```import highspy h...
See the EDIT on https://github.com/ERGO-Code/HiGHS/pull/1886#issuecomment-2323191530 for why 3) is a real problem.
> If I understand correctly, as well as a blanket "enable all callbacks", While an "enable all callbacks" might be useful for some, I want an "enable all interrupt callbacks"....
I tried the branch and I think there is something missing. When I now press CTRL+C, I immediately end up in my "except KeyboardInterrupt:" block as intended, but the solver...
Well, it works if the python program immediately terminates on CTRL+C, but not if it keeps running and doing other stuff. My use case is to collect intermediate solutions with...
This seems to work: ``` import highspy import time def main(): h = highspy.Highs() h.readModel("30n20b8.mps") last_intermediate_solution = None solver_should_stop = False solver_stoped = False def callback(callback_type, message, data_out, data, user_callback_data):...