cuopt-debugging
Skill by NVIDIA
Troubleshoots NVIDIA cuOpt LP and MILP problems, including errors, wrong or infeasible results, empty solutions, and slow solves. Aimed at developers who use cuOpt in Python.
Install cuopt-debugging
Built from the published package, never by AI.
git clone --depth 1 https://github.com/NVIDIA/cuopt-examples /tmp/cuopt-examples && mkdir -p ~/.claude/skills && cp -r /tmp/cuopt-examples/cuopt-agent/skills/max-supply/cuopt-debugging ~/.claude/skills/cuopt-debuggingRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/NVIDIA/cuopt-examples /tmp/cuopt-examples && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cuopt-examples/cuopt-agent/skills/max-supply/cuopt-debugging ~/.gemini/antigravity-cli/skills/cuopt-debuggingAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The cuOpt Debugging skill helps an AI assistant troubleshoot cuOpt LP and MILP problems. It covers errors, wrong or infeasible results, empty solutions, unbounded status, slow solves, and out-of-memory errors. It provides Python diagnostic snippets, a table of LP and MILP status values, and a checklist of common mistakes such as status string case, variable types, constraint directions, and objective sense.
The skill first asks the user for the symptom, the status value, the exact error message, the code, and the problem size. It then points to the matching section for that symptom. It also covers reading dual values and reduced costs from LP and QP solves, and explains when to file a GitHub issue. It is intended for developers who use cuOpt and get unexpected results or errors.
Written from the project's SKILL.md and checked against it.
What it can do
- Symptom-based diagnosisWalks through empty solutions, wrong objective values, infeasible, unbounded, and out-of-memory cases.
- Status code referenceLists LP and MILP status values such as Optimal, PrimalInfeasible, FeasibleFound, and TimeLimit with meanings.
- Performance debuggingShows how to enable console logging, set a time limit, and set a MILP relative gap for slow solves.
- Diagnostic checklistLists checks for status case, variable types, constraint directions, objective sense, and variable bounds.
- Dual value interpretationExplains how to read dual values and reduced costs from LP and QP solves in a separate reference file.
- Escalation guidanceSays when to file a GitHub issue and which details to include, such as versions and a minimal repro.
What you need
- Python
Try asking
- Why does my cuOpt problem return an empty solution even though the status looks OK?
- Help me diagnose why my cuOpt LP model is infeasible.
- Explain the dual values and reduced costs from my cuOpt LP solve.
Good to know
- Integer models and MILP return no usable dual values.
- Quadratic constraints also return no usable dual values.
- Status names are case-sensitive and use PascalCase, so OPTIMAL never matches.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cuopt-agent/skills/max-supply/cuopt-debugging/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
resources/diagnostic_snippets.md5 KB -
resources/interpreting_duals.md8 KB
Alternatives to cuopt-debugging
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
cuopt-debugging: common questions
Why does my check for OPTIMAL never run in cuOpt?
The status names use PascalCase, such as Optimal. The source says the string OPTIMAL never matches and fails silently.
Which MILP status values does cuOpt report?
The source lists Optimal, FeasibleFound, Infeasible, Unbounded, TimeLimit, and NoTermination for MILP.
What should I include when reporting a cuOpt bug?
The source says to include the cuOpt version, CUDA version, error message, and minimal reproduction code in a GitHub issue.
How do I install cuopt-debugging?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cuopt-debugging free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is cuopt-debugging safe to use?
It scores 78 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cuopt-debugging?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
