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

Add Configuration Option for NL Writer Presolve Tolerance #3306

Open
shermanjasonaf opened this issue Jul 1, 2024 · 0 comments
Open

Add Configuration Option for NL Writer Presolve Tolerance #3306

shermanjasonaf opened this issue Jul 1, 2024 · 0 comments

Comments

@shermanjasonaf
Copy link
Contributor

Summary

Move the NL writer presolve tolerance from a module-level constant to a configuration option.

Rationale

#3280 suggested that the hardcoded tolerance repn.plugins.nl_writer.TOL of the NL writer presolver may differ from the (feasibility) tolerance of an optimizer invoked on the NL writer output. This may lead to an unexpected InfeasibleConstraintException if, for example, the feasibility tolerance of the presolve is tighter than that of the optimizer. There may be cases in which the user may wish to adjust the NL writer tolerance according to the optimizer tolerance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant