Conversation
added 14 commits
July 27, 2026 00:25
…every 20 iterations in lu_factorize_bump
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## latest #3185 +/- ##
==========================================
- Coverage 73.19% 72.95% -0.24%
==========================================
Files 432 436 +4
Lines 105499 105985 +486
Branches 16991 17066 +75
==========================================
+ Hits 77216 77323 +107
- Misses 28007 28386 +379
Partials 276 276 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Member
Author
|
Closes #3120 |
filikat
reviewed
Jul 29, 2026
| if (info_.status_ipm != IPX_STATUS_not_run) | ||
| return; | ||
| } | ||
| printf("LpSolver::RunIPM before BuildStartingBasis(); timer.Elapsed() = %s\n", time(this->control_.Elapsed()).c_str()); |
Collaborator
There was a problem hiding this comment.
These 2 printf should be removed
Collaborator
|
Apart from that, it looks good |
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.
Timeout when forming the initial basis is achievable with
control_.InterruptCheck(), andbool interruptused to communicate interruption down to levels whereIPX_ERROR_time_interruptcan be returned or assigned toinfo->errflag.Spotted that
Int Load(const int* basic_status);is redundant.Timeout within
basiclu_factorizeneeds an independent clock, time start and time limit.When IPX takes "forever" there was no logging, so I've added that at the end of each pass through the loop in
BasicLu::_Factorize, with an interval of at least 5s. It's interesting to see howBasicLu::_Factorizekeeps returning to pick up more memory. There can still be long gaps, but it's not feasible to put HiGHS logging intoBasicLu::_Factorize.As with all time-out code, unit tests are troublesome, but I've developed it with the examples that made me realise that there's no time-out when forming the initial basis and factorization in IPX