Skip to content

Conversation

@wenwen0231
Copy link
Collaborator

Currently, parameter functions are mapped to an array of scalar values corresponding to each of its supports. This array is not stored in the mappings, and values generated by the parameter function can only be updated by remaking the JuMP backend from scratch. This PR makes it easier to update the scalar values by transcribing them as JuMP.Parameters instead, avoiding the need to remake the JuMP backend.

This builds off the JuMP.Parameter functionality developed in #387.

@codecov
Copy link

codecov bot commented Sep 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.67%. Comparing base (2bd0383) to head (87d5876).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #389      +/-   ##
==========================================
- Coverage   99.69%   99.67%   -0.02%     
==========================================
  Files          36       36              
  Lines        6810     6821      +11     
==========================================
+ Hits         6789     6799      +10     
- Misses         21       22       +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.

Copy link
Collaborator

@pulsipher pulsipher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@pulsipher pulsipher merged commit fa69b01 into infiniteopt:master Sep 19, 2025
8 of 9 checks passed
@wenwen0231 wenwen0231 deleted the paramFuncs branch October 29, 2025 15:59
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.

2 participants