Skip to content

Two tiny changes to core.relax_integer_vars#3645

Merged
blnicho merged 4 commits intoPyomo:mainfrom
emma58:modernize-relax-integer-vars
Jun 28, 2025
Merged

Two tiny changes to core.relax_integer_vars#3645
blnicho merged 4 commits intoPyomo:mainfrom
emma58:modernize-relax-integer-vars

Conversation

@emma58
Copy link
Copy Markdown
Contributor

@emma58 emma58 commented Jun 24, 2025

Fixes # .

Summary/Motivation:

@jsiirola gave me an accidental merge of #3586 last week, but this implements a couple (small) suggestions he had to the rewrite of the core.relax_integer_vars transformation

Changes proposed in this PR:

  • Fixes a copy-paste typo in a docstring
  • Remembers that subclasses of Block other than Disjunct exist. :P

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.

@blnicho blnicho moved this from Todo to Reviewer Approved in August 2025 Release Jun 24, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 28, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.94%. Comparing base (88940a9) to head (bee3e61).
⚠️ Report is 1087 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3645   +/-   ##
=======================================
  Coverage   88.94%   88.94%           
=======================================
  Files         888      888           
  Lines      102448   102449    +1     
=======================================
+ Hits        91125    91127    +2     
+ Misses      11323    11322    -1     
Flag Coverage Δ
builders 26.68% <50.00%> (+0.01%) ⬆️
default 85.53% <100.00%> (?)
expensive 34.04% <50.00%> (?)
linux 86.75% <100.00%> (-1.95%) ⬇️
linux_other 86.75% <100.00%> (+<0.01%) ⬆️
osx 83.05% <100.00%> (+<0.01%) ⬆️
win 84.95% <100.00%> (+<0.01%) ⬆️
win_other 84.95% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@blnicho blnicho merged commit ec73186 into Pyomo:main Jun 28, 2025
64 of 65 checks passed
@github-project-automation github-project-automation bot moved this from Reviewer Approved to Done in August 2025 Release Jun 28, 2025
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.

3 participants