Skip to content

Improve Parameter Support#394

Merged
pulsipher merged 5 commits intomasterfrom
param_updates
Oct 23, 2025
Merged

Improve Parameter Support#394
pulsipher merged 5 commits intomasterfrom
param_updates

Conversation

@pulsipher
Copy link
Collaborator

@pulsipher pulsipher commented Oct 22, 2025

This improves parameter support in InfiniteOpt in the following ways:

  • Consistently use JuMP.parameter_value and JuMP.set_parameter_value
  • Support the use of MOI.Parameter, converting to finite parameters and parameter functions as appropriate
  • Add backend API for updating parameters without rebuilding the backend
  • Changes Parameter Function Bug Fix #144 such that parameter functions are optionally transcribed into JuMP parameters via the update_parameter_functions keyword argument
  • Cleans up affected code areas
  • Disallows derivatives of parameter functions
  • Adds support for restrictions of parameter functions
  • Adds num_parameter_functions and all_parameter_functions

@codecov
Copy link

codecov bot commented Oct 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.68%. Comparing base (e6b573a) to head (e4392f1).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #394      +/-   ##
==========================================
+ Coverage   99.66%   99.68%   +0.01%     
==========================================
  Files          37       38       +1     
  Lines        6613     6709      +96     
==========================================
+ Hits         6591     6688      +97     
+ Misses         22       21       -1     

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

@pulsipher pulsipher merged commit ed532b7 into master Oct 23, 2025
8 checks passed
@pulsipher pulsipher deleted the param_updates branch October 23, 2025 04:04
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