Repository navigation
Fix solver integration tests on Julia 1.13 - #737
Merged
Merged
Conversation
Compare reformulated constraints and objectives numerically instead of comparing printed models, so matrix square-root rounding does not break quadform tests. Use exact expected coefficients and request SCS tolerances tighter than the assertions in the rotated SOC and exponential cone tests. Update the test solver to Clarabel 0.11. Clarabel 0.10 reuses Cholesky storage that aliases its factors on Julia 1.13 and consequently returns incorrect SDP solutions. Clarabel 0.11 uses separate workspace for this computation. Validation on Julia 1.13.3: - test/test_atoms.jl: 2,229 assertions pass. - test/test_constraints.jl: 135 assertions pass. - SDP problem-depot cases: 357 assertions pass, with and without warm starts. - JuliaFormatter 1.0.62 leaves no unstaged changes. SDP validation uses local Clarabel commit 559e155, which replaces removed OrderedSet indexing with first during PSD completion. That upstream fix needs a release for fresh CI environments resolving OrderedCollections 2.
Replace Clarabel with released Hypatia 0.11 so the solver integration tests do not depend on an unmerged Clarabel compatibility fix. Restore the low-rank quantum-relative-entropy case previously excluded for Clarabel and remove the obsolete commented Clarabel BigFloat test. Validation on Julia 1.13.3 with Hypatia 0.11.1: test/test_problem_depot.jl passes all 3,534 assertions (747 ordinary solves, 1,027 warm-start-path and printing assertions, 20 GLPK assertions, and 870 model-loading assertions for each of Float64 and BigFloat). Temporary line markers confirm both modified solver test functions execute. JuliaFormatter 1.0.62 leaves no unstaged diff.
12 of 15 tasks
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #737 +/- ##
==========================================
+ Coverage 98.05% 98.09% +0.03%
==========================================
Files 88 88
Lines 5237 5240 +3
==========================================
+ Hits 5135 5140 +5
+ Misses 102 100 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Clarabel has compatibility issues so let's use Hypatia