cuopt-sandbox

bởi nvidia

Chạy cuOpt trong sandbox NemoClaw — kiểm tra cổng probe/smoke, môi trường gRPC từ xa, sau đó các kỹ năng cuOpt được đóng gói.

npx skills add https://github.com/nvidia/cuopt-examples --skill cuopt-sandbox

cuOpt in the NemoClaw sandbox

Infrastructure for solving with cuOpt inside NemoClaw: probe/smoke gates, capability-based gRPC execution, and handoff to vendored formulation/API skills.

When to use

  • Constructive planning from uploaded constraint data (schedule, assign, route, roster — any wording). See references/intent-and-triggers.md.
  • CSV upload + plan → optimization-from-data-orchestrator + references/activation.md.
  • ImportError / cudaErrorInsufficientDriver.

Mandatory order

Complete before any assignment output, feasibility verdict, or custom solver code:

StepActionReference
0Probe capability → gRPC smokereferences/grpc-connectivity-and-smoke.md
1Formulatevendored *-formulation skills
2Solve (one job, terminal status)references/long-running-jobs.md

Inspecting uploaded data for columns and constraints is fine; emit a completed plan only after smoke succeeds.

Quick reference

Imports (LP/MILP/QP):

from cuopt.linear_programming.problem import Problem, INTEGER, MINIMIZE
from cuopt.linear_programming.solver_settings import SolverSettings
# When available (preferred):
from cuopt.grpc.linear_programming import Client, GrpcError, JobStatus

Interfaces: LP/MILP/QP → prefer async Python gRPC client on :5001, otherwise use the legacy remote fallback; routing → REST :5000. See references/async-grpc-python.md, references/remote-execution-fallback.md, references/interfaces.md, and references/routing-rest-only.md.

Reference index

TopicFile
Activation / skill orderreferences/activation.md
Intent / paraphrasesreferences/intent-and-triggers.md
Gates / common mistakesreferences/gates-and-first-actions.md
Async Python gRPC jobsreferences/async-grpc-python.md
Legacy remote fallbackreferences/remote-execution-fallback.md
Connectivity + smokereferences/grpc-connectivity-and-smoke.md
Python importsreferences/python-imports.md
gRPC vs RESTreferences/interfaces.md
Routing RESTreferences/routing-rest-only.md
Paths + probereferences/environment-and-networking.md
Long-running jobsreferences/long-running-jobs.md
Troubleshootingreferences/troubleshooting.md

Orchestration skills (local)

After gates: optimization-from-data-orchestrator → optimization-intent-router → tabular-optimization-ingestion → cuopt-model-mapper (and optimization-mode-router when replay/audit signals appear).

Vendored upstream skills

Installed under /sandbox/.openclaw/skills/ by install-skill: numerical-optimization-formulation, cuopt-numerical-optimization-api-python, routing-formulation, cuopt-routing-api-python, cuopt-server-api-python, cuopt-user-rules, etc.

For LP/MILP/QP, use upstream skills to build the model. Execute with this skill's async Client lifecycle when importable; only then fall back to the legacy remote Problem.solve() path, which cannot cancel submitted work.

Thêm skills từ nvidia

accelerated-computing-cudf
nvidia
Hướng dẫn chính thức từ NVIDIA về NVIDIA cuDF GPU DataFrames, tăng tốc pandas, dask-cuDF, ETL, joins, groupby, I/O CSV/Parquet, ngữ nghĩa nullable, và…
accessibility
nvidia
Quy trình kiểm tra khả năng truy cập thống nhất trên phân tích tĩnh, kiểm thử thời gian chạy, các mẫu ARIA, điều hướng bàn phím và độ tương phản màu sắc. Sử dụng kỹ năng này…
accessing-mlflow
nvidia
Truy vấn và duyệt kết quả đánh giá được lưu trữ trong MLflow. Sử dụng khi người dùng muốn tra cứu các lần chạy theo ID lời gọi, so sánh chỉ số giữa các mô hình, lấy tạo phẩm…
add-binding-feature
nvidia
Thêm hoặc thay đổi bề mặt API NeMo Relay công khai trên toàn bộ runtime lõi và mọi binding bị ảnh hưởng
add-middleware
nvidia
Thêm một loại guardrail hoặc intercept mới vào pipeline middleware của NeMo Relay
aicr-analyzing-snapshots
nvidia
Sử dụng khi phân tích tệp YAML snapshot AICR, xem xét trạng thái cụm, so sánh đặc điểm nhà cung cấp, trích xuất thông tin chi tiết về cấu trúc liên kết GPU/mạng, hoặc…
aicr-auditing-docs
nvidia
Sử dụng khi rà soát tài liệu Markdown của AICR để tìm trùng lặp, sai lệch, cồng kềnh, và khoảng trống — nhằm giữ tài liệu có giá trị cao khi dự án phát triển. Kích hoạt khi "audit…
aicr-creating-guided-demos
nvidia
Tạo khung kịch bản demo có hướng dẫn tương tác (demos/*.sh), trực tiếp hoặc tự học, theo mẫu Frame → Tell → Show → Close. Kích hoạt khi có "demo script", "guided…