Skip to content

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

Open
wants to merge 4 commits into
base: jg/jumpapi
Choose a base branch
from
Open

Fix conic error #284

wants to merge 4 commits into from

Conversation

andrewrosemberg
Copy link
Collaborator

@andrewrosemberg andrewrosemberg commented Mar 24, 2025

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:

@andrewrosemberg andrewrosemberg changed the title [WIP] Fix conic error Fix conic error Apr 12, 2025
Comment on lines +136 to +138
# 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

Copy link
Collaborator Author

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()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issues:

Copy link

codecov bot commented Apr 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.30%. Comparing base (fdb96c8) to head (74785d4).

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.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant