All skills
nvidia avatar

/cuopt-numerical-optimization-api

@e0cd22d
by NVIDIA Corporationnvidia/skills3.5k stars
424

LP, MILP, and QP (beta) with cuOpt — Python, C, and CLI. Use when the user is solving LP, MILP, or QP with any cuOpt interface.

Use this Skill: https://skilld.dev/gh/nvidia/skills/cuopt-numerical-optimization-api

This session only. Nothing lands on disk.

assetsclp_basicREADME.md

≈117 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Simple LP (C API)

Minimize -0.2*x1 + 0.1*x2 subject to:

  • 3*x1 + 4*x2 <= 5.4
  • 2.7*x1 + 10.1*x2 <= 4.9
  • x1, x2 >= 0

Build: From repo root or skill dir, with cuOpt on INCLUDE_PATH and LIB_PATH:

gcc -I${INCLUDE_PATH} -L${LIB_PATH} -o lp_simple lp_simple.c -lcuopt
LD_LIBRARY_PATH=${LIB_PATH}:$LD_LIBRARY_PATH ./lp_simple

See also: references/examples.md for parameter constants and more examples.

Source: SKILL.md on GitHub

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides a comprehensive environment for modeling and solving optimization problems using the NVIDIA cuOpt library. It includes well-documented examples and reference implementations for Python, C, and CLI interfaces. Security analysis identified a remote data download from a reputable academic source and standard data ingestion patterns for optimization files, neither of which present malicious risk.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at e0cd22d. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 months ago
version
26.10.00
Other metadata
metadata
{
  "author": "NVIDIA cuOpt Team",
  "tags": [
    "cuopt",
    "linear-programming",
    "milp",
    "qp",
    "python",
    "c-api",
    "cli"
  ]
}

README badge

README badge for nvidia/skills/cuopt-numerical-optimization-api