cuOpt VRP / TSP / PDP routing libraries (C++)
Project Links
Meta
Author: NVIDIA Corporation
Requires Python: >=3.11
Classifiers
Intended Audience
- Developers
Topic
- Database
- Scientific/Engineering
Programming Language
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Environment
- GPU :: NVIDIA CUDA
libcuopt-routing
cuOpt VRP / TSP / PDP routing engine library.
This package ships one component of cuOpt's C++ library. Install libcuopt instead to get all of them.
Building against this package with CMake
find_package(cuopt) provides cuopt::routing. The wheels are split across separate
site-packages directories, so pass every wheel root and every directory holding a *-config.cmake:
SP=$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')
ROOTS=$(find "$SP" -mindepth 3 -maxdepth 3 -path '*/lib64/cmake' -printf '%h\n' | xargs -n1 dirname | sort -u | tr '\n' ';')
CFGS=$(find "$SP" \( -name '*-config.cmake' -o -name '*Config.cmake' \) -printf '%h\n' | sort -u | tr '\n' ';')
cmake -S . -B build -DCMAKE_PREFIX_PATH="$ROOTS$CFGS"
A CUDA toolkit with nvcc must be available to CMake.