Repository navigation
Hipdlp kkt verify - #3788
Open
Yanyu000 wants to merge 2 commits into
Open
Hipdlp kkt verify#3788Yanyu000 wants to merge 2 commits into
Yanyu000 wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## latest #3788 +/- ##
==========================================
+ Coverage 75.98% 76.05% +0.07%
==========================================
Files 467 467
Lines 116545 116820 +275
Branches 18166 18180 +14
==========================================
+ Hits 88553 88847 +294
+ Misses 27752 27733 -19
Partials 240 240 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
haman80
approved these changes
Nov 25, 2026
haman80
left a comment
Collaborator
There was a problem hiding this comment.
Thanks, this looks good. I ran HiPDLP on LP relaxations of problems from a subset of the MIPLIB 2017 collection, at tolerance 1e-4. About three quarters of the ones that used to end Unknown now end Optimal with this fix. Most of the rest pass the check before postsolve but fail it afterwards, so a postsolve-aware stopping check might be worth considering at some point.
This branch has not been deployed
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
HiPDLP now checks its candidate solution with HiGHS's own KKT check (lpNoBasisKktCheck, as used in HiPO) when its termination test passes, and carries on iterating if the check fails, rather than returning a model status of "Unknown". There is no new option: this is the default behaviour.
Tested: full unit_tests pass on CPU and on CUDA 13.0 (RTX 4070 Ti SUPER, -DHIGHS_GPU_LIB=ON) and 13.1 (RTX A4500). Not tested: AMD HIP, and the cost of the check on large LPs.
Checklist
latestbranch