Skip to content

Commit

Permalink
Merge branch 'main' into agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
DLWoodruff authored Jul 25, 2024
2 parents 25d0793 + 1f05582 commit a2c5cb9
Show file tree
Hide file tree
Showing 36 changed files with 2,028 additions and 34 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nompi4py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
auto-activate-base: false
- name: Install dependencies
run: |
pip install pyomo sphinx sphinx_rtd_theme cplex
pip install xpress numpy pandas scipy dill
pip install sphinx sphinx_rtd_theme cplex
pip install xpress pandas dill
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: PH EF tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_push_regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: Test EF/PH
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pyotracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
conda install mpi4py pandas setuptools git
pip install sphinx sphinx_rtd_theme cplex
pip install xpress
pip install numpy
pip install matplotlib
- name: set up pyomo
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schur_complement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,18 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install numpy scipy nose pybind11
pip install nose pybind11
conda install openmpi pymumps --no-update-deps
pip install mpi4py pandas
pip install git+https://github.com/pyutilib/pyutilib.git
git clone https://github.com/pyomo/pyomo.git
cd pyomo/
python setup.py develop
pip install -e .
pyomo download-extensions
pyomo build-extensions
cd ../
pip install git+https://github.com/parapint/parapint.git
python setup.py develop
pip install -e .
- name: Test with nose
run: |
nosetests -v mpisppy/tests/test_sc.py
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/straight.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: mpi tests
run: |
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/testadmmWrapper.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# aph (pyomo released)

name: admmWrapper tests

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

defaults:
run:
shell: bash -l {0}

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: test_env
python-version: 3.9
auto-activate-base: false
- name: Install dependencies
run: |
conda install mpi4py pandas setuptools
pip install pyomo xpress cplex
pip install numpy
- name: setup the program
run: |
pip install -e .
- name: run tests
timeout-minutes: 100
run: |
cd mpisppy/tests
# envall does nothing
python test_admmWrapper.py
3 changes: 1 addition & 2 deletions .github/workflows/testaph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ jobs:
run: |
conda install mpi4py pandas setuptools
pip install pyomo xpress cplex
pip install numpy
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: run tests
timeout-minutes: 100
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testbunpick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
auto-activate-base: false
- name: Install dependencies
run: |
conda install mpi4py numpy setuptools
conda install mpi4py "numpy<2" setuptools
pip install pyomo pandas xpress cplex scipy sympy dill PyYAML Pympler networkx pandas
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: run pickled bundles tests
timeout-minutes: 10
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/testconfint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
auto-activate-base: false
- name: Install dependencies
run: |
conda install mpi4py numpy setuptools
conda install mpi4py "numpy<2" setuptools
pip install pyomo pandas xpress cplex scipy sympy dill
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: run farmer tests
timeout-minutes: 10
Expand All @@ -43,4 +43,4 @@ jobs:
timeout-minutes: 10
run: |
cd mpisppy/tests
python test_conf_int_aircond.py
python test_conf_int_aircond.py
4 changes: 2 additions & 2 deletions .github/workflows/testgradient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
auto-activate-base: false
- name: Install dependencies
run: |
conda install mpi4py numpy setuptools cmake
conda install mpi4py "numpy<2" setuptools cmake
pip install pyomo pandas xpress cplex scipy sympy dill
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: Build Pyomo extensions
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/testpysp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ jobs:
run: |
conda install mpi4py pandas setuptools pytest pyyaml networkx
pip install pyomo xpress cplex
pip install numpy
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: run pysp model tests
timeout-minutes: 100
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/testwithcylinders.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
auto-activate-base: false
- name: Install dependencies
run: |
conda install mpi4py numpy setuptools
conda install mpi4py "numpy<2" setuptools
pip install pyomo pandas xpress cplex scipy
- name: setup the program
run: |
python setup.py develop
pip install -e .
- name: run tests
timeout-minutes: 10
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ a there is a `paper <https://link.springer.com/article/10.1007/s12532-023-00247-
Status for internal tests
^^^^^^^^^^^^^^^^^^^^^^^^^

.. image:: https://github.com/Pyomo/mpi-sppy/workflows/pyomo%20tracker/badge.svg
.. image:: https://github.com/Pyomo/mpi-sppy/workflows/pyotracker/badge.svg
:target: https://github.com/Pyomo/mpi-sppy/actions/workflows/pyotracker.yml


Expand Down
Loading

0 comments on commit a2c5cb9

Please sign in to comment.