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

tearing: Heuristically attempt to assign equations with single solvab… #2203

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

Keno
Copy link
Contributor

@Keno Keno commented Jul 2, 2023

…le first

This changes to tearing to give priority to any equation <-> variable pairs where a particular equation only has one matchable variable. These are easy, becuse, if the equation is part of the final matching at all, we know which variable they need to be matched to and by matching them first, we can avoid accidentally assigning these variables to another equation, which would necessarily increase the number of torn states.

Keno and others added 2 commits July 2, 2023 20:53
…le first

This changes to tearing to give priority to any equation <-> variable pairs
where a particular equation only has one matchable variable. These are easy,
becuse, if the equation is part of the final matching at all, we know which
variable they need to be matched to and by matching them first, we can avoid
accidentally assigning these variables to another equation, which would
necessarily increase the number of torn states.
@YingboMa YingboMa merged commit a07e8e3 into SciML:master Jul 4, 2023
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.

2 participants