Skip to content

Use NonlinearAliasSpecifier to specify aliasing during solve #552

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

Closed
jClugstor opened this issue Mar 25, 2025 · 2 comments
Closed

Use NonlinearAliasSpecifier to specify aliasing during solve #552

jClugstor opened this issue Mar 25, 2025 · 2 comments

Comments

@jClugstor
Copy link
Member

SciMLBase has a new interface for specifying which variables are aliased during a solve. I would like to put this in to use in NonlinearSolve by using the NonlinearAliasSpecifier type from SciMLBase to specify which variables are aliased. Similar to SciML/LinearSolve.jl#564, or SciML/OrdinaryDiffEq.jl#2503.

Putting this here as a tracker/reference, but also the way that NonlinearSolve chooses which variables are aliased is different than some of the other SciML packages, so I'm a bit lost on how this would work. For example the aliasing for OrdinaryDiffEq is decided in the __init function, but that's not the case for NonlinearSolve.

@ChrisRackauckas
Copy link
Member

Was this completed?

@jClugstor
Copy link
Member Author

SciML/DiffEqBase.jl#1138 puts the basic functionality in

It only lets us toggle alias_u0 though, nothing else.

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

No branches or pull requests

2 participants