Certify simplex optimality only from a refactorized basis - #3195
Closed
EamonHetherton wants to merge 1 commit into
Closed
Certify simplex optimality only from a refactorized basis#3195EamonHetherton wants to merge 1 commit into
EamonHetherton wants to merge 1 commit into
Conversation
When dual or primal simplex concludes optimality at a rebuild whose factor still carries updates, force a refactorization and reassess instead of certifying. Values recomputed through a long update chain can be wrong without creating any visible infeasibility: on the reproducer LP, a warm start from an accepted alien basis reached the optimal basis but returned an objective 91.81 above the optimum, reporting Optimal with zero measured infeasibilities, because the final primal values came through a factor carrying 266 updates. The same basis refactorized yields the correct values, which is what the certification path now guarantees. Fixes ERGO-Code#3194 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Member
|
I'll look at #3194 in due course, but the proposed certification of simplex optimality only from a refactorized basis hasn't been necessary previously, and would be a performance hit |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## latest #3195 +/- ##
==========================================
+ Coverage 72.92% 72.96% +0.04%
==========================================
Files 436 436
Lines 106038 106099 +61
Branches 17071 17081 +10
==========================================
+ Hits 77329 77419 +90
+ Misses 28433 28403 -30
- Partials 276 277 +1 ☔ 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.
Fixes #3194.
When dual or primal simplex concludes optimality at a rebuild whose factor still carries updates, force a refactorization and reassess instead of certifying. On the LP of #3194 the values computed through the update chain are wrong by 91.81 in the objective while showing no infeasibility; the same basis refactorized yields the correct solution.
🤖 Generated with Claude Code