-
Notifications
You must be signed in to change notification settings - Fork 16
Fix ReverseConstraintDual for variable bounds in NonLinearProgram
#332
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
Conversation
|
Good catch, thanks, could you add a test ? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #332 +/- ##
==========================================
+ Coverage 88.72% 89.13% +0.41%
==========================================
Files 16 16
Lines 1960 1961 +1
==========================================
+ Hits 1739 1748 +9
+ Misses 221 213 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I would guess the documentation failure is because of jump-dev/SCS.jl#333, so it should be unrelated |
blegat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
dyis keyed byConstraintIndex, but DiffOpt was unwrapping to int before callinghaskey, so it was alwaysfalse, silently zeroing the contribution.DiffOpt.jl/src/diff_opt.jl
Lines 14 to 16 in 1b3cfe1
MWE
cc @andrewrosemberg