This project builds and packages the GAMS and GAMSPy solver link for the NVIDIA cuOpt solver.
- Operating System: Linux
- GAMS: Version 49 or newer.
- GAMSPy: Version 1.12.1 or newer
- NVIDIA GPU: Volta architecture or better
- CUDA Runtime Libraries: 12.0+
- Make sure CUDA runtime is installed
- Download and unpack
cuopt-link-release.zip
from the releases page:- Unpack the contents of
cuopt-link-release.zip
into your GAMS system directory. For GAMSPy, you can find out your system directory by runninggamspy show base
. So for example you can rununzip -o cuopt-link-release.zip -d $(gamspy show base)
. - Caution: This will overwrite any existing
gamsconfig.yaml
file in that directory. The containedgamsconfig.yaml
contains asolverConfig
section to make cuOpt available to GAMS.
- Unpack the contents of
More specifically, the files from the CUDA runtime needed are
libnvJitLink.so.12
libcusolver.so.11
libcurand.so.10
libcusparse.so.12
libcublasLt.so.12
libcublas.so.12
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.
Get an example model and explicitly choose cuopt
as lp
or mip
solver:
gamslib trnsport
gams trnsport lp cuopt