Replies: 1 comment
-
|
Yes, you provide a single callback function, and then start whichever callbacks you want. I'll look at your other point later |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is it possible to add multiple callbacks? It's not clear in the documentation
https://ergo-code.github.io/HiGHS/dev/callbacks/
I would like to have a MipImprovingSolution and a MipInterrupt callback, since I cannot interrupt from the MipImprovingSolution.
I tried to add a single callback and call startCallback for each callback type. But then I get this assert failing
HiGHS/highs/lp_data/HighsCallback.cpp
Lines 86 to 94 in 8c76346
when I set
user_interrupt = 1when the callback is called because of MipImprovingSolution.Is there a workaround?
Beta Was this translation helpful? Give feedback.
All reactions