NVIDIA / NVIDIA/cuopt

VRP gRPC: chunked upload/download for large problems and solutions

Open
#1,629 2 comments 0 reactions 1 assignee View on GitHub

@Iroy30 is already working on this.

Since Jul 28, 2026.

awaiting response
Dominant language
Cuda
Stars
1k
Forks
233
Avg merge
4d 4h
Merged PRs (30d)
95

Description

Follow-up to #1597 (unary-only VRP POC). The worker currently rejects chunked VRP, so a large cost/transit matrix or a RoutingSolution that exceeds the gRPC max message size can't be sent or retrieved.

Scope
  • Implement chunked upload (StartChunkedUpload/SendArrayChunk) for VRP problem arrays and chunked download (StartChunkedDownload/GetResultChunk) for RoutingSolution, mirroring the LP/MIP chunked path.
  • Add a client-side preflight size check so an oversized unary submit gives a clear early error or auto-falls-back to chunking instead of an opaque RESOURCE_EXHAUSTED (review nice-to-have #7).
Notes
  • Builds on the result_total_bytes fix landed in #1597 (data_size now reflects the VRP header payload, so the oversized-result guard is meaningful).

🤖 Generated with Claude Code

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.