feat: add FeasibleBasisExtension model (#530)#818
Conversation
Add the Feasible Basis Extension problem: given m x n integer matrix A, vector a_bar, and required columns S, determine if a feasible basis extending S exists. Uses exact rational arithmetic (Bareiss + rational back-substitution) to avoid floating-point issues. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #818 +/- ##
==========================================
- Coverage 97.87% 97.85% -0.02%
==========================================
Files 631 633 +2
Lines 69046 69346 +300
==========================================
+ Hits 67577 67859 +282
- Misses 1469 1487 +18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Agentic Review ReportStructural CheckStructural Review: model FeasibleBasisExtensionStructural Completeness
Build Status
Semantic Review
Issue Compliance
Summary
Quality CheckQuality ReviewDesign Principles
HCI (CLI changed)
Test Quality
IssuesCritical (Must Fix)
Important (Should Fix)
Minor (Nice to Have)
Summary
Agentic Feature TestsFeature Test Report: problem-reductionsDate: 2026-03-29 Summary
Per-Feature DetailsFeasibleBasisExtension
Expected vs Actual Outcome
Issues Found
Suggestions
Generated by review-pipeline |
- Add missing Murty1972 BibTeX entry (fixes make paper failure) - Correct paper: "3-SAT" → "Hamiltonian Circuit", @murty1980 → @Murty1972 - Widen Bareiss elimination to i128 to prevent overflow on large coefficients - Fix pred solve command to use --solver brute-force (no ILP path exists) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Summary
FeasibleBasisExtensionproblem model to thealgebraiccategory (closes [Model] FeasibleBasisExtension #530)Or): given m x n integer matrix A, vector a_bar, and required columns S, determine if a feasible basis B extending S exists such that A_B is nonsingular and A_B^{-1} a_bar >= 0pred create FeasibleBasisExtension --matrix ... --rhs ... --required-columns ...), canonical example, paper entry with CeTZ diagram, and 19 unit testsTest plan
make checkpasses (fmt + clippy + full test suite)🤖 Generated with Claude Code