-
-
Notifications
You must be signed in to change notification settings - Fork 217
Setu is ignored by solve #3552
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
Comments
See https://docs.sciml.ai/ModelingToolkit/stable/tutorials/initialization/#Constant-constraints-in-initialization. Constant constraints in initialization have to be updated by setting |
Thanks, that works! |
@AayushSabharwal is it correct that |
|
I don't think this is a sufficient answer. Users using |
|
But what if I want MTK to respect |
I really like the |
Sorry for the delay. In such a case, you could pass |
When using setu to update the problem state, this new state is simply ignored by solve. Using setp to update the parameters works fine.
MWE:
From this discussion
The text was updated successfully, but these errors were encountered: