Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nvidia/cuopt-routing-api-python
Vehicle routing (VRP, TSP, PDP) with cuOpt — Python API only.
Passed 20 of 22 test cases with the skill, and 5 of 22 without it.
and 23 more in the full report
16 fixed4 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 16 test cases the skill fixed. Same model, same prompt, with and without the skill.
Where can I find pre-built reference asset models for standard VRP and pickup-delivery problems in this skill package?
| Checked | Without skill | With skill |
|---|---|---|
| Directs to the assets directory containing vrp_basic and pdp_basic reference models. | Missed | Passed |
The instructions your model reads when the skill loads.
This skill is Python only. Routing has no C API in cuOpt.
Ask these if not already clear:
import cudf
from cuopt import routing
cost_matrix = cudf.DataFrame([...], dtype="float32")
dm = routing.DataModel(n_locations=4, n_fleet=2, n_orders=3)
dm.add_cost_matrix(cost_matrix)
dm.set_order_locations(cudf.Series([1, 2, 3], dtype="int32"))
solution = routing.Solve(dm, routing.SolverSettings())
if solution.get_status() == 0:
solution.display_routes()
# Time windows
dm.add_transit_time_matrix(transit_time_matrix)
dm.set_order_time_windows(earliest_series, latest_series)
# Capacities
dm.add_capacity_dimension("weight", demand_series, capacity_series)
dm.set_order_service_times(service_times)
test cases passed, vs 5 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.