Skip to content

Now scaling the LP offset so it is consistent with user cost and bound scaling; also scaling any dual bound in HighsInfo - #3186

Merged
jajhall merged 1 commit into
latestfrom
fix-3178
Jul 29, 2026
Merged

Now scaling the LP offset so it is consistent with user cost and bound scaling; also scaling any dual bound in HighsInfo#3186
jajhall merged 1 commit into
latestfrom
fix-3178

Conversation

@jajhall

@jajhall jajhall commented Jul 28, 2026

Copy link
Copy Markdown
Member

When user cost and bound scaling is applied, both scale the objective value. As observed in #3178, unless any offset is also scaled, this can lead to changes in the gap in the MIP solver, and a different optimal solution.

This closes #3178

…d scaling; also scaling any dual bound in HighsInfo
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.19%. Comparing base (1807344) to head (6413d82).
⚠️ Report is 5 commits behind head on latest.

Additional details and impacted files
@@           Coverage Diff           @@
##           latest    #3186   +/-   ##
=======================================
  Coverage   73.18%   73.19%           
=======================================
  Files         432      432           
  Lines      105464   105499   +35     
  Branches    16987    16991    +4     
=======================================
+ Hits        77184    77216   +32     
- Misses      28004    28007    +3     
  Partials      276      276           

☔ View full report in Codecov by Harness.
📢 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.

@Opt-Mucca Opt-Mucca left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This must have been a pain to track down. Looks good to me!

@jajhall
jajhall merged commit 0cb4dbd into latest Jul 29, 2026
510 of 514 checks passed
@jajhall
jajhall deleted the fix-3178 branch July 29, 2026 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants