Repository navigation
Add zero-cost-singleton for implied integers - #3455
Merged
Merged
Conversation
fwesselm
approved these changes
Oct 22, 2026
fwesselm
left a comment
Collaborator
There was a problem hiding this comment.
Great, thanks, @Opt-Mucca!
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## latest #3455 +/- ##
==========================================
+ Coverage 75.10% 75.12% +0.01%
==========================================
Files 460 460
Lines 112030 112155 +125
Branches 17757 17779 +22
==========================================
+ Hits 84144 84254 +110
- Misses 27604 27619 +15
Partials 282 282 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This change lets implied integers also be removed via
zeroCostSIngleton. That is, it removes the implied integer column from the single double-sided row that it features in, and then computes a value for it in postsolve. As it's integrality is only implied and it's bounds are always integer, I believe it's safe to remove this way. I found this while trying to figure out how SCIP made some reductions on an instance that we weren't doing.On my test set it results in a 1.4% performance improvement (am a bit amazed at this). The main instances affected are:
Edit: Misread my own tables.......
There's a few more affected instances, but they're only affected on specific seeds, so I assume they depend on some
submipor restart path to trigger these reductions.Checklist
latestbranch