Reduce connectivity separation and preprocessing overhead - #49
Merged
Merged
Conversation
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
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.
Summary
Repeated per-terminal maximum flows, sparse-matrix allocations, quadratic terminal bottleneck storage, and repeated dual ascent were dominating Python-side solver time. This PR reduces that work while keeping maximum-flow fallback and exact-solve certification.
Integrated with main at
7b4142e, preserving enumeration-safe preprocessing, terminal contractions, the few-terminal DP, cut aging, primal portfolio options, and solve-status handling. No new runtime dependency.Validation and performance
Latest comparison: 108 solves, all at the known optimum with zero gap. Median total runtimes against main
7b4142e:Changing cut selection can change Gurobi's search tree. The report includes unchanged cases and regressions; local timings do not establish a general speed guarantee or parity with SCIPJack. Residual-flow reuse and further certificate-allocation reductions are left for separately benchmarked work.
AI assistance: Codex assisted with implementation, profiling, tests, documentation, and PR preparation.