Skip to content

Conversation

@franckgaga
Copy link
Member

@franckgaga franckgaga commented Dec 15, 2025

For optimizer that supports it, the Hessian of the Lagrangians returned by getinfo function, that is:

  • :∇²ℓg or :nabla2lg fields in info dictionnary
  • :∇²ℓgeq or :nabla2lgeq fields in info dictionnary

will now contain the actual second order derivatives at the optimal Lagrange multipliers and decision variables.

If the optimizer does not support fetching the Lagrange multipliers, the non-zero coefficients in the matrices will be random values, since just the sparsity structure can be useful in itself (with a @warn message)

@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.55%. Comparing base (399968e) to head (2a1cc13).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #298   +/-   ##
=======================================
  Coverage   98.55%   98.55%           
=======================================
  Files          28       28           
  Lines        4967     4980   +13     
=======================================
+ Hits         4895     4908   +13     
  Misses         72       72           

☔ View full report in Codecov by Sentry.
📢 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.

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.

3 participants