Skip to content

Commit

Permalink
Confirmed Numpy v2 support
Browse files Browse the repository at this point in the history
Fixes #20
  • Loading branch information
Foggalong committed Jul 23, 2024
1 parent c973d02 commit f5e3e99
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ pip install RobustOCS/

Either way, the package depends on Python 3.10+, using [NumPy](https://pypi.org/project/numpy) for linear algebra and [SciPy](https://scipy.org) for sparse matrix objects. As a solver it can either use [Gurobi](https://www.gurobi.com) (commercial) via [gurobipy](https://pypi.org/project/gurobipy) or [HiGHS](https://highs.dev) (free software) via [highspy](https://pypi.org/project/highspy).

[NumPy v2 support]: https://support.gurobi.com/hc/en-us/articles/25787048531601-Compatibility-issues-with-numpy-2-0

## Examples

The [GitHub wiki] includes documentation written by which explains the usage and parameters in more detail, alongside some worked examples (the data for which is in [`examples/`](examples/)). This includes a realistic simulated example from [Gregor Gorjanc] and [Ivan Pocrnić].
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@ build-backend = "hatchling.build"
name = "robustocs"
version = "0.0.1"
dependencies = [
"numpy >= 1.21, < 2.0.0",
"numpy >= 1.21",
"scipy >= 1.8.0",
"gurobipy >= 11.0.0",
# NLP added in 11.0.0, NumPy 2.x support in this version
"gurobipy >= 11.0.3",
# HiGHS modelling language commands were added in this version
"highspy >= 1.7.2",
]
requires-python = ">=3.10"
requires-python = ">= 3.10"
authors = [
{ name="Josh Fogg", email="j.fogg@ed.ac.uk" },
]
Expand Down

0 comments on commit f5e3e99

Please # to comment.