Skip to content

NLv2: handle presolved independent linear subsystems #3193

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

Merged
merged 2 commits into from
Mar 13, 2024

Conversation

jsiirola
Copy link
Member

@jsiirola jsiirola commented Mar 12, 2024

Fixes #3192.

Summary/Motivation:

This resolves the issue in the NL linear presolve for the case where the presolve identifies and removes an underdetermined linear independent subsystem.

Changes proposed in this PR:

  • Set free variables in underdetermined linear independent subsystems to the feasible value closest to 0
  • Add tests exercising this logic

Legal Acknowledgement

By contributing to this software project, I have read the contribution guide and agree to the following terms and conditions for my contribution:

  1. I agree my contributions are submitted under the BSD license.
  2. I represent I am authorized to make the contributions and grant the license. If my employer has rights to intellectual property that includes these contributions, I represent that I have received permission to make contributions and grant the required license on behalf of that employer.

@jsiirola jsiirola merged commit cd9d6ce into Pyomo:main Mar 13, 2024
33 checks passed
@jsiirola jsiirola deleted the nlv2-linear-independent-subsystems branch March 13, 2024 17:11
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.

NL writers linear presolver fails when one variable is left
2 participants