-
Notifications
You must be signed in to change notification settings - Fork 14
Fix conic error #284
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
base: jg/jumpapi
Are you sure you want to change the base?
Fix conic error #284
Conversation
# FIXME: this is not working - https://github.com/jump-dev/DiffOpt.jl/issues/283 | ||
# @test JuMP.coefficient(MOI.get(model, DiffOpt.ReverseConstraintFunction(), csoc).func.func.func, t.index) ≈ ds atol=ATOL rtol=RTOL | ||
|
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.
No clear API: #283
end | ||
#FIXME: this test is not working - https://github.com/jump-dev/DiffOpt.jl/issues/285 | ||
# Besides API errors, Reverse and Forward differentiation are not matching | ||
# function test_differentiating_conic_with_PSD_and_POS_constraints() |
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.
Issues:
- Missing Bridge: Error
DiffOpt.forward_differentiate!
from PSD Conic JuMP problems #285 - Can't call
JuMP.value
after differentiate - Foward does not match backward in this PSD case.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## jg/jumpapi #284 +/- ##
==============================================
+ Coverage 89.10% 89.30% +0.20%
==============================================
Files 16 16
Lines 1992 1992
==============================================
+ Hits 1775 1779 +4
+ Misses 217 213 -4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Fix the bug in the conic formulation in which forward sensitivities with LHS have flipped the sign.
Related to how the
dA
matrix of sensitivities is used.TODO:
ReverseConstraintFunction
for Conic Constraints #283DiffOpt.forward_differentiate!
from PSD Conic JuMP problems #285