Skip to content
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

Update constraint indexes when adding constraints without parameters #156

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

gvidigal-psr
Copy link
Contributor

When alternating between constraints with and without parameters, the model.constraint_outer_to_inner Dict would lose track of the constraint indexes.
In the new test, without the changes, the dual for c2 returns -3.0.

Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.18%. Comparing base (275ef07) to head (cff4eca).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #156      +/-   ##
==========================================
+ Coverage   95.14%   95.18%   +0.03%     
==========================================
  Files           5        5              
  Lines        1010     1018       +8     
==========================================
+ Hits          961      969       +8     
  Misses         49       49              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@guilhermebodin guilhermebodin merged commit 1901b90 into jump-dev:master Jul 23, 2024
7 checks passed
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.

2 participants