Skip to content

Add some pynumero-based sensitivity functions #3561

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

eslickj
Copy link
Contributor

@eslickj eslickj commented Apr 14, 2025

Fixes None

Add a couple pynumero-based sensitivity functions to the sensitivity toolbox function.

Summary/Motivation:

This provides some alternative sensitivity calculations based on pynumero

Changes proposed in this PR:

  • and ability to calculate sensitivity using pynumero

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@adowling2
Copy link
Member

Adding a note for me to look at this!

Copy link

codecov bot commented Apr 15, 2025

Codecov Report

Attention: Patch coverage is 95.12195% with 2 lines in your changes missing coverage. Please review.

Project coverage is 88.72%. Comparing base (d1a507f) to head (52604ae).
Report is 61 commits behind head on main.

Files with missing lines Patch % Lines
pyomo/contrib/sensitivity_toolbox/pynumero.py 95.12% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #3561    +/-   ##
========================================
  Coverage   88.72%   88.72%            
========================================
  Files         889      891     +2     
  Lines      102145   102448   +303     
========================================
+ Hits        90626    90902   +276     
- Misses      11519    11546    +27     
Flag Coverage Δ
builders 26.57% <19.51%> (+<0.01%) ⬆️
default 84.84% <95.12%> (?)
expensive 33.96% <19.51%> (?)
linux 86.20% <95.12%> (-2.27%) ⬇️
linux_other 86.20% <95.12%> (-0.04%) ⬇️
osx 76.20% <95.12%> (+0.01%) ⬆️
win 84.73% <95.12%> (+<0.01%) ⬆️
win_other 84.73% <95.12%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

5 participants