cuopt-routing-api-python

安装量: 514
排名: #9583

安装

npx skills add https://github.com/nvidia/skills --skill cuopt-routing-api-python

cuOpt Routing — Python API Confirm problem type (TSP, VRP, PDP) and data (locations, orders, fleet, constraints) before coding. This skill is Python only . Routing has no C API in cuOpt. Minimal VRP Example 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 ( ) ) Show more Installs 503 Repository nvidia/skills GitHub Stars 1.2K First Seen May 15, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜