All skills
cuopt-routing-api-python
Build and solve vehicle routing problems in Python with cuOpt, including time windows, capacities, and pickup-delivery pairs.
- Part of NVIDIA/skills
- 2.3k installs
- Developer Tools · Backend
When to use it
You already have a cost matrix and fleet details but need working cuOpt Python code to model VRP, TSP, or PDP constraints and read the solution status.
For example
You say
Use cuopt-routing-api-python to write a Python script for a 3-vehicle delivery VRP with a cost matrix, per-stop demands, vehicle capacities, and time windows, then print routes and total cost.
You get
- Python VRP script
- Route and cost output
- Infeasible order check
How it works
- Shows how to add capacity dimensions, service times, and vehicle start/end locations.
- Includes status-code handling and debugging steps for infeasible or empty solutions.
Before installing
Requires the cuOpt Python package and cuDF, since routing has no C API and all examples use cudf and cuopt.routing.
This skill includes 2 scripts your assistant may run on your computer.
More Backend skills
See all- lark-shared497kHandles Lark CLI login, identity, permissions and authorization status.
- lark-event489kStreams Lark real-time events like messages, approvals and meetings for bots and subscribers.
- golang-pro19.8kWrites concurrent Go services with goroutines, channels, gRPC or REST, and profiles performance.
- php-pro16.4kBuilds modern PHP applications with strict typing, Laravel or Symfony, tests and REST or GraphQL APIs.
Also in this pack
- accelerated-computing-cudf3.2kGuides GPU DataFrame work with cuDF, including pandas acceleration, joins, groupby, file I/O and multi-GPU jobs.
- cuopt-developer2.8kModifies, builds, tests, and debugs NVIDIA cuOpt source code and prepares contributions.
- cuopt-install2.6kInstalls cuOpt for Python, C, or server via pip, conda, or Docker and verifies it works.
- data-designer2.6kGenerates a synthetic dataset from your description of the data you need.