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

(Python) functions as non-linear constraints in DoE #483

Open
dlinzner-bcs opened this issue Dec 13, 2024 · 1 comment
Open

(Python) functions as non-linear constraints in DoE #483

dlinzner-bcs opened this issue Dec 13, 2024 · 1 comment
Assignees

Comments

@dlinzner-bcs
Copy link
Contributor

Multiple use case owners have their constraints in terms of complicated functions. Sometimes they have them as (python) functions already available. Since we already use automatic differentiation, we could support the non-symbolic functions as non-linear constraints.

@dlinzner-bcs dlinzner-bcs self-assigned this Dec 13, 2024
@dlinzner-bcs dlinzner-bcs changed the title (Python) functions as constraints (Python) functions as non-linear constraints in DoE Dec 13, 2024
@Osburg
Copy link
Collaborator

Osburg commented Dec 13, 2024

@dlinzner-bcs sounds cool :) How would it be intended to map the variables names to the function inputs then? By requiring the function to have input names corresponding to the variable names and the inputs are given as a dict {"var1": values_for_var1, "var2": values_for_var2...} which we can generate from the model matrix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants