-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Debug features in callbacks #164
Comments
Yes, we could pretty easily do this. Just need a nice syntax for it. |
Keyword argument? Either in the |
(Probably solve, |
What about a keyword argument when adding the constraint itself instead of adding any extra state:
This is simpler but not quite as pretty. |
It is simpler, but at that point I'm not sure it's worth the effort rather than just doing a |
@joehuchette any new thoughts on this? and see JuliaOpt/MathProgBase.jl#170 |
Not really, I think something like |
Resolved vacuously. Callbacks don't happen here anymore, but this is still a useful idea for the solver-specific callbacks. |
This is kind of a cool idea from @IainNZ JuMPeR that would (1) be easy to implement, and (2) more elegant than littering a callback with print statements IMO, especially with more complex logic/multiple cuts. The idea is just to print out all cuts that get added (or heurstic solutions, or branches...) in a nice little block. See https://github.com/IainNZ/JuMPeR.jl/blob/0bd4b43bb53ef5545b0f3e4df19378c64387483e/src/oracle_poly.jl#L139
The text was updated successfully, but these errors were encountered: