Skip to content

Detailed IPOPT Log in ipopt_v2 #3577

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Detailed IPOPT Log in ipopt_v2 #3577

wants to merge 7 commits into from

Conversation

mrmundt
Copy link
Contributor

@mrmundt mrmundt commented Apr 24, 2025

Fixes #548, #728 , IDAES/idaes-pse#92

Summary/Motivation:

There is a utility wrapper in parmest that gathers helpful data from the IPOPT log that has never been promoted to a "real world citizen." This PR replaces the need for that in ipopt_v2 by parsing the output and storing important data by default on the Results object.

NOTE: This PR contains #3576 so that one needs to be merged first.

Changes proposed in this PR:

  • Update IPOPT parsing logic to capture iterations, various final scaled/unscaled results, the full solver log, etc.
  • Update tests to ensure that we are actually capturing the output
  • Fix a really sneaky bug that only appeared on older Python versions in Windows that stopped output from being captured

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.

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.

return final Ipopt values in solution object
1 participant