Skip to content

Commit 5c8c824

Browse files
authored
Merge pull request #2308 from blnicho/finalize-release
Finalize 6.3.0 Release
2 parents f9f15fe + c461f53 commit 5c8c824

File tree

6 files changed

+91
-11
lines changed

6 files changed

+91
-11
lines changed

.coin-or/projDesc.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ Carl D. Laird, Chair, Pyomo Management Committee, claird at andrew dot cmu dot e
227227
Use explicit overrides to disable use of automated
228228
version reporting.
229229
-->
230-
<stableVersionNumber>6.2</stableVersionNumber>
231-
<releaseNumber>6.2</releaseNumber>
230+
<stableVersionNumber>6.3.0</stableVersionNumber>
231+
<releaseNumber>6.3.0</releaseNumber>
232232

233233
</developmentStatus>
234234

CHANGELOG.txt

+79
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,85 @@
22
Pyomo CHANGELOG
33
===============
44

5+
-------------------------------------------------------------------------------
6+
Pyomo 6.3.0 23 Feb 2022
7+
-------------------------------------------------------------------------------
8+
9+
ADVANCE CHANGE NOTICE
10+
- This will be the last release to support Python 3.6.
11+
12+
- General
13+
- Construct slices with normalized indices in slicing utility (#2223)
14+
- Remove hard-coded project name from default attempt_import() message (#2237)
15+
- Add --with-distributable-extensions option to setup.py (#2260)
16+
- Update Pyomo versioning to always include the micro version number (#2265)
17+
- Remove optional_packages from pyomo.environ (#2195)
18+
- Add Python 3.10 as an officially-supported interpreter (#2302)
19+
- `TempfileManager` updates (deletion order, add context) (#2297)
20+
- Add `report_scaling` utility to detect potential scaling issues (#2252)
21+
- Core
22+
- Check Var bounds when setting values (#2196)
23+
- Fix bug in implicit Var construction (#2210)
24+
- Add support for user-defined Component List starting index (#2215)
25+
- Switch Var.value setter to validate values (#2214)
26+
- Overload component initializers with named keyword params (#2212, #2230)
27+
- Resolve errors when creating Reference to a scalar Set (#2229)
28+
- Standardize scalar-valued external function interfaces (#2231)
29+
- Resolve bugs in cloning _ImplicitAny domains (#2233)
30+
- Redesign Var.stale handling to use a global state flag (#2249)
31+
- Update differentiate() to accept string mode identifiers (#2266)
32+
- Add `as_quantity`: evaluate a Pyomo expression to a pint `Quantity` (#2222)
33+
- NPV_SumExpression to inherit from NPV_Mixin (#2209)
34+
- Add support for `abs` in numeric differentiation (#2232)
35+
- Search filesystem for AMPLExternalFunction library (#2305)
36+
- Documentation
37+
- Updates to installation documentation (#2259)
38+
- Update GDP references (#2300)
39+
- Add example AMPL external function library (#2295)
40+
- Solver Interfaces
41+
- Disable log file in gurobi_direct when keepfiles=False (#2203)
42+
- Remove old GLPK interfaces (#2256)
43+
- Support gurobi lp interface through gurobipy module (#2262)
44+
- Update CBC version identification (#2250)
45+
- Increase CBC timeout when getting version/asl compatibility (#2293)
46+
- Deprecate the `Alias` component (#2288)
47+
- Remove XPRESS interface (#2273)
48+
- Support string arguments in NL external functions (#2295)
49+
- Fix reversed NL operator codes for floor/ceil (#2216)
50+
- Testing
51+
- Skip some fileutils tests on OSX Big Sur and Python<3.8 (#2224)
52+
- Fix Windows/Python 3.6 testing dependency (#2234)
53+
- Update test suite for BARON 22.1.19 (#2268)
54+
- Rework coverage uploads to use GitHub Actions (#2225)
55+
- Add option to test driver for turning off log capture (#2198)
56+
- Relaxing timing target for Windows GHA (#2303)
57+
- Resolve GDP test failure for missing solvers (#2306)
58+
- Testing infrastructure Refactor: `nosetests` to `pytest` (#2298)
59+
- Make time limit more robust for APPSI (#2296)
60+
- Resolve failing floating-point comparison failures in FBBT (#2244)
61+
- Check gurobipy availability in doctests (#2253)
62+
- GDP Updates
63+
- Ensure gdp.fix_disjuncts always creates a fully algebraic model (#2263)
64+
- Add `partition_disjuncts` and `between_steps` transformations (#2221)
65+
- Contributed Packages
66+
- APPSI: Fix bug with CBC options (#2243)
67+
- APPSI: Correctly identify changes to constraints (#2299)
68+
- APPSI: Improvements to persistent interface (#2246)
69+
- APPSI: Implement FBBT in C++ module (#2248)
70+
- GDPopt: Fix bugs in preprocessing (#2211)
71+
- GDPopt: Switch preprocessing to use FBBT (#2264)
72+
- incidence_analysis: General improvements (#2239, #2240)
73+
- MindtPy: Update online docs and logging (#2219, #2207)
74+
- MindtPy: Add Primal/Dual Integral (#2285)
75+
- MindtPy: Nonlinear sum reformulation of objective of MINLP (#2276)
76+
- Parmest: Covariance matrix (#2287), Add examples (#2274)
77+
- PyNumero: Add scaling factor support to ExternalPyomoModel (#2269)
78+
- PyNumero: Use projected NLPs for ExternalPyomoModel inner problems (#2283)
79+
- PyNumero: Add SQP example (#2291)
80+
- PyROS: Support ConstraintList and range constraints (#2206)
81+
- PyROS: Add optional bypassing of global separation subproblems (#2254)
82+
- TrustRegion: New implementation of Trust Region Framework (#2238, #2279)
83+
584
-------------------------------------------------------------------------------
685
Pyomo 6.2 17 Nov 2021
786
-------------------------------------------------------------------------------

RELEASE.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
We are pleased to announce the release of Pyomo 6.2.
1+
We are pleased to announce the release of Pyomo 6.3.0.
22

33
Pyomo is a collection of Python software packages that supports a
44
diverse set of optimization capabilities for formulating and analyzing
55
optimization models.
66

7-
87
The following are highlights of the 6.0 release series:
98

109
- Improved stability and robustness of core Pyomo code and solver interfaces
1110
- Integration of Boolean variables into GDP
1211
- Integration of NumPy support into the Pyomo expression system
12+
- Added support for Python 3.10
1313
- New packages:
1414
- APPSI (Auto-Persistent Pyomo Solver Interfaces)
1515
- External grey box models
1616
- PyROS (Pyomo Robust Optimization Solver)
1717
- Structural model analysis
18+
- Rewrite of the TrustRegion Solver
1819

1920
A full list of updates and changes is available in the CHANGELOG.txt
2021

pyomo/core/base/alias.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
@deprecated("The Alias component was never completed/tested and will "
5353
"be removed. Consider using Reference()",
54-
version='6.3', remove_in='6.3.1')
54+
version='6.3.0', remove_in='6.3.1')
5555
class Alias(Component):
5656

5757
__slots__ = ('_aliased_object')

pyomo/core/tests/unit/test_derivs.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_abs(self):
180180
m = pyo.ConcreteModel()
181181
m.x = pyo.Var(initialize=2.0)
182182
e = 2 * abs(m.x)
183-
with self.assertRaisesRegexp(
183+
with self.assertRaisesRegex(
184184
DifferentiationException,
185185
r'Cannot perform symbolic differentiation of abs\(x\)'):
186186
reverse_sd(e)
@@ -190,7 +190,7 @@ def test_abs(self):
190190
derivs = reverse_ad(e)
191191
self.assertAlmostEqual(derivs[m.x], approx_deriv(e, m.x), tol)
192192
m.x.value = 0
193-
with self.assertRaisesRegexp(
193+
with self.assertRaisesRegex(
194194
DifferentiationException,
195195
r'Cannot differentiate abs\(x\) at x=0'):
196196
reverse_ad(e)

pyomo/version/info.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@
2424
# should generally be left at 0, unless a downstream package is tracking
2525
# main and needs a hard reference to "suitably new" development.
2626
major=6
27-
minor=2
28-
micro=1
29-
releaselevel='invalid'
30-
#releaselevel='final'
27+
minor=3
28+
micro=0
29+
#releaselevel='invalid'
30+
releaselevel='final'
3131
serial=0
3232

3333
if releaselevel == 'final':

0 commit comments

Comments
 (0)