Skip to content
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

Add dynamic to optimize #131

Merged
merged 3 commits into from
Jan 31, 2025
Merged

Add dynamic to optimize #131

merged 3 commits into from
Jan 31, 2025

Conversation

Tom-Szendrey
Copy link
Contributor

@Tom-Szendrey Tom-Szendrey commented Jan 28, 2025

Description

When we provide optimize with a dynamic parameter within the fixed interventions (the interventions that are not being optimized over) we should convert it to the ciemss format and send it off with payload

Warning:
This seems to severely increases runtime of the optimize call.

Testing:

Run an optimize call with and without dynamic interventions provided
Check the pyciemss-worker converts the dynamic interventions
Check that the results differ between the two runs in the expected way

Copy link
Member

@mwdchang mwdchang left a comment

Choose a reason for hiding this comment

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

didn't test but code looks fine

@Tom-Szendrey Tom-Szendrey merged commit b31ad46 into main Jan 31, 2025
2 checks passed
@liunelson liunelson deleted the TS/add-dynamic-to-optimize branch January 31, 2025 17: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.

4 participants