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 check function for ini.requirements vs constraint functions in optimization #792

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

adrianaghiozzi
Copy link
Contributor

In the code camp there was a suggestion to add a check function in the multi-objective optimization setup that ensures that each requirement that is set in ini.requirements also has a constraint function that goes with it. This (+ a supporting PR in IMAS) implements that functionality, giving the user a warning if they set a requirement without setting a constraint function for it.

Doing this also made me realize that we have no constraint function for TBR - is that an oversight or is there some particular reason? @TimSlendebroek

@TimSlendebroek
Copy link
Contributor

@adrianaghiozzi this is a great addition, as for the TBR I never added it to the requirements as it always be able to get there due to the Li6/Li7 ratio it can change internally. It probably is good to make it an explicit requirement (and maybe we should think if a constraint to the Li7/Li6 ratio perhaps)

@orso82
Copy link
Member

orso82 commented Dec 19, 2024

I could see having a constraint for a desired Li6/Li7 value

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.

3 participants