You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on Slack, it would be nice if the following cases all worked, the motivation being that a user might want to change the conservation equation parameter, gamma, and have an unknown of their choosing automatically adjust its u0 value to compensate. This is currently not possible as remake on nonlinear systems only handles parameter reinitialization.
"Okay so if a variable x is missing a u0 , and Initial(x) occurs in an initialization equation we make it solvable despite it not having a guess and let the InitializationProblem constructor error if it ends up in the unknowns?"
As discussed on Slack, it would be nice if the following cases all worked, the motivation being that a user might want to change the conservation equation parameter, gamma, and have an unknown of their choosing automatically adjust its
u0
value to compensate. This is currently not possible asremake
on nonlinear systems only handles parameter reinitialization.Example:
On Slack @AayushSabharwal concluded the update should be::
"Okay so if a variable x is missing a u0 , and Initial(x) occurs in an initialization equation we make it solvable despite it not having a guess and let the InitializationProblem constructor error if it ends up in the unknowns?"
with @ChrisRackauckas saying:
"Yes. Just like how with other things in a nonlinear solve, we let it work if they don't have a guess and it simplifies"
and Chris suggesting
remake
should work likefor the desired
u0
updates.The text was updated successfully, but these errors were encountered: