Round bounds before calling changeColBounds#2963
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## latest #2963 +/- ##
==========================================
- Coverage 81.28% 81.27% -0.01%
==========================================
Files 358 358
Lines 88720 88675 -45
==========================================
- Hits 72119 72074 -45
Misses 16601 16601 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Thanks for checking the presolve code, @Opt-Mucca! I am confused (as usual); could you tell me which condition would prevent rounding of the bounds? |
|
Ahhhhhhhhhh. You're not confused, I was just reading the function wrong...... My bad. |
Spotted this while going through
HPresolve: If you passmodel->col_lowerormodel->col_uppertochangeColBoundsthen it will not perform the tightening based on potential integrality upgrades because the<>condition isn't satisfied. I think we're then not updating some bounds that we could have been tightening.Other option: Add something like
bool forcetochangeColBoundsfor these cases. (if there's a strong preference to make sure integer rounding is only done in one spot)