Skip to content

Add Configuration Option for NL Writer Presolve Tolerance #3306

Open
@shermanjasonaf

Description

@shermanjasonaf

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions