Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update MindtPy online doc #23

Open
wants to merge 158 commits into
base: pyomo-master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
cf8917b
Rewrites preprocess_targets to account for case where instantiation o…
emma58 Sep 24, 2021
fb3a13b
Whoops, so we do need to know about the 'GDP tree' for bigm and hull:…
emma58 Sep 29, 2021
e5658d7
Adding GDP tree preprocessing for targets, calling preprocessing alwa…
emma58 Oct 1, 2021
894a08b
Updating hull to use the new targets preprocessing, adding some tests…
emma58 Oct 1, 2021
9f41938
NFC: fixing a couple documentation typos and PEP-8ing
emma58 Oct 1, 2021
bd2508b
Merge branch 'logical-to-linear' into bigm-and-hull-logical-integration
emma58 Oct 1, 2021
a739ad4
Starting to have bigm call logical_to_linear rather than screaming, b…
emma58 Oct 4, 2021
3dbda5e
Merge branch 'l-to-l-targets' into bigm-and-hull-logical-integration
emma58 Oct 7, 2021
fe1e534
Adding tests that bigm transforms logical constraints on Disjuncts, a…
emma58 Oct 7, 2021
b2bd86c
Hull correctly transforms logical stuff
emma58 Oct 7, 2021
0c1447d
Updating documentation to not have people call logical_to_linear befo…
emma58 Oct 19, 2021
eb3f0ea
Merge branch 'l-to-l-targets' into bigm-and-hull-logical-integration
emma58 Oct 21, 2021
3fe76ce
Fixing test that assumed GDP was going to scream about lor constraints
emma58 Oct 21, 2021
7ada5c9
adding a test for the GDPTree class alone
emma58 Oct 21, 2021
953112a
Adding the name of the variable to the writer keyerror
emma58 Oct 22, 2021
c8df118
Switching to a loop because I totally understand python scoping...
emma58 Oct 22, 2021
e43a34b
Merge branch 'writer-keyerror' into bigm-and-hull-logical-integration
emma58 Oct 22, 2021
8f42ac2
Merging fix for reassociating error message, the writers are still lo…
emma58 Oct 25, 2021
5c0fc7f
Associating any BooleanVars that logical_to_linear didn't so that the…
emma58 Oct 25, 2021
076e768
Associating any BooleanVars that logical_to_linear didn't so that the…
emma58 Oct 25, 2021
8f2d3d4
Merge branch 'bigm-and-hull-logical-integration' of github.com:emma58…
emma58 Oct 25, 2021
5c4000d
Skipping tests if sympy not available
emma58 Oct 25, 2021
7748063
PEP-8ing, I'm sorry
emma58 Oct 25, 2021
16c2984
Adding tests for gdpopt on a version of strip packing with logical co…
emma58 Oct 25, 2021
98bb76c
NFC: Fixing a typo and adding comments in strip packing example
emma58 Oct 25, 2021
fee7204
Adding tests for the logical version of the 8 process model. These ar…
emma58 Oct 25, 2021
bad8a81
Adding LOA tests for logical constraints and boolean vars on Disjunct…
emma58 Oct 26, 2021
2b00779
Adding tests for other strategies with the logical constraints and bo…
emma58 Oct 26, 2021
1cc74ab
Adding test of logical constraints on Disjuncts of nonlinear convex m…
emma58 Oct 27, 2021
cf3830a
Adding tests of nonlinear models with logical constraints, all of whi…
emma58 Oct 27, 2021
659d402
Updating documentation that gdpopt doesn't need logical_to_linear fir…
emma58 Oct 27, 2021
b84236d
Merge branch 'main' into bigm-and-hull-logical-integration
emma58 Oct 27, 2021
cfb7ca1
Skipping tests when ipopt not available
emma58 Oct 28, 2021
a2d0d55
Merge branch 'l-to-l-targets' into bigm-and-hull-logical-integration
emma58 Oct 28, 2021
02dec96
Merge branch 'l-to-l-targets' into bigm-and-hull-logical-integration
emma58 Oct 29, 2021
db926c3
normalize indices if appropriate
Robbybp Oct 29, 2021
2be0a2c
Allowing targets that either claim to be Blocks via ctype or are inst…
emma58 Oct 29, 2021
1a82dda
Reverting LP writer changes, they should be in a separate PR
emma58 Oct 29, 2021
6592e6b
half-way MindtPy online doc update
ZedongPeng Nov 1, 2021
07b37af
Merging main
emma58 Nov 1, 2021
51a4f2a
NFC: Improve visibility of Note in calculate_variable_from_constraint…
jsiirola Nov 3, 2021
209f663
Ignore var domain and bounds in calculate_variable_from_constraint
jsiirola Nov 3, 2021
0ddf2e7
Add missing test guard
jsiirola Nov 3, 2021
9bcb1c6
Fix broken test
jsiirola Nov 3, 2021
5021a75
Fixing a couple bugs in the GDP tree having to do with indexed compon…
emma58 Nov 10, 2021
d4f83fa
Merge branch 'main' into ignore-domain-in-calc-var
jsiirola Nov 11, 2021
cc8bf1d
Merge branch 'main' of github.com:pyomo/pyomo into bigm-and-hull-logi…
mrmundt Nov 11, 2021
fe46c24
NLP preprocessing catches the ValueError from infeasible trivial cons…
emma58 Nov 15, 2021
2d19577
Making the try-except less ugly, but really I think deactivate_trivia…
emma58 Nov 15, 2021
8e1c7a0
Trying and failing to trigger the the other ValueError that will cras…
emma58 Nov 16, 2021
6a8b070
NFC: Fixing some formatting from John's comments
emma58 Nov 16, 2021
b14098c
Rename set_value(valid=) to set_value(skip_validation=)
jsiirola Nov 16, 2021
4a307e1
Update BooleanVar, AutoLinked*Var to match Var value/set_value API
jsiirola Nov 16, 2021
54cc782
Removing the handler for LogicalConstraints in bigm and hull
emma58 Nov 16, 2021
bc37fb7
Fixing a bug in logical_to_linear where it doesn't deactivate empty L…
emma58 Nov 16, 2021
ae6ba2f
Changing to_explore to a list so that _gather_disjunctions is determi…
emma58 Nov 16, 2021
eebaf41
Merge branch 'bigm-and-hull-logical-integration' of github.com:emma58…
emma58 Nov 16, 2021
02cb30b
Switch Var value validation to emit warnings (not exceptions)
jsiirola Nov 16, 2021
19ff8ba
Adding a test that fails in set covering because of the ValueError fo…
emma58 Nov 16, 2021
19c474c
NFC: removing trailing whitespace
jsiirola Nov 16, 2021
e6e0ded
Update example to not initialize variables outside bounds
jsiirola Nov 16, 2021
6b6a12f
Switching contrib.preprocessing transformations to rase InfeasibleCon…
emma58 Nov 16, 2021
20e1c51
Standardize implementation of fix() across Var, BooleanVar, and AutoL…
jsiirola Nov 16, 2021
9612aaf
Fix/simplify infinite recursion logic in set_value()
jsiirola Nov 17, 2021
04a4147
Updating the CHANGELOG for the 6.2 release
blnicho Nov 17, 2021
c070545
Merge branch 'main' into finalize-release
blnicho Nov 17, 2021
c1b35ad
Refining the AutoLinked*Var set_value/fix implementations
jsiirola Nov 17, 2021
92f08d9
Standardize fix() argument names (for BooleanVar and AutoLinked*Var)
jsiirola Nov 17, 2021
e2e91ef
Additional standardization of fix/unfix implementations
jsiirola Nov 17, 2021
ba0e3d2
Fix documentation to not generate bounds warning
jsiirola Nov 17, 2021
958e0ce
Simplify implementation / improve performance of constraints_to_var_b…
jsiirola Nov 17, 2021
d699006
Fix bug that could move a variable ourside of its bounds
jsiirola Nov 17, 2021
8af3a6e
Merge pull request #2175 from emma58/bigm-and-hull-logical-integration
jsiirola Nov 17, 2021
9fe02aa
Merge pull request #2177 from jsiirola/ignore-domain-in-calc-var
jsiirola Nov 17, 2021
ce1c6f7
Merge branch 'main' into var-pep-2180
jsiirola Nov 17, 2021
ff1bdfc
Track change to the set_value(valid) option name
jsiirola Nov 17, 2021
6f6df2f
Warn when the computed var valus is outside domain/bounds
jsiirola Nov 17, 2021
85521aa
Merge branch 'main' into finalize-release
blnicho Nov 17, 2021
04090f6
More updates to the CHANGELOG for the 6.2 release
blnicho Nov 17, 2021
e9568f8
Adding option to test driver for turning off log capture
mrmundt Nov 17, 2021
1e3acef
Updates to the CHANGELOG
jsiirola Nov 17, 2021
47acc2c
Note that Python 3.10 is not yet supported
jsiirola Nov 17, 2021
7638422
Updating version information to 6.2
jsiirola Nov 17, 2021
5e836be
Merge pull request #2199 from blnicho/finalize-release
blnicho Nov 17, 2021
1a406e2
Adding a small test for --show-log
mrmundt Nov 17, 2021
c16887b
Merge branch 'main' into var-pep-2180
jsiirola Nov 17, 2021
f317e2c
Fix assertStructuredAlmostEqual with NumericValue objects
jsiirola Nov 17, 2021
1d3fda4
Support passing ConfigList/ConfigDict to Initializer
jsiirola Nov 17, 2021
83622e1
Fix test 'skipIf' guards
jsiirola Nov 17, 2021
abc293b
Update CHANGELOG
jsiirola Nov 17, 2021
865a30b
Fixing typo and updating super() implementation
mrmundt Nov 17, 2021
6c5e8d1
Disabling the aarch64 wheel builds as part of this PR
mrmundt Nov 17, 2021
1cae497
Fixing spacing
mrmundt Nov 17, 2021
bcc260f
Merge pull request #2200 from jsiirola/resolve-regressions
blnicho Nov 17, 2021
c67c44a
Resetting main for development (6.2.1.dev0)
jsiirola Nov 17, 2021
0a8532e
Merge pull request #2202 from blnicho/finalize-release
mrmundt Nov 17, 2021
e6f6dde
improve mindtpy online doc
ZedongPeng Nov 18, 2021
1aeea76
Reworking unittest driver to parse all extra commands as written
mrmundt Nov 18, 2021
35852d1
disable log file in gurobi_direct solver interface when keepfiles=False
shishouyuan Nov 19, 2021
03bb1d4
set Gurobi `LogFile` param back to default only when keepfiles==True
shishouyuan Nov 19, 2021
90d0d45
skip_validation should suppress validation warning
jsiirola Nov 20, 2021
89bd0ca
Adding missing formatting argument
jsiirola Nov 20, 2021
dce5d16
NPV_SumExpression needs to inherit from NPV_Mixin and implement creat…
michaelbynum Nov 22, 2021
d270b7b
Any cannot contain Ellipsis
jsiirola Nov 22, 2021
649757c
Implicit construction of VarData must initialize VarData
jsiirola Nov 22, 2021
fb17fc5
Test implicit construction of VarData objects
jsiirola Nov 22, 2021
f068bef
Switch from .value= to set_value(skip_validation=True)
jsiirola Nov 23, 2021
9eaab57
Switch Var to validate values set through .value
jsiirola Nov 23, 2021
4412623
Merge pull request #2203 from shishouyuan/main
michaelbynum Nov 23, 2021
69c49e4
more tests for replace_expressions
michaelbynum Nov 23, 2021
62c868a
updating tests
michaelbynum Nov 23, 2021
1e0606b
Fixing #2101: that is, propagate_fixed_vars accounts for constants. N…
emma58 Nov 23, 2021
f8c4b04
Merge pull request #2210 from jsiirola/var-implicit-construction
mrmundt Nov 23, 2021
a887d6d
Merge branch 'main' into var-pep-2180
mrmundt Nov 23, 2021
3d2bb1b
Adding tests where subproblems should encounter other InfeasibleConst…
emma58 Nov 23, 2021
af5371e
Merging main
emma58 Nov 23, 2021
b495e1d
NFC: Making an unused variable used
emma58 Nov 23, 2021
15f3b39
Merge pull request #2209 from michaelbynum/npv
mrmundt Nov 23, 2021
ac85e32
Merge pull request #2196 from jsiirola/var-pep-2180
mrmundt Nov 23, 2021
0178ffb
Fixing mindtpy to catch InfeasibleConstraintException rather than Val…
emma58 Nov 23, 2021
c2e92b9
Merge pull request #2198 from mrmundt/unittest-nolog
mrmundt Nov 23, 2021
54b478d
update online doc
ZedongPeng Nov 24, 2021
b7bbc76
update title level
ZedongPeng Nov 24, 2021
7b7f24b
Merge branch 'main' into var-pep-2180-2
jsiirola Nov 26, 2021
3ee3e54
Adding the set_value() API to kernel
jsiirola Nov 29, 2021
cd9219e
Removing unneeded `skip_validation` argument
jsiirola Nov 29, 2021
4cf8c6e
Remove unneeded skip_validation argument
jsiirola Nov 30, 2021
dc8c70d
uniform MILP and mip to MIP
ZedongPeng Nov 30, 2021
f19c583
Add support for user-defined Component LIst starting index
jsiirola Dec 1, 2021
dc86edf
Fixing #2213: op codes for floor/ceil were reversed
jsiirola Dec 1, 2021
45896d9
Merge pull request #2216 from jsiirola/nl-floor-ceil
michaelbynum Dec 1, 2021
68452d5
Merge pull request #2215 from jsiirola/0based-component-list
mrmundt Dec 1, 2021
e9939d5
add doc for equality relaxation
ZedongPeng Dec 2, 2021
d7d8cf8
Merge branch 'main' into update-online-doc
ZedongPeng Dec 2, 2021
f914866
Merge pull request #2211 from emma58/set-covering-init-bug
emma58 Dec 2, 2021
74b442e
Merge branch 'main' of https://github.com/Pyomo/pyomo into slice-comp…
Robbybp Dec 6, 2021
16df445
convert incoming `sets` arg to ComponentSet to avoid silent error if …
Robbybp Dec 6, 2021
2fbcb6b
test cuid representation of slice and case where tuple of sets is pro…
Robbybp Dec 6, 2021
da54017
Add 'warning ids' to the Pyomo logging interface
jsiirola Dec 6, 2021
55ef324
Add warning IDs to Var warnings
jsiirola Dec 6, 2021
7a7c319
Fix Sphinx config so copybutton CSS is correctly picked up
jsiirola Dec 6, 2021
bcc933f
Skip some fileutils tests on OSX Big Sur and Python<3.8
jsiirola Dec 7, 2021
d16d919
Adding debugging
jsiirola Dec 7, 2021
1ee9b7d
Reworking coverage to use GitHub Action
mrmundt Dec 7, 2021
7c7b662
Fixing mac_ver and removing debugging
mrmundt Dec 7, 2021
db5ba75
Update skip test (mac version comes as a string)
jsiirola Dec 7, 2021
0d35f56
Merge pull request #2224 from jsiirola/infrastructure-updates
jsiirola Dec 7, 2021
f7b08fe
Merge branch 'Pyomo:main' into var-pep-2180-2
jsiirola Dec 7, 2021
25aac4c
Merge branch 'Pyomo:main' into slice-component-data
jsiirola Dec 7, 2021
4349880
Merge branch 'main' into coverage-gha
mrmundt Dec 7, 2021
5de89b8
Changing other to be platform-generic
mrmundt Dec 7, 2021
0aa9ea8
Fixing context trigger
mrmundt Dec 7, 2021
4caec8c
Merge pull request #2214 from jsiirola/var-pep-2180-2
michaelbynum Dec 8, 2021
5a6ad28
Different implementation of other coverage uplods
mrmundt Dec 8, 2021
63901f2
Merge pull request #2225 from mrmundt/coverage-gha
jsiirola Dec 8, 2021
4d90f13
Merge pull request #2223 from Robbybp/slice-component-data
jsiirola Dec 8, 2021
8369ad0
Merge branch 'main' into update-online-doc
ZedongPeng Dec 9, 2021
2d731f8
add a comma
ZedongPeng Dec 13, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .coin-or/projDesc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,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.
-->
<stableVersionNumber>6.1.2</stableVersionNumber>
<releaseNumber>6.1.2</releaseNumber>
<stableVersionNumber>6.2</stableVersionNumber>
<releaseNumber>6.2</releaseNumber>

</developmentStatus>

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release_wheel_creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
path: dist

manylinuxaarch64:
if: ${{ false }}
name: ${{ matrix.TARGET }}/wheel_creation
runs-on: ${{ matrix.os }}
strategy:
Expand Down
100 changes: 38 additions & 62 deletions .github/workflows/test_branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ jobs:
exit 1
fi

- name: Upload codecov reports
- name: Combine coverage reports
if: github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main'
run: |
set +e
Expand All @@ -692,71 +692,47 @@ jobs:
else
SHA=$GITHUB_SHA
fi
function upload {
echo ""
echo "Build group: $1"
export CODECOV_NAME=$1
export TAG=$1
export GHA_OS_NAME=${{matrix.TARGET}}
shift
rm -vf .coverage coverage.xml
echo " $@" | sed 's/ /\n /'
coverage combine --debug=dataio $@
if test ! -e .coverage; then
echo "No coverage to upload."
return
fi
coverage xml || coverage xml -i
i=0
while : ; do
((i+=1))
rm -f codecov.log
echo "Uploading coverage to codecov (attempt ${i})"
bash $CODECOV -Z -e TAG,GHA_OS_NAME -X gcov -X s3 \
-f coverage.xml -C $SHA | tee codecov.log
if test $? == 0; then
echo "PASS $CODECOV_NAME" >> codecov.result
break
elif test $i -ge 2; then
if test `grep successfully codecov.log | wc -l` -gt 0; then
echo "PASS $CODECOV_NAME (implied)" >> codecov.result
else
# Do not fail the build (yet) just because the
# codecov upload fails
echo "FAIL $CODECOV_NAME" >> codecov.result
break
fi
fi
DELAY=$(( RANDOM % 30 + 30))
echo "Pausing $DELAY seconds before re-attempting upload"
sleep $DELAY
done
}
for ARTIFACT in artifacts/*_*${{matrix.TARGET}}_*; do
NAME=`echo $ARTIFACT | cut -d/ -f2`
cp -v $ARTIFACT/.coverage .coverage-$NAME
done
upload ${{matrix.TARGET}} .coverage-*_${{matrix.TARGET}}-*
if compgen -G ".coverage-*" > /dev/null; then
upload ${{matrix.TARGET}}/other .coverage-*
rm -vf .coverage coverage.xml
echo "Build: ${{ matrix.TARGET }}/other"
echo ""
FILES=.coverage-*_other-*
coverage combine --debug=dataio $FILES
if test ! -e .coverage; then
echo "No coverage to upload."
else
coverage xml || coverage xml -i
mv -v coverage.xml coverage-other.xml
fi
# Legacy builds that don't support coverage 5.x
if compgen -G ".coverage-*" > /dev/null; then
echo ""
echo "Installing coverage 4.x for legacy builds"
pip install --cache-dir cache/pip 'coverage<5'
upload ${{matrix.TARGET}}/legacy .coverage-*
echo ""
echo "Build: ${{ matrix.TARGET }}"
echo ""
FILES=.coverage-*_${{matrix.TARGET}}-*
coverage combine --debug=dataio $FILES
rm -vf artifacts/*/*.xml
if test ! -e .coverage; then
echo "No coverage to upload."
else
coverage xml || coverage xml -i
fi

- name: Check codecov upload success
run: |
FAIL=`grep FAIL codecov.result | wc -l`
ALL=`cat codecov.result | wc -l`
echo "$FAIL of $ALL codecov uploads failed"
if test $FAIL -gt 0; then
grep FAIL codecov.result | sed 's/^/ /'
if test $FAIL -gt 1; then
echo "More than 1 codecov upload failed."
exit 1
fi
fi
- name: Upload codecov reports
if: github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main'
uses: codecov/codecov-action@v2
with:
files: coverage.xml
name: ${{ matrix.TARGET }}
flags: ${{ matrix.TARGET }}

- name: Upload other coverage reports
if: |
hashFiles('coverage-other.xml') != '' &&
(github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main')
uses: codecov/codecov-action@v2
with:
files: coverage-other.xml
name: ${{ matrix.TARGET }}/other
flags: ${{ matrix.TARGET }},other
100 changes: 38 additions & 62 deletions .github/workflows/test_pr_and_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ jobs:
exit 1
fi

- name: Upload codecov reports
- name: Combine coverage reports
if: github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main'
run: |
set +e
Expand All @@ -711,71 +711,47 @@ jobs:
else
SHA=$GITHUB_SHA
fi
function upload {
echo ""
echo "Build group: $1"
export CODECOV_NAME=$1
export TAG=$1
export GHA_OS_NAME=${{matrix.TARGET}}
shift
rm -vf .coverage coverage.xml
echo " $@" | sed 's/ /\n /'
coverage combine --debug=dataio $@
if test ! -e .coverage; then
echo "No coverage to upload."
return
fi
coverage xml || coverage xml -i
i=0
while : ; do
((i+=1))
rm -f codecov.log
echo "Uploading coverage to codecov (attempt ${i})"
bash $CODECOV -Z -e TAG,GHA_OS_NAME -X gcov -X s3 \
-f coverage.xml -C $SHA | tee codecov.log
if test $? == 0; then
echo "PASS $CODECOV_NAME" >> codecov.result
break
elif test $i -ge 2; then
if test `grep successfully codecov.log | wc -l` -gt 0; then
echo "PASS $CODECOV_NAME (implied)" >> codecov.result
else
# Do not fail the build (yet) just because the
# codecov upload fails
echo "FAIL $CODECOV_NAME" >> codecov.result
break
fi
fi
DELAY=$(( RANDOM % 30 + 30))
echo "Pausing $DELAY seconds before re-attempting upload"
sleep $DELAY
done
}
for ARTIFACT in artifacts/*_*${{matrix.TARGET}}_*; do
NAME=`echo $ARTIFACT | cut -d/ -f2`
cp -v $ARTIFACT/.coverage .coverage-$NAME
done
upload ${{matrix.TARGET}} .coverage-*_${{matrix.TARGET}}-*
if compgen -G ".coverage-*" > /dev/null; then
upload ${{matrix.TARGET}}/other .coverage-*
rm -vf .coverage coverage.xml
echo "Build: ${{ matrix.TARGET }}/other"
echo ""
FILES=.coverage-*_other-*
coverage combine --debug=dataio $FILES
if test ! -e .coverage; then
echo "No coverage to upload."
else
coverage xml || coverage xml -i
mv -v coverage.xml coverage-other.xml
fi
# Legacy builds that don't support coverage 5.x
if compgen -G ".coverage-*" > /dev/null; then
echo ""
echo "Installing coverage 4.x for legacy builds"
pip install --cache-dir cache/pip 'coverage<5'
upload ${{matrix.TARGET}}/legacy .coverage-*
echo ""
echo "Build: ${{ matrix.TARGET }}"
echo ""
FILES=.coverage-*_${{matrix.TARGET}}-*
coverage combine --debug=dataio $FILES
rm -vf artifacts/*/*.xml
if test ! -e .coverage; then
echo "No coverage to upload."
else
coverage xml || coverage xml -i
fi

- name: Check codecov upload success
run: |
FAIL=`grep FAIL codecov.result | wc -l`
ALL=`cat codecov.result | wc -l`
echo "$FAIL of $ALL codecov uploads failed"
if test $FAIL -gt 0; then
grep FAIL codecov.result | sed 's/^/ /'
if test $FAIL -gt 1; then
echo "More than 1 codecov upload failed."
exit 1
fi
fi
- name: Upload codecov reports
if: github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main'
uses: codecov/codecov-action@v2
with:
files: coverage.xml
name: ${{ matrix.TARGET }}
flags: ${{ matrix.TARGET }}

- name: Upload other coverage reports
if: |
hashFiles('coverage-other.xml') != '' &&
(github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main')
uses: codecov/codecov-action@v2
with:
files: coverage-other.xml
name: ${{ matrix.TARGET }}/other
flags: ${{ matrix.TARGET }},other
72 changes: 72 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,78 @@
Pyomo CHANGELOG
===============

-------------------------------------------------------------------------------
Pyomo 6.2 17 Nov 2021
-------------------------------------------------------------------------------

- General
- Add ListOf domain validator for ConfigValue (#2103)
- Remove deprecated calls to warnings.warning (#2106)
- Add Bool and Integer domain validators (#2110)
- Overhaul of Pyomo TempfileManager (#2109)
- Allow passing tuples and expressions to
calculate_variable_from_constraint() (#2133)
- Add external functions to block in create_subsystem_block (#2142)
- Track changes in pint 0.18 and Xpress 8.13.0 (#2168)
- Remove code deprecated in Pyomo version 5.6 or older (#1992)
- Add Linux aarch64 wheel build support (#2076)
- Update wheel creation GitHub Actions version (#2192)
- Remove optional_packages from pyomo.environ (#2195)
- Ignore bounds/domain when updating variable value in
calculate_variable_from_constraint() (#2177)
- Core
- Fix Expression.getitem when initialized with Skip (#2136)
- Support hierarchical models in logical_to_linear transformation (#2135)
- Add ordered=True API for iterating over IndexedComponents (#2149)
- Fix bug in differentiate module related to reused subexpressions (#2148)
- Rework expression replacement and LinearExpression object (#2143)
- Add support for custom pint registries (#2153)
- Add support for solving blocks and targets in logical_to_linear
transformation (#2147)
- Add support for finding components with a ComponentUID (#2178)
- Fix bugs with open NumericRanges (#2170, #2179)
- Fix bugs with References (#2158)
- Fix Initializer by treating pandas.Series as sequences (#2151)
- Fix Initializer support for ConfigList/ConfigDict (#2200)
- Add a DataFrameInitializer (#2150)
- Add a public API for retrieving variable bound expressions (#2172)
- Rework Var component to leverage Initializer (#2184)
- Documentation
- Expand documentation of pyomo.common (#2104)
- Minor documentation fixes (#2117)
- Solver Interfaces
- Issue warning when using the Xpress LP/MPS interface (#2125)
- Disable implicit repn cache for LP and NL writers (#2144)
- Add option to force variables into an NL file (#2152)
- Add the exception to the NEOS connection failure warning message (#2166)
- Improve GAMS writer performance (#2191)
- Testing
- Resolve test failures when no solvers are available (#2146)
- Resolve NumericValue support in assertStructuredAlmostEqual (#2200)
- Fix typo in booktest skip declaration (#2186)
- DAE Updates
- Utility function to slice individual components in flatten module (#2141)
- Fix errors and deprecation warnings in some DAE examples (#2189)
- Fix bug allowing numpy.float64 types to end up in a ContinuousSet (#2193)
- GDP Updates
- Update GDP transformations to handle logical constraints (#2175)
- Contributed Packages
- APPSI: Add support for external functions in NL writer (#2111)
- APPSI: Improved handling of immutable parameters (#2112)
- PyNumero: Pass AMPLFUNC directly to pynumero_ASL and not through
environment (#2114, #2129)
- PyNumero: ExternalPyomoModel performance improvements (#2155)
- PyNumero: Remove exception when variable bounds are equal (#2121)
- Parmest: Add support for indexed variables (#2108)
- incidence_analysis: Simplify extraction of diagonal blocks from a block
triangularization (#2128)
- GDPopt: Make line endings PEP8 compliant (#2173)
- MindtPy: Add support for MIP solver solution pools (#2164)
- MindtPy: Skip specific tests due to failure with Gurobi 9.5.0 on
Windows (#2183)
- MindtPy: Fix feasibility pump and fixed variable detection (#2185, #2187)
- PyROS: Add uncertain variable bounds detection (#2159)

-------------------------------------------------------------------------------
Pyomo 6.1.2 20 Aug 2021
-------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
We are pleased to announce the release of Pyomo 6.1.2.
We are pleased to announce the release of Pyomo 6.2.

Pyomo is a collection of Python software packages that supports a
diverse set of optimization capabilities for formulating and analyzing
Expand Down
21 changes: 4 additions & 17 deletions doc/OnlineDocs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
html_theme = 'sphinx_rtd_theme'

# Force HTML4: If we don't explicitly force HTML4, then the background
# of the Paramters/Returns/Return type headers is shaded the same as the
# of the Parameters/Returns/Return type headers is shaded the same as the
# method prototype (tested 15 April 21 with Sphinx=3.5.4 and
# sphinx-rtd-theme=0.5.2).
html4_writer = True
Expand All @@ -152,22 +152,6 @@
if not on_rtd: # only import and set the theme if we're building docs locally
import sphinx_rtd_theme
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
# Override default css to get a larger width for local build
def setup(app):
app.add_css_file('theme_overrides.css')
html_context = {
'css_files': [
'_static/theme_overrides.css',
],
}
else:
html_context = {
'css_files': [
'https://media.readthedocs.org/css/sphinx_rtd_theme.css',
'https://media.readthedocs.org/css/readthedocs-doc-embed.css',
'_static/theme_overrides.css',
],
}

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand All @@ -179,6 +163,9 @@ def setup(app):
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_css_files = [
'theme_overrides.css',
]

html_favicon = "../logos/pyomo/favicon.ico"

Expand Down
Loading