Skip to content

Prepare polynomial constraint families before expanding rows - #49

Merged
blegat merged 4 commits into
mainfrom
bl/batch-expansion
Oct 31, 2026
Merged

blegat merged 4 commits into
mainfrom
bl/batch-expansion

Conversation

@blegat

@blegat blegat commented Oct 31, 2026 •

Copy link
Copy Markdown
Owner

Pay the unstability of ScalarNonlinearFunction once per iterator and not once per iterate.

For full JuMPy model construction with the rebuilt library:

Model Before After Speedup
Facility, n = 100 7.00 s 1.70 s 4.1×
LQCP, n = 2000 13.69 s 2.00 s 6.8×

For isolated GenOpt constraint expansion:

Family Before After Speedup
Facility coordinates 6.58 s 0.208 s 31.7×
LQCP PDE 5.62 s 1.82 s 3.1×

Median of three warmed runs, one thread, identical MOI storage. Construction only; no solving.

@codecov

codecov Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.88%. Comparing base (d37f9e8) to head (71dcca9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
+ Coverage   97.06%   97.88%   +0.81%     
==========================================
  Files          10       11       +1     
  Lines        1331     1848     +517     
==========================================
+ Hits         1292     1809     +517     
  Misses         39       39              

☔ 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.

@blegat blegat changed the title Record results from the rebuilt JuMPy benchmark library Prepare polynomial constraint families before expanding rows Oct 31, 2026
@blegat
blegat merged commit e36cb23 into main Oct 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant