- Notifications
You must be signed in to change notification settings - Fork60
NVIDIA cuOpt examples for decision optimization
License
NVIDIA/cuopt-examples
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
NVIDIA® cuOpt™ is an open-source GPU-accelerated engine for solving complex decision optimization problems, such as Mixed Integer Programming, Linear Programming, and Vehicle Routing problems. This repository contains a collection of examples demonstrating the use of NVIDIA cuOpt via service APIs, SDK, and Integration with other OSS optimization packages.
This repository is underApache 2.0 License
The easiest way to get started with these examples is using cuOpt docker image.
- Docker
- NVIDIA Container Toolkit
- NVIDIA GPU with appropriate drivers
For detailed system requirements, please refer to theNVIDIA cuOpt System Requirements documentation.
Specific requirements are listed in each workflow's README.md and in the root directory's requirements.txt files.
- Clone this repository:
git clone https://github.com/NVIDIA/cuopt-examples.gitcd cuopt-examples- Pull the cuOpt docker image:
For cuda-13:
docker pull nvidia/cuopt:25.12.0a-cuda13.0-py3.13
For cuda-12
docker pull nvidia/cuopt:25.12.0a-cuda12.9-py3.13
- Run the examples:
For cuda-13:
docker run -it --rm --gpus all --network=host -v$(pwd):/workspace -w /workspace nvidia/cuopt:25.12.0a-cuda13.0-py3.13 /bin/bash -c"pip install -r requirements.txt; jupyter-notebook"
For cuda-12:
docker run -it --rm --gpus all --network=host -v$(pwd):/workspace -w /workspace nvidia/cuopt:25.12.0a-cuda12.9-py3.13 /bin/bash -c"pip install -r requirements.txt; jupyter-notebook"
- Open your browser with the link provided in the terminal, and you can see the notebooks.
These notebooks have been tested onNVIDIA Launchable,Google Colab, and local Jupyter environments. They may work on other platforms as well.
The repository is organized by use cases, with each directory containing examples and implementations specific to that use case. Each use case directory includes:
- Example notebooks
- README.md with specific instructions
Theintra-factory_transport directory contains an example of using the cuOpt SDK API to solve a Capacitated Pickup and Delivery Problem with Time Windows (CPDPTW) for optimizing routes of Autonomous Mobile Robots (AMRs) within a factory environment.
We welcome contributions! Please see ourCONTRIBUTING.md file for guidelines on how to contribute new examples or improve existing ones.
Example videos can be found listed in the documentation
About
NVIDIA cuOpt examples for decision optimization
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.