pyomo icon indicating copy to clipboard operation
pyomo copied to clipboard

Temporarily Adjust NL Writer Feasibility Tolerance within PyROS

Open shermanjasonaf opened this issue 1 year ago • 0 comments

Summary/Motivation:

Allow PyROS to temporarily adjust the NL writer feasibility tolerance before/after solving subproblems.

This change has been instituted to circumvent encounters with InfeasibleConstraintException arising from discrepancies between the Pyomo NL writer feasibility tolerance (pyomo.repn.plugins.nl_writer.tol) and the default feasibility tolerances for NL writer-based subsolvers, such as IPOPT, for which the default value of the (unscaled) feasibility tolerance is looser.

Changes proposed in this PR:

  • Allow PyROS to temporarily adjust the Pyomo NL writer feasibility tolerance.
  • Fix errors in PyROS restoration of IPOPT time limit specification for IPOPT >= 3.14.0.

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.

shermanjasonaf avatar May 30 '24 00:05 shermanjasonaf