Skip to content

Now ensuring that IPM isn't used to try to get a basic solution when computing rays - #3435

Merged
jajhall merged 9 commits into
latestfrom
fix-3413
Oct 28, 2026
Merged

jajhall merged 9 commits into
latestfrom
fix-3413

Conversation

@jajhall

@jajhall jajhall commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Description

For the first of the asserts in #3413, the incumbent solver option was IPM, but crossover isn't used for infeasible problems, so the necessary basic solution required to compute a ray was unavailable. By ensuring that simplex is used, the failing assert is true.

For the second of the asserts in #3413, may have num_semi_infeasibilities being positive, but num_primal_infeasibilities being zero. Enhanced the unit tests in issue-3413.

Also simplified and corrected the saving and restoration of objective data and options changed when finding rays

Checklist

  • I have read the contributing guidelines
  • This PR targets the latest branch
  • Tests are passing
  • Documentation was updated where relevant
  • This PR is not primarily AI-generated (per the AI contributions policy in CONTRIBUTING.md)

Related issue

#3413

@jajhall
jajhall requested a review from filikat October 17, 2026 10:38
@jajhall jajhall self-assigned this Oct 17, 2026
@jajhall jajhall added the Bug label Oct 17, 2026
@codecov

codecov Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.14%. Comparing base (fc87eb0) to head (0859b16).
⚠️ Report is 58 commits behind head on latest.

Additional details and impacted files
@@            Coverage Diff             @@
##           latest    #3435      +/-   ##
==========================================
+ Coverage   75.10%   75.14%   +0.03%     
==========================================
  Files         460      460              
  Lines      112030   112221     +191     
  Branches    17757    17777      +20     
==========================================
+ Hits        84144    84330     +186     
- Misses      27604    27609       +5     
  Partials      282      282              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jajhall
jajhall marked this pull request as ready for review October 22, 2026 09:14
@jajhall
jajhall merged commit 3cf6a0e into latest Oct 28, 2026
571 checks passed
@jajhall
jajhall deleted the fix-3413 branch October 28, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants