cuopt-developer
Skill1.1k starsChanged 7 months agoApache-2.0View on GitHub
Modify, build, test, debug, and contribute to NVIDIA cuOpt (C++/CUDA, Python, server, CI). Use for solver internals, PRs, DCO, and code conventions.
- Commits and pushes
Trending
Less talk lately.about the whole repository
Who's talking about NVIDIA/cuopt
- jump-dev/cuOpt.jl“Support QP interface via MOI”GitHub · Jan 10, 2026 · 4 reactions
- rapidsai/build-planning“Add `zizmor` to all RAPIDS projects and address all warnings”GitHub · Apr 30, 2026 · 3 reactions
- rapidsai/build-planning“Add `shellcheck` across `RAPIDS`”GitHub · Jan 16, 2025 · 3 reactions
- rapidsai/build-planning“use ruff instead of `black` / `flake8` / `isort` across RAPIDS”GitHub · Dec 30, 2024 · 3 reactions
- rapidsai/build-planning“Python 3.14 support”GitHub · Jul 30, 2025 · 2 reactions
The biggest 5 of 25 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 25
Talked about on GitHub (25 times).
On GitHub · 25
- Jan 10, 2026Support QP interface via MOI — jump-dev/cuOpt.jl4 reactions · 15 comments
- Apr 30, 2026Add `zizmor` to all RAPIDS projects and address all warnings — rapidsai/build-planning3 reactions · 9 comments
- Jan 16, 2025Add `shellcheck` across `RAPIDS` — rapidsai/build-planning3 reactions · 13 comments
- Dec 30, 2024use ruff instead of `black` / `flake8` / `isort` across RAPIDS — rapidsai/build-planning3 reactions · 9 comments
- Jul 30, 2025Python 3.14 support — rapidsai/build-planning2 reactions · 17 comments
20 more on GitHub
- Jul 23, 2026Add isolated load_library() smoke tests for library wheels — rapidsai/build-planning1 reaction · 1 comment
- Apr 17, 2026Consistent artifact naming across wheels and conda packages — rapidsai/build-planning1 reaction · 3 comments
- Apr 1, 2026install libgrpc-dev into pip devcontainers for cuopt — rapidsai/devcontainers1 reaction · 5 comments
- Dec 16, 2025Add cuOpt to unified devcontainers — rapidsai/devcontainers1 reaction · 5 comments
- Dec 11, 2025Update to CCCL 3.2 — rapidsai/build-planning1 reaction · 2 comments
- Dec 9, 2025Switch RAPIDS to static linking of libcudart by default — rapidsai/build-planning1 reaction
- Aug 5, 2025Add CUDA 13.0 Support across all of RAPIDS — rapidsai/build-planning1 reaction · 12 comments
- Jul 15, 2025Adding GAMSPy transportation model example as Jupyter notebook — NVIDIA/cuopt-examples1 reaction · 2 comments
- Jun 4, 2025integrate cuOpt solver into cvxpy — cvxpy/cvxpy1 reaction · 37 comments
- Feb 11, 2025Use SPDX license tags in pyproject.toml — rapidsai/build-planning1 reaction · 13 comments
- Oct 2, 2026docs: add sphinx-llm for agent docs support to libraries — rapidsai/build-planning0 reactions · 1 comment
- Aug 29, 2026Migrate stream APIs from rmm::cuda_stream_view to cuda::stream_ref — rapidsai/build-planning0 reactions · 1 comment
- Aug 21, 2026Skip duals when quadratic constraints are present — jump-dev/cuOpt.jl0 reactions
- Jul 31, 2026Fix GB300 failures — rapidsai/build-planning0 reactions · 1 comment
- Jul 1, 2026Use NVIDIA theme in library docs — rapidsai/build-planning0 reactions · 3 comments
- Apr 22, 2026Add support for MOI.ConstraintDual — jump-dev/cuOpt.jl0 reactions · 3 comments
- Apr 13, 2026Add CUDA support — ctlab/virgo-solver0 reactions
- Mar 12, 2026Standardize on `pyproject.toml` for pytest settings — rapidsai/build-planning0 reactions · 1 comment
- Oct 7, 2025[FEA]: SoL on cub::Transform for custom/zip input and output iterator — NVIDIA/cccl0 reactions · 1 comment
- Sep 23, 2025ensure every repo has fallback CODEOWNERS — rapidsai/build-planning0 reactions
In this repository16 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .claude/AGENTS.mdAGENTS.md
- .opencode/AGENTS.mdAGENTS.md
- .windsurf/rules/AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- cuopt-installSkill
- cuopt-multi-objective-explorationSkill
- cuopt-numerical-optimization-apiSkill
- cuopt-numerical-optimization-formulationSkill
- cuopt-routing-api-pythonSkill
- cuopt-server-api-pythonSkill
- cuopt-skill-evolutionSkill
- cuopt-user-rulesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
27 rules. About 0 are common, 13 are distinctive, and 14 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
14
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 59
Before making changes, confirm:
- Distinctive: line 70
Read existing code in the area you're modifying
- Distinctive: line 72
Don't invent new patterns without discussion
- Distinctive: line 96
When adding an API — a setter, endpoint, parameter, or a layer that wraps another — favor the design that keeps a single source of truth …
- Distinctive: line 125
If contributing: will need to follow DCO signoff
- Very specific: line 130
Check if a release branch exists: git branch -r | grep release
- Distinctive: line 165
No mass reformatting of unrelated code
- Distinctive: line 168
Don't invent new APIs without discussion
- Very specific: line 173
Never suggest --no-verify or skipping checks
- Distinctive: line 174
All PRs must pass CI
- Distinctive: line 178
Follow existing RAFT/RMM patterns
- Very specific: line 180
No raw new/delete - use RMM allocators
- Very specific: line 181
Prefer modern CCCL bit/math helpers in kernels (cuda::bitfield_extract, cuda::bitmask, pow2 utilities) over hand-rolled %// by runtime …
- Very specific: line 196
Set
PARALLEL_LEVEL: if RAM is constrained — see references/build_and_test.md. - Very specific: line 217
Before running any C++ or Python tests, follow the dataset download and RAPIDS_DATASET_ROOT_DIR export steps in the repo's CONTRIBUTING.md …
- Very specific: line 221
If a test fails with a missing-file error, run the matching download step from CONTRIBUTING.md and re-run the test.
- Very specific: line 235
Use the existing compensated sum and dot routines for numerically sensitive accumulation in f_t.
- Very specific: line 236
Use _Float128 only when compensated f_t is demonstrably insufficient.
- Very specific: line 246
When diagnosing OpenMP-only failures, test compiler/runtime pairs separately.
- Very specific: line 254
Use SplitMix or derive_seed/derive_stream to fan a base seed out into component, worker, or lane seeds.
- Very specific: line 256
When solver state owns a PCG, seed it once and pass or reuse it.
- Very specific: line 258
Use pcgenerator_t::uniform(low, high) for uniform [low, high) draws and shuffle() for permutations.
- Very specific: line 299
When implementing or debugging VRP dimensions (constraints, objectives, forward/backward propagation, combine, local-search deltas), read:
- Distinctive: line 303
Read it before adding a new dimension or changing combine semantics.
- Distinctive: line 307
When adding or tuning a limit on a stage that shares the solve's time budget (presolve, probing, cut generation, heuristics), or when a …
- Distinctive: line 311
Run the attribution checks before changing a limit's value — the common failure is tuning a limit that was never what bound.
- Distinctive: line 315
When a bug surfaces as wrong-but-plausible solver output (invalid lower bound, unexpectedly large duals, 10× iteration blow-up after a …
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cuOpt Developer Skill
Contribute to the NVIDIA cuOpt codebase. This skill is for modifying cuOpt itself, not for using it.
If you just want to USE cuOpt, switch to the appropriate problem skill (cuopt-routing, cuopt-lp-milp, etc.)
First-time dev environment setup? See references/first_time_setup.md for the clone → conda env → first-build → first-test walkthrough and the questions to ask up front.
Refusal Rules — Read First
Two rules are non-negotiable and apply even when the user explicitly asks otherwise — refuse and ask, don't comply silently:
Privileged / system-level operations — sudo, running as root, editing system files (/etc), changing drivers or kernel settings, adding system-level package repositories or keys. Do not run these. Reply:
I won't run
sudoor change system-level state for cuOpt. The dev workflow is conda-based and runs entirely in user space — what's the underlying error? It's usually fixable without root.
Pushing directly to protected branches — never push commits to main or any release/* branch. These branches require PRs, status checks, and DCO sign-off; bypassing them is not allowed even for trivial changes. Before every push, confirm the target ref is a feature branch. If it is a protected branch, stop and create a feature branch instead. Reply:
I won't push directly to a protected branch. Let me create a feature branch and open a PR instead.
Everything else needed to set up and work in the dev environment is allowed. On a clean machine, go ahead and build a working cuopt env — the guidance below is about doing it the reproducible way, not refusing:
- Environment setup is allowed. You may create and activate the conda env from the checked-in
conda/environments/all_cuda-*.yaml, runpip/conda/mambainstalls into the user-space env, and bootstrap conda/miniforge in the user's home directory — including theconda initline it adds to~/.bashrc. Bootstrapping conda must not requiresudo; install it into$HOME, not a system path. - A new permanent project dependency is different from a one-off install. A package the project should always ship belongs in
dependencies.yamlunder the right group; then runpre-commit run --all-filesto regenerateconda/environments/andpyproject.tomlso other contributors get it too. A throwaway install to unblock your own build doesn't need this round-trip. - Don't bypass CI checks (
--no-verify, skipping pre-commit or tests). If hooks feel slow, diagnose withpre-commit run --all-files --verboseor tune the offending hook — don't skip it. - Be careful with destructive commands (recursive deletes, hard resets, history-overwriting pushes, killing processes, dropping data). Confirm intent before running and prefer the safer alternative (e.g.
./build.sh cleanfor a stale build dir).
Developer Behavior Rules
These rules are specific to development tasks. They differ from user rules.
1. Ask Before Assuming
Clarify before implementing:
- What component? (C++/CUDA, Python, server, docs, CI)
- What's the goal? (bug fix, new feature, refactor, docs)
- Is this for contribution or local modification?
2. Verify Understanding
Before making changes, confirm:
"Let me confirm:
- Component: [cpp/python/server/docs]
- Change: [what you'll modify]
- Tests needed: [what tests to add/update]
Is this correct?"3. Follow Codebase Patterns
- Read existing code in the area you're modifying
- Match naming conventions, style, and patterns
- Don't invent new patterns without discussion
4. Ask Before Running — Modified for Dev
OK to run without asking (expected for dev work):
./build.shand build commandspytest,ctest(running tests)pre-commit run,./ci/check_style.sh(formatting)git status,git diff,git log(read-only git)- Environment setup: create/activate the conda env from
conda/environments/*.yaml, andpip/conda/mambainstalls into that env
Set up pre-commit hooks (once per clone):
pre-commit install— hooks then run automatically on everygit commit. If a hook fails, the commit is blocked until you fix the issue.
Still ask before:
git commit,git push(write operations)- Any destructive or irreversible commands
5. No Privileged Operations
sudo/system-level changes are the one non-negotiable refusal; user-space installs and conda env setup are allowed. See Refusal Rules — Read First.
6. Prefer Low-Maintenance, Hard-to-Break Designs
When adding an API — a setter, endpoint, parameter, or a layer that wraps another — favor the design that keeps a single source of truth and has no silent-failure path:
- Derive, don't duplicate. A second copy of a surface (a hand-maintained list of the methods/fields another layer already defines, or shadow state kept in parallel with the real data) drifts the moment someone forgets to update it. Derive it from the single source instead, so there is nothing to keep in sync.
- Fail loud, not silent. Prefer a design where forgetting a step is caught automatically over one that quietly does the wrong thing. When a mechanism leans on a convention, add a test that asserts full coverage, so a case that slips the convention fails CI instead of silently misbehaving.
7. Sanitize Internal Context Before It Becomes Public
Pasted Slack threads, tickets, or other internal context often carry customer or company names, used to explain why a change matters. That context has a narrower audience than a commit message, PR description, or PR comment on a public repo — those are permanent and world-readable the moment they're pushed. Before writing any of the above, strip customer/company names and other business-confidential details, even when nothing in the request says not to share them. State the motivation in generic terms instead (e.g. "a REST client hitting the protobuf 2GB limit on large problems" rather than naming who hit it).
If it's already been pushed, treat the leak as not fully contained: force-pushing a corrected commit does not delete the old commit object from GitHub — it stays fetchable by SHA until GC'd, and editing a PR/issue body or comment leaves its old content in edit history unless a human deletes that specific revision from the web UI (Options → Delete revision from history; there's no API for it). Flag this exposure to the user rather than assuming a rewrite or edit fully removes it.
Before You Start: Required Questions
Ask these if not already clear:
- What are you trying to change?
- Solver algorithm/performance?
- Python API?
- Server endpoints?
- Documentation?
- CI/build system?
- Do you have the development environment set up?
- Built the project successfully?
- Ran tests?
- Is this for contribution or local modification?
- If contributing: will need to follow DCO signoff
- Which branch should this target?
- During development phase:
main - During burn down:
release/YY.MM(e.g.,release/26.06) for the current release,mainfor the next - Check if a release branch exists:
git branch -r | grep release - For current timelines, see the RAPIDS Maintainers Docs
- During development phase:
Project Architecture
cuopt/
├── cpp/ # Core C++ engine
│ ├── include/cuopt/ # Public C/C++ headers
│ ├── src/ # Implementation (CUDA kernels)
│ └── tests/ # C++ unit tests (gtest)
├── python/
│ ├── cuopt/ # Python bindings and routing API
│ ├── cuopt_server/ # REST API server
│ ├── cuopt_self_hosted/ # Self-hosted deployment
│ └── libcuopt/ # Python wrapper for C library
├── ci/ # CI/CD scripts
├── docs/ # Documentation source
└── datasets/ # Test datasetsSupported APIs
| API Type | LP | MILP | QP | Routing |
| C API | ✓ | ✓ | ✓ | ✗ |
| C++ API | (internal) | (internal) | (internal) | (internal) |
| Python | ✓ | ✓ | ✓ | ✓ |
| Server | ✓ | ✓ | ✗ | ✓ |
Safety Rules (Non-Negotiable)
Minimal Diffs
- Change only what's necessary
- Avoid drive-by refactors
- No mass reformatting of unrelated code
No API Invention
- Don't invent new APIs without discussion
- Align with existing patterns in
docs/cuopt/source/ - Server schemas must match OpenAPI spec
Don't Bypass CI
- Never suggest
--no-verifyor skipping checks - All PRs must pass CI
CUDA/GPU Hygiene
- Keep operations stream-ordered
- Follow existing RAFT/RMM patterns
rmm::device_uvectortests emptiness withis_empty(); it has noempty()member.- No raw
new/delete- use RMM allocators - Prefer modern CCCL bit/math helpers in kernels (
cuda::bitfield_extract,cuda::bitmask, pow2 utilities) over hand-rolled%//by runtime powers of two — see references/conventions.md
Build & Test
Pre-flight Checks (Required Before First Build or Test)
Skipping any of these surfaces as confusing runtime errors later. Run them in order:
- Check CUDA driver compatibility. Run
nvidia-smiand read the CUDA Version in the top-right corner — that's the maximum CUDA your driver supports. Pick a conda env file fromconda/environments/all_cuda-<ver>_arch-<arch>.yamlwhose CUDA major version is ≤ that. A mismatch builds successfully but fails at runtime inside RMM withcudaMallocAsync not supported with this CUDA driver/runtime version— verify this before the build, not after. - Create and activate the conda env before any build, test, or
pre-commitcommand — this is allowed and expected (see Refusal Rules). Use a local prefix env (./.cuopt_env) per CONTRIBUTING.md, with the env file you picked in step 1 (mambais recommended and faster; swap incondaifmambaisn't available):
Tests link against libraries compiled inside that env; a fresh shell without activating it hits cryptic linker errors.mamba env create -p ./.cuopt_env --file conda/environments/all_cuda-<ver>_arch-$(uname -m).yaml mamba activate ./.cuopt_env # or: conda activate ./.cuopt_env - Set
PARALLEL_LEVELif RAM is constrained — see references/build_and_test.md. The default$(nproc)can OOM mid-build because CUDA compilation needs ~4–8 GB per job. - For tests, fetch datasets first. cuOpt tests need MPS files not in the repo — follow the dataset download steps in CONTRIBUTING.md ("Building for development" section) and export
RAPIDS_DATASET_ROOT_DIR.
Quick Reference
./build.sh # Build everything
./build.sh --help # List components: libcuopt, cuopt, cuopt_server, docs
ctest --test-dir cpp/build # C++ tests
pytest -v python/cuopt/cuopt/tests # Python tests
pytest -v python/cuopt_server/tests # Server testsFor component-specific build commands, run-test detail, and PARALLEL_LEVEL configuration, see references/build_and_test.md.
Download test datasets before running tests
cuOpt tests depend on MPS/data files that are not checked into the repo. A
missing dataset surfaces as a MPS_PARSER_ERROR ... Error opening MPS file
test failure at 0ms — it is not a build or logic failure.
Before running any C++ or Python tests, follow the dataset download and
RAPIDS_DATASET_ROOT_DIR export steps in the repo's CONTRIBUTING.md
("Building for development" section) — that is the canonical list and mapping.
If a test fails with a missing-file error, run the matching download step from
CONTRIBUTING.md and re-run the test. Do not report missing-dataset failures
back to the user as the task outcome.
Python Bindings
cuOpt uses Cython to bridge Python and C++. See references/python_bindings.md for the full architecture, parameter flow walkthrough, key files, and Cython patterns.
Contributing — Commits, PRs, Common Tasks
For pre-commit setup, DCO sign-off (git commit -s), the fork-based PR workflow, the draft-PR rule for agents, PR-description rules (keep it short — no "how it works" walkthroughs or file tables), script and CI/workflow authoring principles (extend existing files before adding new ones; no speculative flags, restated defaults, or silent fallbacks), and step-by-step common-task recipes (adding a solver parameter, dependency, server endpoint, or CUDA kernel), see references/contributing.md.
Coding Conventions
Use the existing compensated sum and dot routines for numerically sensitive accumulation in f_t.
Use _Float128 only when compensated f_t is demonstrably insufficient. Never use long double;
its ABI-dependent representation includes slow x87 extended precision on x86-64, binary128 on Linux
AArch64, and binary64 on other ARM64 targets.
For C++ naming (snake_case, d_/h_ prefixes, _t suffix), file extensions (.hpp/.cpp/.cu/.cuh and which compiler each uses), include order, Python style, error handling (CUOPT_EXPECTS, RAFT_CUDA_TRY), memory management (RMM patterns, no raw new/delete), CCCL bit/math helpers in device code, test-impact rules, volatile-comment rules (hardware names and self-referential issue/PR numbers in comments or skip messages go stale; issue links to a separate tracking issue are fine), no large local lambdas (extract named helpers instead), and coarse work-estimate / time-limit gating (phase/outer-loop only; no fine inner-loop or double checks), see references/conventions.md.
OpenMP task/runtime compatibility
Treat #pragma omp task if(...) firstprivate(...) with a non-trivial C++ capture as runtime-ABI-sensitive. In affected LLVM libomp versions, the GCC GOMP_task compatibility path skips the GCC copy function for an included (if(false)) task, so the task body can observe an unconstructed object. Branch explicitly instead: create the OpenMP task only when deferral is wanted, and call the body synchronously otherwise.
When diagnosing OpenMP-only failures, test compiler/runtime pairs separately. A Clang + libomp pass exercises the __kmpc_* ABI and does not cover GCC + libomp's GOMP_* path; reduce suspicious cases to a direct runtime-ABI probe before attributing them to solver logic.
PCG random number generator
cpp/src/utilities/pcgenerator.hpp (cuopt::pcgenerator_t) is copied from RAFT's PCGenerator (raft/random/detail/rng_device.cuh), duplicated only because the RAFT header pulls in CUDA and therefore cannot be included from a .cpp. Treat the generator core as frozen. Do not "clean it up", modernise it, or swap it for <random>: reproducibility under settings.random_seed and settings.deterministic holds only while the byte-for-byte output sequence is preserved, and the CPU copy must keep producing the same stream as the GPU one. Adding a new helper that consumes next_u32()/next_double() is fine; changing how those values are produced is not.
RNG call-site policy
Use SplitMix or derive_seed/derive_stream to fan a base seed out into component, worker, or lane seeds. Do not derive child seeds with arithmetic magic constants.
When solver state owns a PCG, seed it once and pass or reuse it. Do not reconstruct generators inside iterations from seed + constant * iteration.
Use pcgenerator_t::uniform(low, high) for uniform [low, high) draws and shuffle() for permutations. Use next_float() or next_double() directly only for probability thresholds.
Each of the following looks like a defect or an obvious simplification, and is neither. Leave them alone:
stream = (subsequence << 1u) | 1uinset_seed. A 2^64 LCG has full period only when its increment is odd — the| 1uis what guarantees that — and the<< 1uis why two subsequences must differ in their low 63 bits to get independent streams.- The two
next(discard)warm-up calls straddlingstate += seed. This is PCG's canonical seeding sequence, and it is what decorrelates adjacent seeds — which is exactly how cuOpt seeds workers (settings.random_seed + pcgenerator_t::default_seed + rng_offset + worker_id,branch_and_bound/worker.hpp). Collapsing it tostate = seedmakes neighbouring workers draw near-identical prefixes. - The output permutation in
next_u32(>> 18u,^,>> 27u,rot = oldstate >> 59u,(-rot) & 31u) — the PCG-XSH-RR constants for a 64→32-bit output. In particular(-rot) & 31urelies on unsigned wraparound; rewriting it as32 - rotis a shift by 32, i.e. undefined behaviour, wheneverrot == 0. - The multiplier
6364136223846793005ULL, which appears in bothnext_u32and ashinskipahead.skipaheadis the closed-form LCG jump (Brown's arbitrary-stride method) and matches N calls tonext_u32only while the two constants are identical. - The
>> 8/>> 11innext_float/next_double. They yield exactly 24 and 53 mantissa bits, so the result lies in[0, 1). Dividing byUINT32_MAXinstead makes1.0reachable and breaks everyrng.next_double() * nused as an index. - The sign-bit masks in
next_i32/next_i64(& 0x7fffffff…); callers rely on the results being non-negative. uniform()'s floating-point scaling andshuffle()'s Fisher-Yates order.uniform()'s slight bias is documented and accepted; substituting a modulo orstd::uniform_int_distributionchanges every sampled sequence.
Troubleshooting & CI
For build/test pitfalls (Cython rebuild, OOM, CUDA driver mismatch, missing nvcc) and CI failure diagnostics (style checks, DCO failures, dependency drift), see references/troubleshooting.md.
Key Files Reference
| Purpose | Location |
| Main build script | build.sh |
| Dependencies | dependencies.yaml |
| C++ formatting | .clang-format |
| Conda environments | conda/environments/ |
| Test data | datasets/ |
| CI scripts | ci/ |
| gRPC field registry | cpp/src/grpc/codegen/field_registry.yaml |
| gRPC generated output | cpp/src/grpc/codegen/generated/ (never hand-edit) |
Canonical Documentation
- Contributing/build/test: CONTRIBUTING.md
- CI scripts: ci/README.md
- Release scripts: ci/release/README.md
- Docs build: docs/cuopt/README.md
- Python binding architecture: references/python_bindings.md
Shell-execution, install, conda-env, and sudo policies are covered by Refusal Rules — Read First at the top of this skill.
VRP dimension internals (routing engine)
When implementing or debugging VRP dimensions (constraints, objectives, forward/backward propagation, combine, local-search deltas), read:
references/vrp_skills.md— architecture contracts, required interfaces, and implementation checklist.
Read it before adding a new dimension or changing combine semantics.
Budgeting a solver stage and attributing regressions
When adding or tuning a limit on a stage that shares the solve's time budget (presolve, probing, cut generation, heuristics), or when a benchmark regression looks like it came from one, read:
references/stage_budgets.md— why a deterministic work counter does not bound wall time, how to size a limit so the stage concludes before its ceiling, and the ordered checks that attribute a regression to a budget before tuning its value.
Run the attribution checks before changing a limit's value — the common failure is tuning a limit that was never what bound.
Numerical issues in non-routing solver internals
When a bug surfaces as wrong-but-plausible solver output (invalid lower bound, unexpectedly large duals, 10× iteration blow-up after a small change) rather than a crash, read:
resources/numerical_debugging.md— methodology for locating catastrophic-cancellation sites, the cancellation patterns endemic to cMIR / flow-cover / MIR-style cut construction, and threshold guidance for numerical guards.
Apply the instrument-first, guard-at-the-exact-site workflow it describes before patching — speculative fixes on these symptoms usually miss.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

