Skip to content

Use MOI.Nonlinear.QPBlockData - #274

Draft
blegat wants to merge 2 commits into
masterfrom
bl/qp_block_data
Draft

Use MOI.Nonlinear.QPBlockData#274
blegat wants to merge 2 commits into
masterfrom
bl/qp_block_data

Conversation

@blegat

@blegat blegat commented Aug 13, 2026

Copy link
Copy Markdown
Member

A net line deletion of 134 lines. Needs

@blegat
blegat marked this pull request as draft August 13, 2026 10:24
@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.86%. Comparing base (f84a501) to head (741c469).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #274      +/-   ##
==========================================
+ Coverage   99.75%   99.86%   +0.11%     
==========================================
  Files           2        2              
  Lines         805      755      -50     
==========================================
- Hits          803      754      -49     
+ Misses          2        1       -1     

☔ 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 mentioned this pull request Aug 13, 2026
blegat added 2 commits August 20, 2026 08:40
Replace the objective union field, the four vectors of affine and
quadratic constraints, and their bespoke evaluation helpers
(_fill_gradient, _fill_jacobian, _fill_result) with a single
MOI.Nonlinear.QPBlockData, which also answers the per-constraint-type
MOI attribute queries. The equality and inequality callbacks evaluate
the block once and scatter the rows into NLopt's separate equality and
inequality blocks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant