forked from Pyomo/pyomo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-nested-everywhere
- Loading branch information
Showing
106 changed files
with
3,239 additions
and
1,504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,14 +22,27 @@ jobs: | |
name: Build wheels (${{ matrix.wheel-version }}) on ${{ matrix.os }} for native and cross-compiled architecture | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ubuntu-22.04, windows-latest, macos-latest] | ||
arch: [all] | ||
wheel-version: ['cp38*', 'cp39*', 'cp310*', 'cp311*', 'cp312*'] | ||
|
||
include: | ||
- wheel-version: 'cp38*' | ||
TARGET: 'py38' | ||
- wheel-version: 'cp39*' | ||
TARGET: 'py39' | ||
- wheel-version: 'cp310*' | ||
TARGET: 'py310' | ||
- wheel-version: 'cp311*' | ||
TARGET: 'py311' | ||
- wheel-version: 'cp312*' | ||
TARGET: 'py312' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build wheels | ||
uses: pypa/[email protected].2 | ||
uses: pypa/[email protected].5 | ||
with: | ||
output-dir: dist | ||
env: | ||
|
@@ -43,8 +56,9 @@ jobs: | |
CIBW_CONFIG_SETTINGS: '--global-option="--with-cython --with-distributable-extensions"' | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: native_wheels | ||
name: native_wheels-${{ matrix.os }}-${{ matrix.TARGET }} | ||
path: dist/*.whl | ||
overwrite: true | ||
|
||
alternative_wheels: | ||
name: Build wheels (${{ matrix.wheel-version }}) on ${{ matrix.os }} for aarch64 | ||
|
@@ -54,6 +68,18 @@ jobs: | |
os: [ubuntu-22.04] | ||
arch: [all] | ||
wheel-version: ['cp38*', 'cp39*', 'cp310*', 'cp311*', 'cp312*'] | ||
|
||
include: | ||
- wheel-version: 'cp38*' | ||
TARGET: 'py38' | ||
- wheel-version: 'cp39*' | ||
TARGET: 'py39' | ||
- wheel-version: 'cp310*' | ||
TARGET: 'py310' | ||
- wheel-version: 'cp311*' | ||
TARGET: 'py311' | ||
- wheel-version: 'cp312*' | ||
TARGET: 'py312' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up QEMU | ||
|
@@ -62,7 +88,7 @@ jobs: | |
with: | ||
platforms: all | ||
- name: Build wheels | ||
uses: pypa/[email protected].2 | ||
uses: pypa/[email protected].5 | ||
with: | ||
output-dir: dist | ||
env: | ||
|
@@ -74,8 +100,9 @@ jobs: | |
CIBW_CONFIG_SETTINGS: '--global-option="--with-cython --with-distributable-extensions"' | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: alt_wheels | ||
name: alt_wheels-${{ matrix.os }}-${{ matrix.TARGET }} | ||
path: dist/*.whl | ||
overwrite: true | ||
|
||
generictarball: | ||
name: ${{ matrix.TARGET }} | ||
|
@@ -106,4 +133,5 @@ jobs: | |
with: | ||
name: generictarball | ||
path: dist | ||
overwrite: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
.. _mpc_api: | ||
|
||
API Reference | ||
============= | ||
|
||
.. toctree:: | ||
data.rst | ||
conversion.rst | ||
interface.rst | ||
modeling.rst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Data Conversion | ||
=============== | ||
|
||
.. automodule:: pyomo.contrib.mpc.data.convert | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Data Structures | ||
=============== | ||
|
||
.. automodule:: pyomo.contrib.mpc.data.get_cuid | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.data.dynamic_data_base | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.data.scalar_data | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.data.series_data | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.data.interval_data | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Interfaces | ||
========== | ||
|
||
.. automodule:: pyomo.contrib.mpc.interfaces.model_interface | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.interfaces.var_linker | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Modeling Components | ||
=================== | ||
|
||
.. automodule:: pyomo.contrib.mpc.modeling.constraints | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.modeling.cost_expressions | ||
:members: | ||
|
||
.. automodule:: pyomo.contrib.mpc.modeling.terminal | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.