Skip to content

LegacySolverWrapper: restore 'options' attribute#3334

Merged
mrmundt merged 5 commits intoPyomo:mainfrom
jsiirola:legacy-solver-options
Aug 6, 2024
Merged

LegacySolverWrapper: restore 'options' attribute#3334
mrmundt merged 5 commits intoPyomo:mainfrom
jsiirola:legacy-solver-options

Conversation

@jsiirola
Copy link
Copy Markdown
Member

@jsiirola jsiirola commented Aug 6, 2024

Fixes # .

Summary/Motivation:

When attempting to use the LegacySolverWrapper in some old user code, we saw that the LegacySolverWrapper did not expose an options attribute for accessing / setting the solver options. This PR adds that attribute to the interface.

Changes proposed in this PR:

  • Add options attribute to the LegacySolverWrapper interface

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.

@mrmundt mrmundt merged commit b480497 into Pyomo:main Aug 6, 2024
@jsiirola jsiirola deleted the legacy-solver-options branch August 20, 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

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants