Skip to content

Commit a8008cf

Browse files
committed
Update notebooks and readme
1 parent 0c01b23 commit a8008cf

3 files changed

Lines changed: 1949 additions & 86 deletions

File tree

README.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,29 +8,20 @@ You can get more details and tips by reading the blog post ["GPU-Accelerated Opt
88

99
## Requirements
1010

11-
- **Operating System:** Linux, Windows through WSL2
11+
- **Operating System:** Linux, Windows 11 through WSL2
1212
- **GAMS:** Version 49 or newer.
1313
- **GAMSPy:** Version 1.12.1 or newer
1414
- **NVIDIA GPU:** Volta architecture or better
15-
- **CUDA Runtime Libraries:** 12.0+
15+
- **CUDA Runtime Libraries:** 12 and 13
1616

1717
## Getting started / installation
1818

1919
- Make sure [CUDA runtime](https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64) is installed
20-
- Download and unpack `cuopt-link-release.zip` from the [releases page](https://github.com/GAMS-dev/cuoptlink-builder/releases):
21-
- Unpack the contents of `cuopt-link-release.zip` into your GAMS system directory. For GAMSPy, you can find out your system directory by running `gamspy show base`. So for example you can run `unzip -o cuopt-link-release.zip -d $(gamspy show base)`.
20+
- Download and unpack `cuopt-link-release-cu12.zip` or `cuopt-link-release-cu13.zip` (for CUDA 12 and 13 respectively) from the [releases page](https://github.com/GAMS-dev/cuoptlink-builder/releases):
21+
- Unpack the contents of `cuopt-link-release-cu*.zip` into your GAMS system directory. For GAMSPy, you can find out your system directory by running `gamspy show base`. So for example you can run `unzip -o cuopt-link-release-cu*.zip -d $(gamspy show base)`.
2222
- **Caution:** This will overwrite any existing `gamsconfig.yaml` file in that directory. The contained `gamsconfig.yaml` contains a `solverConfig` section to make cuOpt available to GAMS.
2323

24-
More specifically, the files from the CUDA runtime needed are
25-
```
26-
libcublas.so.12
27-
libcublasLt.so.12
28-
libcudss.so.0
29-
libcurand.so.10
30-
libcusolver.so.11
31-
libnvJitLink.so.12
32-
```
33-
and can be installed e.g. via `pip install --extra-index-url=https://pypi.nvidia.com cuopt-cu12==25.5.* nvidia-cuda-runtime-cu12==12.8.* nvidia-nvjitlink-cu12` into a Python environment or downloaded as archive `cu12-runtime.zip` from the [releases page](https://github.com/GAMS-dev/cuoptlink-builder/releases).
24+
The neccessary files from the CUDA 12 or 13 runtime can also be downloaded as convenient archive `cu12-runtime.zip` or `cu13-runtime.zip` from the [releases page](https://github.com/GAMS-dev/cuoptlink-builder/releases).
3425

3526
## Test the setup
3627

@@ -42,4 +33,5 @@ gams trnsport lp cuopt
4233

4334
## Examples
4435

45-
- [examples/trnsport_cuopt.ipynb](examples/trnsport_cuopt.ipynb)
36+
- [examples/trnsport_cuopt.ipynb](examples/trnsport_cuopt.ipynb) for CUDA 12
37+
- [examples/trnsport_cuopt.ipynb](examples/trnsport_cuopt_cu13.ipynb) for CUDA 13

0 commit comments

Comments
 (0)