cuopt-numerical-optimization-api-c

安装量: 1.3K
排名: #5854

安装

npx skills add https://github.com/nvidia/skills --skill cuopt-numerical-optimization-api-c

cuOpt Numerical Optimization — C API Solve LP, MILP, and QP problems via the cuOpt C API. The same library, headers, build pattern, and core calls ( cuOptCreateProblem , cuOptSolve , cuOptGetObjectiveValue ) apply across all three; QP extends the API with quadratic-objective creation calls. Confirm problem type and formulation (variables, objective, constraints, variable types) before coding. This skill is C only . API Call Sequence For LP/MILP, the ordered C entry points are: cuOptCreateRangedProblem (sense CUOPT_MINIMIZE / CUOPT_MAXIMIZE , CSR constraint matrix as row_offsets / col_indices / values , var_types char array using CUOPT_CONTINUOUS / CUOPT_INTEGER macros) → cuOptSolve(problem, settings, &solution) → cuOptGetObjectiveValue(solution, &obj_value) → matching cuOptDestroy calls. Include . Full ordered code with build instructions in references/examples.md . QP via C API (beta) QP uses the same library, include/lib paths, and build pattern as LP/MILP — only the problem-creation call differs (it accepts a quadratic objective). See the cuOpt C headers ( cpp/include/cuopt/linear_programming/ ) for the QP-specific creation/solve calls and the repo docs at docs/cuopt/source/cuopt-c/lp-qp-milp/ for end-to-end QP examples. Show more Installs 509 Repository nvidia/skills GitHub Stars 1.3K First Seen May 15, 2026 Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass

返回排行榜