-
Notifications
You must be signed in to change notification settings - Fork 37
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
Uninformative stacktrace when bug from the cut callback #232
Comments
I assume this is an indexing bug in your callback. It should give you more information from the REPL. I think I saw somewhere that Pluto mucks with the stack traces to try and make them more informative? |
Yes it was from my cut callback. Not better in the Julia REPL, unfortunately.
line 524 is begin
optimize!(model)
end This was just to let you know about this misleading stack trace. |
Tomorrow, I'll catch the error and try to get the "real" stack trace. I'll post the solution here and close. |
I have a fix locally |
This
throws
makes very difficult to track a bug from the cut callback (at least in Pluto).GLPK.jl/src/MOI_wrapper/MOI_wrapper.jl
Line 1408 in 6a4c535
This is the output I got. Stack trace is misleading.
I'll have to test with the Julia REPL to see if the trace is more informative.
The text was updated successfully, but these errors were encountered: