-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add callbacks functionality #177
Comments
I don't think there is a good way of doing this, because the You really need to add a callback to the reformulated problem, and that seems difficult. |
Oh, I see. Well, then it seems like a difficult problem. Anyway, I'll keep the issue open for now and see if @joaquimg has any suggestions as well. Thanks. |
As @odow said, the model is reformulated which adds extra difficulty to the process. |
You should certainly be very familiar with the MOI and JuMP callbacks before trying to implement them in BilevelJuMP. |
That's what I was hoping to achieve with my model. So, it's good to know it's possible to do, albeit difficult.
Thanks for the direction here. I will see if I can figure out the connection here.
Good to know this. I will probably take some time to review the MOI/JuMP callbacks then. |
Right now, adding callbacks throws an error. For example:
The following error is thrown:
I will be happy to work on a PR for this as and when I get time. However, it will take me some time to familiarize myself with the internals of
BilevelJuMP
. Also, what will be a good place to start, probably like some reference on how it could possibly be done? I guess one place I could look at it is the implementation of callbacks inJuMP
itself.The text was updated successfully, but these errors were encountered: