What problem does it solve?
Formulating and solving linear programming (LP), mixed-integer linear programming (MILP), and quadratic programming (QP) problems with NVIDIA cuOpt requires knowing the correct API call sequences, variable typing rules, and solver restrictions across three different interfaces. This Skill guides an AI agent to produce correct cuOpt code in Python, C, or via the cuopt_cli command line, avoiding common silent failures like incorrect status string casing or unsupported QP maximization.
Core Features & Use Cases
- Interface-specific guidance: Dedicated references for the Python API, C API, and cuopt_cli, including call sequences, parameter functions, and CSR matrix construction.
- Problem-type decision rules: Clear criteria for choosing LP vs MILP vs QP based on objective form and variable types, plus integer-vs-continuous wording heuristics.
- QP constraints and workarounds: Documents MINIMIZE-only restriction, continuous-variables-only rule, PSD requirements, and the negate-the-objective maximization workaround.
- Runnable reference models: Ready-to-run Python, C, and MPS examples covering LP basics, duals, PDLP warmstart, production planning MILP, portfolio QP, least squares, and MPS file solving.
- Use Case: A developer asks their agent to solve a facility-location problem. The Skill directs the agent to model binary open/close variables as INTEGER, set a MIP gap tolerance, and produce working cuOpt Python code with correct PascalCase status checks.
Quick Start
Ask your agent to solve a linear programming problem with cuOpt, for example to maximize profit subject to resource constraints using the cuOpt Python API.