nvidia avatar

Cuopt Server Api Python

This covers deploying NVIDIA's cuOpt REST server and calling it from Python or curl. You get Docker and local startup commands, payload examples for routing and linear programming problems, and a polling workflow since solutions come back async. The Python snippet shows the full cycle: POST your problem, grab the request ID, poll for results. Helpful if you're already familiar with cuOpt's Python API, since the REST field names differ slightly (task_locations vs order_locations, for instance). The runnable assets give you working VRP, pickup/delivery, and LP examples to start from. Routing and MILP are supported; quadratic programming is not available via REST.

skills.sh installs
2.2K
GitHub stars
3.9K
last updated
Aug 21, 2026

Install

$ npx -y skills add nvidia/skills --skill cuopt-server-api-python --agent claude-code

Installs into .claude/skills of the current project.

Files

cuOpt Server — Deploy and client (Python/curl)

This skill covers starting the server and client examples (curl, Python). Server has no separate C API (clients can be any language).

Purpose

Use this skill when the user is deploying the cuOpt REST server or writing a client against it — choosing a deployment target, mapping a problem onto the HTTP endpoints, translating between Python-API and REST field names, or debugging a rejected payload.

Prerequisites

  • An NVIDIA GPU with a working CUDA driver (the server requires one; --gpus all for Docker).
  • cuopt-server installed, or Docker with the NVIDIA Container Toolkit. See the install skill.
  • Python clients need requests. No API key or auth token is required by the server itself.

Problem types supported

Problem typeSupported
Routing✓
LP✓
MILP✓
QP✗

Required questions

Ask these if not already clear:

Sponsors

Details

Repository
github.com/nvidia/skills
Categories
Backend & APIs, Python
First seen
Jul 14, 2026

More from nvidia/skills

All 236
1mindrally avatarrest-api-djangomindrally/skillsComprehensive guidelines for Django REST API development covering project structure, views, models, serializers, authentication, performance, and error handling741skills.sh installs
2jezweb avatardrizzle-orm-d1jezweb/claude-skillsBuild type-safe D1 databases with Drizzle ORM. Includes schema definition, migrations with Drizzle Kit, relations, and D1 batch API patterns. Prevents 18 errors640skills.sh installs
3secondsky avatarapi-authenticationsecondsky/claude-skillsSecure API authentication with JWT, OAuth 2.0, API keys. Use for authentication systems, third-party integrations, service-to-service communication, or encounte549skills.sh installs
4aj-geddes avatarapi-gateway-configurationaj-geddes/useful-ai-promptsConfigure API gateways for routing, authentication, rate limiting, and request/response transformation. Use when deploying microservices, setting up reverse pro508skills.sh installs
5manutej avatargraphql-api-developmentmanutej/luxor-claude-marketplaceComprehensive guide for building GraphQL APIs including schema design, queries, mutations, subscriptions, resolvers, type system, error handling, authentication449skills.sh installs
6secondsky avatarapi-gateway-configurationsecondsky/claude-skillsConfigures API gateways for routing, authentication, rate limiting, and request transformation in microservice architectures. Use when setting up Kong, Nginx, A422skills.sh installs