Skip to content

Standardize the usage of pyomo.environ imports#3545

Merged
mrmundt merged 4 commits intoPyomo:mainfrom
mrmundt:standardize-imports
Mar 31, 2025
Merged

Standardize the usage of pyomo.environ imports#3545
mrmundt merged 4 commits intoPyomo:mainfrom
mrmundt:standardize-imports

Conversation

@mrmundt
Copy link
Copy Markdown
Contributor

@mrmundt mrmundt commented Mar 27, 2025

Fixes NA

Summary/Motivation:

Inspired by #1026, this standardizes across all documentation and code to use import pyomo.environ as pyo rather than as pe.

Changes proposed in this PR:

  • Replace import pyomo.environ as pe with import pyomo.environ as pyo

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.

Copy link
Copy Markdown
Member

@jsiirola jsiirola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might also want to grep for typyo's in case I missed one...

@blnicho blnicho requested a review from jsiirola March 27, 2025 20:19
@mrmundt mrmundt merged commit 3c06a2e into Pyomo:main Mar 31, 2025
62 of 63 checks passed
@mrmundt mrmundt deleted the standardize-imports branch March 31, 2025 16:34
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.

3 participants