Michael Bynum

Results 155 comments of Michael Bynum

Can you be more specific? Which persistent solver are you trying to use? It should be possible to update indexed variables with: ``` for k, v in m.x.items(): opt.update_var(v) ```

@leroum - do you get an error? If so, can you post the stack trace?

I think it should be fine, but it is worth double checking. Let me get back to you.

That's odd. I didn't see behavior like that. I'll take another look.

Ahh. Got it. Let me make some modifications.

> 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...

> Sanity check - probably me being dumb about Python > > When running in background thread (singular), presumably HiGHS can still run using multiple threads. @jajhall, I confirmed that...

I should probably make modifications so that a results object is still returned even if there is a keyboard interrupt.

The only way I see to handle the keyboard interrupt is with events, which would have to be set in a callback or something.