cuopt-server-common
cuOpt Server (common)
Domain concepts for the cuOpt REST server. No deploy commands or client code here.
What the server does
- Accepts optimization requests (routing, LP, MILP) over HTTP.
- Returns a request ID; solution is obtained by polling with that ID.
- Does not support QP via REST.
Problem types supported
| Problem type | Supported |
|---|---|
| Routing | ✓ |
| LP | ✓ |
| MILP | ✓ |
| QP | ✗ |
Request flow (conceptual)
- Client sends problem data in the required schema (matrices, tasks, fleet, solver config).
- Server returns a
reqId. - Client polls the solution endpoint with
reqIduntil the job completes. - Response contains status and, on success, solution (routes, objective, primal values, etc.).
Required questions (deployment and usage)
Ask these if not already clear:
- Problem type — Routing or LP/MILP? (QP not available.)
- Deployment — Local, Docker, Kubernetes, or cloud?
- Client — Which language or tool will call the API (e.g. Python, curl, another service)?
Key endpoints (conceptual)
- Health check.
- Submit request (POST).
- Get solution by request ID (GET).
- OpenAPI spec (e.g. for payload format).
More from nvidia/cuopt
cuopt-lp-milp-api-cli
LP and MILP with cuOpt — CLI only (MPS files, cuopt_cli). Use when the user is solving from MPS via command line.
2cuopt-lp-milp-api-c
LP and MILP with cuOpt — C API only. Use when the user is embedding LP/MILP in C/C++.
2cuopt-user-rules
Base behavior rules for using NVIDIA cuOpt. Read this FIRST before any cuOpt user task (routing, LP/MILP, QP, installation, server). Covers handling incomplete questions, clarifying data requirements, verifying understanding, and running commands safely.
1cuopt-qp-api-c
Quadratic Programming (QP) with cuOpt — C API. Use when the user is embedding QP in C/C++.
1cuopt-developer
Contribute to NVIDIA cuOpt codebase including C++/CUDA, Python, server, docs, and CI. Use when the user wants to modify solver internals, add features, submit PRs, or understand the codebase architecture.
1cuopt-qp-api-cli
QP with cuOpt — CLI (e.g. cuopt_cli with QP-capable input). Use when the user is solving QP from the command line.
1