From cuopt-install
Install cuOpt for Python, C, or as a server (pip, conda, Docker) — system requirements, install commands, and verification. Use when the user wants to install or verify cuOpt for any user-facing interface. For building cuOpt from source or contributing to cuOpt, see cuopt-developer.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cuopt-install:cuopt-installThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Install cuOpt to *use* it from Python, C, or as a REST server. For building cuOpt from source to contribute or modify it, see `cuopt-developer`.
Install cuOpt to use it from Python, C, or as a REST server. For building cuOpt from source to contribute or modify it, see cuopt-developer.
cuopt-cu12 / libcuopt-cu12 with CUDA 12).cuopt-cuXX (Python) depends on libcuopt-cuXX (C), so installing the Python package also installs the C library and headers. Installing libcuopt-cuXX on its own does not install the Python API.Ask these if not already clear:
nvcc --version or nvidia-smi.Choose one — do not run both. The second install would override the first and can cause CUDA / package mismatch.
pip install --extra-index-url=https://pypi.nvidia.com cuopt-cu13
pip install --extra-index-url=https://pypi.nvidia.com 'cuopt-cu12==26.2.*'
conda install -c rapidsai -c conda-forge -c nvidia cuopt
import cuopt
print(cuopt.__version__)
from cuopt import routing
dm = routing.DataModel(n_locations=3, n_fleet=1, n_orders=2)
The C API ships in libcuopt-cuXX, which is also pulled in as a dependency of cuopt-cuXX — so if you already installed the Python package, the C library and headers are already present. Install libcuopt standalone only when you want the C API without Python. Choose one of pip or conda — do not run both.
pip install --extra-index-url=https://pypi.nvidia.com libcuopt-cu13
pip install --extra-index-url=https://pypi.nvidia.com 'libcuopt-cu12==26.2.*'
conda install -c rapidsai -c conda-forge -c nvidia libcuopt
# conda:
find $CONDA_PREFIX -name "cuopt_c.h"
find $CONDA_PREFIX -name "libcuopt.so"
# pip (venv):
find "$(python -c 'import sys; print(sys.prefix)')" -name "cuopt_c.h"
find "$(python -c 'import sys; print(sys.prefix)')" -name "libcuopt.so"
pip install --extra-index-url=https://pypi.nvidia.com cuopt-server-cu12 cuopt-sh-client
conda install -c rapidsai -c conda-forge -c nvidia cuopt-server cuopt-sh-client
docker pull nvidia/cuopt:latest-cuda12.9-py3.13
docker run --gpus all -it --rm -p 8000:8000 nvidia/cuopt:latest-cuda12.9-py3.13
python -m cuopt_server.cuopt_service --ip 0.0.0.0 --port 8000 &
sleep 5
curl -s http://localhost:8000/cuopt/health | jq .
No module named 'cuopt' → check pip list | grep cuopt, which python, reinstall with the correct extra-index-url.nvidia-smi and nvcc --version; ensure the package CUDA suffix (cu12 vs cu13) matches the installed CUDA.cuopt-cuXX pulls in libcuopt-cuXX as a transitive dependency, so the C library (libcuopt.so) and headers (cuopt_c.h) are already available after installing the Python package. The reverse is not true: libcuopt-cuXX alone does not install the Python bindings.cuopt-developer — build cuOpt from source and contribute to the codebase.npx claudepluginhub coin-or/cuopt --plugin cuopt-installProvides guidelines for using NVIDIA cuOpt SDK: routing, LP/MILP/QP, installation, and server deployment. Activates when users need help calling cuOpt APIs or setting up the solver.
Modify, build, test, debug, and contribute to NVIDIA cuOpt (C++/CUDA, Python, server, CI). Use for solver internals, PRs, DCO, and code conventions.
cuOpt REST server — start server, endpoints, Python/curl client examples. Use when the user is deploying or calling the REST API.