Skip to content

Update pyomo from 5.7.1 to 6.10.0#1713

Merged
bottler merged 1 commit into
mainfrom
bottler/pyomo
Mar 16, 2026
Merged

Update pyomo from 5.7.1 to 6.10.0#1713
bottler merged 1 commit into
mainfrom
bottler/pyomo

Conversation

@bottler
Copy link
Copy Markdown
Contributor

@bottler bottler commented Mar 16, 2026

Adapt to pyomo 6.x API changes:

  • SimpleVar/SimpleConstraint renamed to ScalarVar/ScalarConstraint
  • _GeneralVarData renamed to VarData
  • Constraint expr no longer callable with model argument
  • Unbounded ranges now use inf instead of None
  • Objective evaluation uses .expr to avoid ObjectiveSense warning

Adapt to pyomo 6.x API changes:
- SimpleVar/SimpleConstraint renamed to ScalarVar/ScalarConstraint
- _GeneralVarData renamed to VarData
- Constraint expr no longer callable with model argument
- Unbounded ranges now use inf instead of None
- Objective evaluation uses .expr to avoid ObjectiveSense warning
@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Mar 16, 2026
@bottler bottler merged commit 617a3b0 into main Mar 16, 2026
6 of 7 checks passed
@bottler bottler deleted the bottler/pyomo branch March 16, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant