From 95d953ed0394a642df829e7441261168eb0ebfe5 Mon Sep 17 00:00:00 2001 From: Miranda Mundt Date: Thu, 19 Nov 2026 15:36:56 -0700 Subject: [PATCH 1/4] Update CHANGELOG for Pyomo release --- CHANGELOG.md | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index adbb35edcd1..dda2806d4c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,101 @@ Pyomo CHANGELOG =============== +------------------------------------------------------------------------------- +Pyomo 6.11.0 (19 Nov 2026) +------------------------------------------------------------------------------- + +SIGNIFICANT CHANGE NOTICE + +- This will be the last release to support Python 3.10 +- This is the first release to be tested against Python 3.15 + +CHANGELOG + +- General + - Add support for Python 3.15 (#4054) + - Replace `eval()` with explicit parsing (#4090) + - Keep threading.Lock when multiprocessing.Lock() cannot be created (#4068) + - Improve ComponentMap / ComponentSet (#3970) + - Support reusable 'var_cache' within the `IdentifyVariableVisitor` (#3966) + - Typo corrections (#4035, #3988, #4109) + - Add pixi environment directory to .gitignore (#4025) + - Update license and notice files (#4110) + - Remove unused development file accidentally included in repo (#4112) + - Remove CWD from Executable and Library search paths (#4108) +- Core + - Remove expression `_args_` tuple (#4022) + - Ranged LinearStandardFormCompiler (#3960) + - Fix UnboundLocalError for InvalidNumber * zero-constant products (#4063) + - Fix default/initialize receiving the `Param` instead of the block (#4080) + - Resolve dynamic initialization of Param values (#4048) + - Fix extremely slow sparse_keys() call for unsorted sparse params (#3971) + - Disable automatic use of pickle in ComponentUID (#4105) +- DAE + - Fix dae collocation name conflict (#4089) +- Documentation + - Add PyROS paper preprint to Pyomo docs reference list (#3992) + - Correct broken URLs (#4079, #4062, #4021) +- Solver Interfaces + - Correct several incorrect legacy solver termination conditions (#4099) + - Fix reduced costs dropped by legacy results (#3978) + - HiGHs objective fix (#4091) + - HiGHS: support partial MIP warm starts (#4047, #4046) + - Make GAMS fail loudly when active SOSConstraints are present (#4093) + - Correctly pass logfile to GAMS (#4042) + - Baron writer: resolve bug for x^y when both variable (#4087) + - (Temporarily) Disable MINLP support for Gurobi 14 (#4083) + - Fix attribute names in Gurobi persistent error messages (#4064) + - Track changes to Xpress API from 9.9 and 10.0 releases (#4072) + - Add `license_is_valid` for `knitroampl` (#4059) + - KNITROAMPL: change executable logic (#3979) + - Support trivial constraints in SCIP interfaces (#4001) + - Fix cuOpt solver version parsing (#4027) + - New z3-solver version fix (#4055) + - Correct Gurobi tests for Gurobi 14 (#4104) + - Add v2 Xpress direct and persistent solver interfaces (#3987) +- Testing + - Fix intermittent MPI build issues (#4092) + - Test updates: `dill` availability, new `pytest` comparison (#4067) + - Adjust ipopt version tests to be less flaky (#4050) + - Updates to support new MUMPS versions (#4053) + - Add GHA dependency for pillow builds on pypy (#4049) + - Upgrade actions to newest versions (#4045) + - URL Checker: resolve failure checking PLY documentation (#4004) + - Revert pypy pin and skip stalled tests (#4002) + - Move `cplex` and `docplex` to pypi-only installs (#3984) +- Contributed Packages + - cp: Fix import bug (#4069) + - DoE: In `FIMExternalGreyBox` convert complex jac/hes to float (#4056) + - GDPopt: Add LBB relaxed NLP node solver (#4012) + - GDPopt: Fix LBB time-limit results/solver error handling (#4010, #4041) + - GDPopt: Fix convex affine cut slope (#4011) + - GDPopt: Fix LOA maximization objective sense (#3986) + - GDPopt: Fix misplaced zero-division guard in relative_gap (#4071) + - GDPopt: Make GDP enumeration lazy (#4031) + - GDPopt/MindtPy: Fix non-rigorous crossed bound results (#4013) + - GDPopt/MindtPy: Convert `time_limit` to float (#4058) + - initialization: Extend pwl approximation init method to support + higher initial points and single solve. (#4028) + - initialization: Fix bug to return solve with bounded nlp (#3991) + - MindtPy: Track dual bound with no good cuts (#4038) + - MindtPy: Update documentation (#3964) + - parmest: Make objectives consistent, add 1/2 to SSE (#4074) + - parmest: Support preserving domain during param_to_var conversion (#4075) + - parmest: Fixed bugs in cov_est function and Estimator class (#3980) + - piecewise: Support convexity/concavity and pigraph/hypograph + transformation (#3989) + - piecewise: Add special case for single-segment "piecewise" + linear functions (#3990) + - piecewise: Support evaluating PiecewiseLinearExpression objects (#4007) + - PyROS: Update UncertaintySet implementations (#4043) + - PyROS: Update (usage of) `UncertaintySet` validation routines (#4000) + - PyROS: Convert `UncertaintySet` subclass docstrings to raw strings (#4077) + - PyROS: Modify uncertainty set docs/logs (#3975) + - PyROS: pause the GC so it doesn't impact timing tests (#4081) + - viewer: Fix issue with displaying numpy scalars (#4008) + - viewer: Add menu items to set font (#4006) + ------------------------------------------------------------------------------- Pyomo 6.10.1 (04 Jun 2026) ------------------------------------------------------------------------------- From 5d06af4c54c10b3b06c5e9ac87fb65c33d7baa68 Mon Sep 17 00:00:00 2001 From: Bethany Nicholson Date: Thu, 19 Nov 2026 15:59:19 -0700 Subject: [PATCH 2/4] Edits to the CHANGELOG --- CHANGELOG.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dda2806d4c4..2b086899a81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,7 +44,7 @@ CHANGELOG - Make GAMS fail loudly when active SOSConstraints are present (#4093) - Correctly pass logfile to GAMS (#4042) - Baron writer: resolve bug for x^y when both variable (#4087) - - (Temporarily) Disable MINLP support for Gurobi 14 (#4083) + - Track Gurobi 14 Nonlinear API changes (#4083, #4104) - Fix attribute names in Gurobi persistent error messages (#4064) - Track changes to Xpress API from 9.9 and 10.0 releases (#4072) - Add `license_is_valid` for `knitroampl` (#4059) @@ -52,7 +52,6 @@ CHANGELOG - Support trivial constraints in SCIP interfaces (#4001) - Fix cuOpt solver version parsing (#4027) - New z3-solver version fix (#4055) - - Correct Gurobi tests for Gurobi 14 (#4104) - Add v2 Xpress direct and persistent solver interfaces (#3987) - Testing - Fix intermittent MPI build issues (#4092) @@ -75,8 +74,7 @@ CHANGELOG - GDPopt: Make GDP enumeration lazy (#4031) - GDPopt/MindtPy: Fix non-rigorous crossed bound results (#4013) - GDPopt/MindtPy: Convert `time_limit` to float (#4058) - - initialization: Extend pwl approximation init method to support - higher initial points and single solve. (#4028) + - initialization: Extend pwl approximation init method (#4028) - initialization: Fix bug to return solve with bounded nlp (#3991) - MindtPy: Track dual bound with no good cuts (#4038) - MindtPy: Update documentation (#3964) @@ -85,14 +83,13 @@ CHANGELOG - parmest: Fixed bugs in cov_est function and Estimator class (#3980) - piecewise: Support convexity/concavity and pigraph/hypograph transformation (#3989) - - piecewise: Add special case for single-segment "piecewise" - linear functions (#3990) + - piecewise: Handle single-segment "piecewise" linear functions (#3990) - piecewise: Support evaluating PiecewiseLinearExpression objects (#4007) - PyROS: Update UncertaintySet implementations (#4043) - PyROS: Update (usage of) `UncertaintySet` validation routines (#4000) - PyROS: Convert `UncertaintySet` subclass docstrings to raw strings (#4077) - PyROS: Modify uncertainty set docs/logs (#3975) - - PyROS: pause the GC so it doesn't impact timing tests (#4081) + - PyROS: Pause the GC so it doesn't impact timing tests (#4081) - viewer: Fix issue with displaying numpy scalars (#4008) - viewer: Add menu items to set font (#4006) From 83390bb242da4062887aa6e958a5e12f74703175 Mon Sep 17 00:00:00 2001 From: Miranda Mundt Date: Thu, 19 Nov 2026 16:10:59 -0700 Subject: [PATCH 3/4] Update Pyomo for 6.11.0 release --- .coin-or/projDesc.xml | 4 +-- RELEASE.md | 32 +++++++++++++------ .../explanation/solvers/pyros/solver_log.rst | 2 +- pyomo/contrib/pyros/uncertainty_sets.py | 6 ++-- pyomo/core/expr/__init__.py | 4 +-- pyomo/core/expr/base.py | 2 +- pyomo/core/expr/logical_expr.py | 6 ++-- pyomo/repn/plugins/standard_form.py | 5 ++- pyomo/version/info.py | 6 ++-- 9 files changed, 40 insertions(+), 27 deletions(-) diff --git a/.coin-or/projDesc.xml b/.coin-or/projDesc.xml index 7e289a49e75..8830aab046d 100644 --- a/.coin-or/projDesc.xml +++ b/.coin-or/projDesc.xml @@ -208,8 +208,8 @@ Carl D. Laird, Chair, Pyomo Management Committee, claird at andrew dot cmu dot e Use explicit overrides to disable use of automated version reporting. --> - 6.10.1 - 6.10.1 + 6.11.0 + 6.11.0 diff --git a/RELEASE.md b/RELEASE.md index e321515bd59..1f6f524fe58 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,22 +1,36 @@ -We are pleased to announce the release of Pyomo 6.10.1. +We are pleased to announce the release of Pyomo 6.11.0. Pyomo is a collection of Python software packages that supports a diverse set of optimization capabilities for formulating and analyzing optimization models. -The following are highlights of the 6.10 release series: +The following are highlights of the 6.11 release series: -- Removed support for Python 3.9 -- Removed hard dependency on `ply` -- New Model Observer package -- New `initialization` module for nonconvex, nonlinear problems +- Add support for Python 3.15 +- Updates to support new solver versions including XPRESS 10.0, + Gurobi 14.0, and HiGHS 1.16 +- Significant improvement in expression system performance including + lower memory usage and faster model construction - New solver interfaces: - - `gams_v2` solver, writer, and solution loader - - `cuopt` direct solver interface - - `scip` direct and persistent solver interfaces + - `xpress` direct and persistent v2 solver interfaces - v2: Ongoing solver interface refactor - ...and of course numerous minor bug fixes and performance enhancements +This release introduces two backwards incompatible changes in default +behaviors in order to make Pyomo more conservative and secure: + +- **The current working directory is no longer searched by default when + locating solver executables and shared libraries.** If you rely on a + solver or library located in your working directory, either specify + it with an explicit relative or absolute path (e.g., + `SolverFactory('ipopt', executable='./ipopt')` or + `ExternalFunction(library='./mylib.so', ...)`), or add the directory + to your `PATH` / `LD_LIBRARY_PATH`. +- **`ComponentUID` no longer uses `pickle` automatically.** Models that + use custom (non-builtin) types in component indices and then build + `ComponentUID`s will need to either re-enable pickle support or + register a serializer/deserializer for their type. + A full list of updates and changes is available in the [`CHANGELOG.md`](https://github.com/Pyomo/pyomo/blob/main/CHANGELOG.md). diff --git a/doc/OnlineDocs/explanation/solvers/pyros/solver_log.rst b/doc/OnlineDocs/explanation/solvers/pyros/solver_log.rst index 6872714d701..7862e7e9619 100644 --- a/doc/OnlineDocs/explanation/solvers/pyros/solver_log.rst +++ b/doc/OnlineDocs/explanation/solvers/pyros/solver_log.rst @@ -27,7 +27,7 @@ your console output will, by default, look like this: ============================================================================== PyROS: The Pyomo Robust Optimization Solver, v1.3.16. - Pyomo version: 6.10.2.dev0 + Pyomo version: 6.11.0 Commit hash: unknown Invoked at UTC 2026-11-03T00:00:00.000000+00:00 diff --git a/pyomo/contrib/pyros/uncertainty_sets.py b/pyomo/contrib/pyros/uncertainty_sets.py index 8973e90eb8f..dda7dc45923 100644 --- a/pyomo/contrib/pyros/uncertainty_sets.py +++ b/pyomo/contrib/pyros/uncertainty_sets.py @@ -1584,7 +1584,7 @@ def __init__(self, origin, gamma, positive_deviation, negative_deviation=None): "(if both arguments are passed positionally) " "passed before `positive_deviation`." ), - version="6.10.2.dev0", + version="6.11.0", ) self.gamma = positive_deviation self.positive_deviation = gamma @@ -3849,7 +3849,7 @@ def __init__(self, *args, **kwargs): f"In subsequent usage of {type(self).__name__}, " "pass the operand uncertainty sets positionally." ), - version="6.10.2.dev0", + version="6.11.0", ) all_sets += tuple(kwargs.values()) self.all_sets = all_sets @@ -4192,7 +4192,7 @@ def _log_api_deprecation_warning(self): "pass each operand uncertainty set positionally; " f"see the {type(self).__name__} documentation." ) - deprecation_version = "6.10.2.dev0" + deprecation_version = "6.11.0" deprecation_warning(msg=deprecation_msg, version=deprecation_version) @property diff --git a/pyomo/core/expr/__init__.py b/pyomo/core/expr/__init__.py index 7a740f65703..122dc87d087 100644 --- a/pyomo/core/expr/__init__.py +++ b/pyomo/core/expr/__init__.py @@ -209,12 +209,12 @@ relocated_module_attribute( 'UnaryBooleanExpression', 'pyomo.core.expr.logical_expr.UnaryBooleanExpression', - version='6.10.2.dev0', + version='6.11.0', ) relocated_module_attribute( 'BinaryBooleanExpression', 'pyomo.core.expr.logical_expr.BinaryBooleanExpression', - version='6.10.2.dev0', + version='6.11.0', ) del moved_module, relocated_module_attribute diff --git a/pyomo/core/expr/base.py b/pyomo/core/expr/base.py index 05a0c68e7b4..e5bcd312dd5 100644 --- a/pyomo/core/expr/base.py +++ b/pyomo/core/expr/base.py @@ -507,4 +507,4 @@ def _trunc_extend(self, other, wrapper=None): class ExpressionArgs_Mixin(metaclass=RenamedClass): __renamed__new_class__ = NaryExpression_Mixin - __renamed__version__ = '6.10.2.dev0' + __renamed__version__ = '6.11.0' diff --git a/pyomo/core/expr/logical_expr.py b/pyomo/core/expr/logical_expr.py index 6c7f89ea691..2c96f9eb095 100644 --- a/pyomo/core/expr/logical_expr.py +++ b/pyomo/core/expr/logical_expr.py @@ -302,7 +302,7 @@ def count_if(*args): @deprecated( "UnaryBooleanExpression is no longer used; see UnaryExpression_Mixin", - version="6.10.2.dev0", + version="6.11.0", ) class UnaryBooleanExpression(BooleanExpression): """ @@ -339,7 +339,7 @@ def _apply_operation(self, result): @deprecated( "BinaryBooleanExpression is no longer used; see BinaryExpression_Mixin", - version="6.10.2.dev0", + version="6.11.0", ) class BinaryBooleanExpression(BooleanExpression): """ @@ -415,7 +415,7 @@ def _apply_operation(self, result): @deprecated( "NaryBooleanExpression is no longer used; see NaryExpression_Mixin", - version="6.10.2.dev0", + version="6.11.0", ) class NaryBooleanExpression(BooleanExpression): """ diff --git a/pyomo/repn/plugins/standard_form.py b/pyomo/repn/plugins/standard_form.py index f6996a0ef18..2e3f723a052 100644 --- a/pyomo/repn/plugins/standard_form.py +++ b/pyomo/repn/plugins/standard_form.py @@ -248,8 +248,7 @@ def __init__( # needs) if format is None: deprecation_warning( - 'LinearStandardFormInfo requires the format argument', - version="6.10.2.dev0", + 'LinearStandardFormInfo requires the format argument', version="6.11.0" ) row_types = set(_[1] for _ in rows) if BoundType.RANGE in row_types: @@ -451,7 +450,7 @@ def write(self, model): deprecation_warning( "The `slack_form` and `mixed_form` parameters are deprecated. " "Please use `format` to specify the standard form representation", - version='6.10.2.dev0', + version='6.11.0', ) count = sum( ( diff --git a/pyomo/version/info.py b/pyomo/version/info.py index aa2ba754afe..608bd10add2 100644 --- a/pyomo/version/info.py +++ b/pyomo/version/info.py @@ -18,9 +18,9 @@ # .coin-or/projDesc.xml # major = 6 -minor = 10 -micro = 2 -# releaselevel = 'final' +minor = 11 +micro = 0 +releaselevel = 'final' serial = 0 From d37a504a815c16d205d1934e66f35f8f2f2d0a79 Mon Sep 17 00:00:00 2001 From: Miranda Mundt <55767766+mrmundt@users.noreply.github.com> Date: Thu, 19 Nov 2026 16:15:40 -0700 Subject: [PATCH 4/4] Combining another URL fix --- CHANGELOG.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b086899a81..ecc72856b38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,7 +35,7 @@ CHANGELOG - Fix dae collocation name conflict (#4089) - Documentation - Add PyROS paper preprint to Pyomo docs reference list (#3992) - - Correct broken URLs (#4079, #4062, #4021) + - Correct broken URLs (#4079, #4062, #4021, #4004) - Solver Interfaces - Correct several incorrect legacy solver termination conditions (#4099) - Fix reduced costs dropped by legacy results (#3978) @@ -60,7 +60,6 @@ CHANGELOG - Updates to support new MUMPS versions (#4053) - Add GHA dependency for pillow builds on pypy (#4049) - Upgrade actions to newest versions (#4045) - - URL Checker: resolve failure checking PLY documentation (#4004) - Revert pypy pin and skip stalled tests (#4002) - Move `cplex` and `docplex` to pypi-only installs (#3984) - Contributed Packages