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

Fix failing test by bounding SOS variables #453

Merged
merged 3 commits into from Feb 8, 2024
Merged

Fix failing test by bounding SOS variables #453

merged 3 commits into from Feb 8, 2024

Conversation

odow
Copy link
Member

@odow odow commented Feb 8, 2024

Closes #452

The new SOS to MILP bridge works only if the variables are finitely bounded.

@odow
Copy link
Member Author

odow commented Feb 8, 2024

Ah. Pajarito doesn't actually pass variable bounds to the MIP solver. That seems like a design to be fixed.

@odow
Copy link
Member Author

odow commented Feb 8, 2024

I don't think we can ever have tested SOS constraints because GLPK doesn't support them.

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4c7efa9) 89.89% compared to head (e726d79) 90.12%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #453      +/-   ##
==========================================
+ Coverage   89.89%   90.12%   +0.23%     
==========================================
  Files          12       13       +1     
  Lines        1029     1033       +4     
==========================================
+ Hits          925      931       +6     
+ Misses        104      102       -2     

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

@odow odow merged commit 16c4ba2 into main Feb 8, 2024
4 checks passed
@odow odow deleted the odow-patch-1 branch February 8, 2024 03:39
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.

Tests failing
1 participant