Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into feature/soft-constraint-link-node
Browse files Browse the repository at this point in the history
  • Loading branch information
s-simoncelli committed Jun 26, 2024
2 parents 74b6ee4 + d9f2a78 commit 8820571
Show file tree
Hide file tree
Showing 63 changed files with 2,450 additions and 511 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
# We produce abi3-py39 wheels for Python 3.9 later.
# If this is changed, then the PyO3 feature in the pywr-python/Cargo.toml file must also be updated.
python-version: [ '3.9' ]
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -89,7 +91,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
# We produce abi3-py39 wheels for Python 3.9 later.
# If this is changed, then the PyO3 feature in the pywr-python/Cargo.toml file must also be updated.
python-version: [ '3.9' ]
steps:
- uses: actions/checkout@v4
with:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,5 @@ Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk

.DS_Store
13 changes: 11 additions & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
[submodule "clp-sys/vendor/Clp"]
path = clp-sys/vendor/Clp
path = coin-or-sys/vendor/Clp
url = https://github.com/coin-or/Clp
[submodule "clp-sys/vendor/CoinUtils"]
path = clp-sys/vendor/CoinUtils
path = coin-or-sys/vendor/CoinUtils
url = https://github.com/coin-or/CoinUtils.git
[submodule "coin-or-sys/vendor/Cgl"]
path = coin-or-sys/vendor/Cgl
url = https://github.com/coin-or/Cgl.git
[submodule "coin-or-sys/vendor/Cbc"]
path = coin-or-sys/vendor/Cbc
url = https://github.com/coin-or/Cbc.git
[submodule "coin-or-sys/vendor/Osi"]
path = coin-or-sys/vendor/Osi
url = https://github.com/coin-or/Osi
10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = [
"ipm-common",
"ipm-ocl",
"ipm-simd",
"clp-sys",
"coin-or-sys",
"pywr-core",
"pywr-schema",
"pywr-cli",
Expand All @@ -16,7 +16,7 @@ exclude = [
]
# IPM packages are not default because they require nightly (portable_simd).
default-members = [
"clp-sys",
"coin-or-sys",
"pywr-core",
"pywr-schema",
"pywr-cli",
Expand All @@ -39,13 +39,13 @@ thiserror = "1.0.25"
num = "0.4.0"
float-cmp = "0.9.0"
ndarray = "0.15.3"
polars = { version = "0.39", features = ["lazy", "rows", "ndarray"] }
pyo3-polars = "0.13"
polars = { version = "0.41.2", features = ["lazy", "rows", "ndarray"] }
pyo3-polars = "0.15"
pyo3 = { version = "0.21", default-features = false }
pyo3-log = "0.10"
tracing = { version = "0.1", features = ["log"] }
csv = "1.1"
hdf5 = { git = "https://github.com/aldanor/hdf5-rust.git", package = "hdf5", features = ["static", "zlib"] }
pywr-v1-schema = { git = "https://github.com/pywr/pywr-schema/", tag = "v0.13.0", package = "pywr-schema" }
chrono = { version = "0.4.34" }
chrono = { version = "0.4.34", features = ["serde"] }
schemars = { version = "0.8.16", features = ["chrono"] }
195 changes: 0 additions & 195 deletions clp-sys/build.rs

This file was deleted.

28 changes: 0 additions & 28 deletions clp-sys/src/lib.rs

This file was deleted.

4 changes: 2 additions & 2 deletions clp-sys/Cargo.toml → coin-or-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "clp-sys"
name = "coin-or-sys"
version = "0.1.0"
authors = ["James Tomlinson <[email protected]>"]
edition = "2021"
description = "Low-level bindings to COIN-OR CLP (Coin-or linear programming)."
description = "Low-level bindings to COIN-OR CLP (Coin-or linear programming) and CBC (Coin-or branch and cut)."
license = "MIT OR Apache-2.0"
repository = "https://github.com/pywr/pywr-next/"

Expand Down
Loading

0 comments on commit 8820571

Please sign in to comment.