Creator · NVIDIA
Last updated · Sep 2, 2026
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.
Creator · NVIDIA
Last updated · Sep 2, 2026
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.
Creator · NVIDIA
Last updated · Sep 2, 2026
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.
Creator · NVIDIA
Last updated · Sep 2, 2026
LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API.
Review then install
Install targets
Codex install prompt
Install the "cuopt-numerical-optimization-formulation" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cuopt-numerical-optimization-formulation. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cuopt-numerical-optimization-formulation","task":"Install cuopt-numerical-optimization-formulation","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Maintenance
fresh
5d since push
Risk
Needs review
Financial research output is not financial advice; require human review before any live investment decision
GitHub quality
3.2K
82/100 Quality · 85/100 Trust
Coverage tags
Review notes
Financial research output is not financial advice; require human review before any live investment decision · Financial research output is not financial advice; require human review before any live investment decision.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Review then installGood shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Use as the primary candidate after human or sandbox review.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 371 forks
Maintenance
5d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Agent should check
Copy prompt
Task: Use cuopt-numerical-optimization-formulation in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Install command: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
LLM text format
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install?format=text
Find alternatives
/api/skills/search?q=cuopt-numerical-optimization-formulation&limit=3
Agent prompt
Use cuopt-numerical-optimization-formulation for this task. Review https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install, then install with: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation
LLM text
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation?format=text
Install alias
/api/registry/install/nvidia-cuopt-numerical-optimization-formulation
Recommend
/api/registry/recommend?task=Use%20cuopt-numerical-optimization-formulation%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Research agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Good shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 371 forks; issue activity unavailable in current metadata
Recent maintenance
PASS5d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Use as the primary candidate after human or sandbox review.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: cuopt-numerical-optimization-formulation version: "26.10.00" description: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. license: Apache-2.0 metadata: author: NVIDIA cuOpt Team tags: - linear-programming - milp - qp - formulation - concepts ---
# Numerical Optimization Formulation
Concepts and workflow for going from a problem description to a clear formulation across LP, MILP, and QP. No API code here.
## What is LP / MILP / QP
- **LP**: Linear objective, linear constraints, continuous variables. - **MILP**: Same as LP plus some integer or binary variables (e.g., scheduling, facility location, selection). - **QP**: Quadratic objective (e.g., x², x·y terms — portfolio variance, least squares), linear constraints. **QP support in cuOpt is currently in beta.**
## Identifying problem type
| Property | LP | MILP | QP | |---|---|---|---| | Objective | Linear | Linear | Quadratic (xᵀQx + cᵀx) | | Constraints | Linear | Linear | Linear + convex quadratic (inequality only) via second-order cones | | Variables | Continuous | Mixed: continuous + integer/binary | Continuous | | Sense | min or max | min or max | **minimize only** (negate to max) | | Duals / sensitivity | Dual values + reduced costs | **None** (integer optima) | Dual values + reduced costs |
If the objective is purely linear, prefer LP/MILP — do not artificially introduce quadratic terms. If any variable is integer or binary, the problem is MILP regardless of the rest.
**Post-solve sensitivity (LP / QP only).** Continuous LP and QP solutions expose **dual values** (the marginal objective change per unit a binding constraint is relaxed: *where to invest to improve the outcome*) and **reduced costs** (for a variable the optimizer left at zero, how far it must improve to enter the solution: a *near-miss*). **MILP solutions have no duals** — integer optima are not continuous, so there are none to return. Duals are also unavailable when the model includes quadratic constraints — the second-order cone path returns primal values only. See the language-specific API skills for how to retrieve them after a solve.
## Required formulation questions
Ask these if not already clear:
1. **Decision variables** — What are they? Bounds? 2. **Objective** — Minimize or maximize? Linear or quadratic? For QP: any squared or cross terms (x², x·y)? If maximize a quadratic, the user must negate and minimize. 3. **Constraints** — Linear inequalities/equalities? Convex quadratic constraints (inequality only) are also supported, handled as second-order cones; non-convex or equality quadratic constraints are not. 4. **Variable types** — All continuous (LP / QP) or some integer/binary (MILP)? 5. **Convexity (QP only)** — For minimization, the quadratic form (matrix Q) should be positive semi-definite for well-posed problems.
## Typical modeling elements
- **Continuous variables** — production amounts, flow, allocations, portfolio weights. - **Binary variables** — open/close, yes/no (e.g., facility open, item selected). - **Linking constraints** — e.g., production only if facility open (Big-M or indicator). - **Resource constraints** — linear cap on usage (materials, time, capacity). - **Quadratic objective terms** — variance (xᵀQx), squared error (‖Ax − b‖²), interaction terms.
## Typical QP use cases
- Portfolio optimization — minimize variance subject to return and budget. - Least squares — minimize ‖Ax − b‖² subject to linear constraints. - Other quadratic objectives with linear constraints.
---
## Problem statement parsing
When the user gives **problem text**, classify every sentence and then summarize before formulating. The parsing framework below applies regardless of LP / MILP / QP.
**Classify every sentence** as **parameter/given**, **constraint**, **decision**, or **objective**. Watch for **implicit constraints** (e.g., committed vs optional phrasing) and **implicit objectives** (e.g., "determine the plan" + costs → minimize total cost).
**Ambiguity:** If anything is still ambiguous, ask the user or solve all plausible interpretations and report all outcomes; do not assume a single interpretation.
### 🔒 MANDATORY: When in Doubt — Ask
- If there is **any doubt** about whether a constraint or value should be included, **ask the user** and state the possible interpretations.
### 🔒 MANDATORY: Complete-Path Runs — Try All Variants
- When the user asks to **run the complete path** (e.g., end-to-end, full pipeline), run all plausible variants and **report all outcomes** so the user can choose; do not assume a single interpretation.
### Three labels
| Label | Meaning | Examples (sentence type) | |-------|--------|---------------------------| | **Parameter / given** | Fixed data, inputs, facts. Not chosen by the model. | "Demand is 100 units." "There are 3 factories." "Costs are $5 per unit." | | **Constraint** | Something that must hold. May be explicit or **implicit** from phrasing. | "Capacity is 200." "All demand must be met." "At least 2 shifts must be staffed." | | **Decision** | Something we choose or optimize. | "How much to produce." "Which facilities to open." "How many workers to hire." | | **Objective** | What to minimize or maximize. May be **explicit** ("minimize cost") or **implicit** ("determine the plan" with costs given). | "Minimize total cost." "Determine the production plan" (with costs) → minimize total cost. |
### Implicit constraints: committed vs optional phrasing
**Committed/fixed phrasing** → treat as **parameter** or **implicit constraint** (everything mentioned is given or must happen). Not a decision.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "Plans to produce X products" | **Constraint**: all X must be produced. | Commitment; production level is fixed. | | "Operates 3 factories" | **Parameter**: all 3 are open. Not a location-selection problem. | Current state is fixed. | | "Employs N workers" | **Parameter**: all N are employed. Not a hiring decision. | Workforce size is given. | | "Has a capacity of C" | **Parameter** (C) + **constraint**: usage ≤ C. | Capacity is fixed. | | "Must meet all demand" | **Constraint**: demand satisfaction. | Explicit requirement. |
**Optional/decision phrasing** → treat as **decision**.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "May produce up to …" | **Decision**: how much to produce. | Optional level. | | "Can choose to open" (factories, sites) | **Decision**: which to open. | Selection is decided. | | "Considers hiring" | **Decision**: how many to hire. | Hiring is under consideration. | | "Decides how much to order" | **Decision**: order quantities. | Explicit decision. | | "Wants to minimize/maximize …" | **Objective** (drives decisions). | Goal; decisions are the levers. |
### Implicit objectives — do not miss
**If the problem asks to "determine the plan" (or similar) but does not state "minimize" or "maximize" explicitly, the objective is often implicit.** You **MUST** identify it and state it before formulating; do not build a model with no objective.
| Phrasing / context | Likely implicit objective | Why | |-------------------|---------------------------|-----| | "Determine the production plan" + costs given (per unit, per hour, etc.) | **Minimize total cost** (production + inspection/sales + overtime, etc.) | Plan is chosen; costs are specified → natural goal is to minimize total cost. | | "Determine the plan" + costs and revenues given | **Maximize profit** (revenue − cost) | Both sides of the ledger → optimize profit. | | "Try to determine the monthly production plan" + workshop hour costs, inspection/sales costs | **Minimize total cost** | All cost components are given; no revenue to maximize → minimize total cost. |
**Rule:** When the problem gives cost (or cost and revenue) data and asks to "determine", "find", or "establish" the plan, **always state the objective explicitly** (e.g., "I'm treating the objective as minimize total cost, since only costs are given."). If both cost and revenue are present, state whether you use "minimize cost" or "maximize profit". Ask the user if unclear.
### Parsing workflow
1. **Split** the problem text into sentences or logical clauses. 2. **Label** each: parameter/given | constraint | decision | **objective** (if stated). 3. **Identify the objective (explicit or implicit):** If the problem says "minimize/maximize X", that's the objective. If it only says "determine the plan" (or "find", "establish") but gives costs (and possibly revenues), the objective is **implicit** — state it (e.g., minimize total cost, or maximize profit) and confirm with the user if ambiguous. 4. **Flag implicit constraints**: For each sentence, ask — "Does this state a fixed fact or a requirement (→ parameter/constraint), or something we choose (→ decision)?" 5. **Resolve ambiguity** by checking verbs and modals: - "is", "has", "operates", "employs", "plans to" (fixed/committed) → parameter or implicit constraint. - "may", "can choose", "considers", "decides", "wants to" (optional) → decision or objective. 6. **🔒 MANDATORY — If anything is still ambiguous** (e.g., a value or constraint could be read two ways): ask the user which interpretation is correct, or solve all plausible interpretations and report all outcomes. Do not assume a single interpretation. 7. **Summarize** for the user: list parameters, constraints (explicit + flagged implicit), decisions, and **objective (explicit or inferred)** before writing the math formulation.
### Parsing checklist
- [ ] Every sentence has a label (parameter | constraint | decision | objective if stated). - [ ] **Objective is identified:** Explicit ("minimize/maximize X") or implicit ("determine the plan" + costs → minimize total cost; + revenues → maximize profit). Never formulate without stating the objective. - [ ] Committed phrasing ("plans to", "operates", "employs") → not decisions. - [ ] Optional phrasing ("may", "can choose", "considers") → decisions. - [ ] Implicit constraints from committed phrasing are written out (e.g., "all X must be produced"). - [ ] **🔒 MANDATORY — Ambiguity:** Any phrase that could be read two ways → I asked the user or I will solve all interpretations and report all outcomes (no silent single interpretation). - [ ] Summary is produced before formulating (parameters, constraints, decisions, **objective**).
### Example
**Text:** "The company operates 3 factories and plans to produce 500 units. It may use overtime at extra cost. Minimize total cost."
| Sentence / phrase | Label | Note | |-------------------|-------|------| | "Operates 3 factories" | Parameter | All 3 open; not facility selection. | | "Plans to produce 500 units" | Constraint (implicit) | All 500 must be produced. | | "May use overtime at extra cost" | Decision | How much overtime is a decision. | | "Minimize total cost" | Objective | Drives decisions. |
Result: Parameters = 3 factories, 500 units target. Constraints = produce exactly 500 (implicit from "plans to produce"). Decisions = production allocation across factories, overtime amounts. Objective = minimize cost.
**Implicit-objective example:** A problem that asks to "determine the production plan" (or similar) and gives cost components (e.g., workshop, inspection, sales) but does not state "minimize" or "maximize" → **Objective is implicit: minimize total cost**. Always state it explicitly: "The objective is to minimize total cost."
---
## QP rule: minimize only
QP objectives must be **minimization**. To maximize a quadratic expression, negate it and minimize; then negate the optimal value.
For minimization to be well-posed, the quadratic form `Q` should be positive semi-definite. If `Q` is indefinite, the problem is non-convex and may not have a finite optimum.
---
## Common patterns
The remaining sections cover
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cuopt-numerical-optimization-formulation, ready for a manual X post.
cuopt-numerical-optimization-formulation: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constrai... 3.2K stars https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x
Listing + install path for cuopt-numerical-optimization-formulation: https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x Install: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to NVIDIA but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation/audit)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)NVIDIA
@nvidia
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Review then install
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsReview then install
Install targets
Codex install prompt
Install the "cuopt-numerical-optimization-formulation" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cuopt-numerical-optimization-formulation. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cuopt-numerical-optimization-formulation","task":"Install cuopt-numerical-optimization-formulation","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Maintenance
fresh
5d since push
Risk
Needs review
Financial research output is not financial advice; require human review before any live investment decision
GitHub quality
3.2K
82/100 Quality · 85/100 Trust
Coverage tags
Review notes
Financial research output is not financial advice; require human review before any live investment decision · Financial research output is not financial advice; require human review before any live investment decision.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Review then installGood shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Use as the primary candidate after human or sandbox review.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 371 forks
Maintenance
5d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Agent should check
Copy prompt
Task: Use cuopt-numerical-optimization-formulation in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Install command: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
LLM text format
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install?format=text
Find alternatives
/api/skills/search?q=cuopt-numerical-optimization-formulation&limit=3
Agent prompt
Use cuopt-numerical-optimization-formulation for this task. Review https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install, then install with: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation
LLM text
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation?format=text
Install alias
/api/registry/install/nvidia-cuopt-numerical-optimization-formulation
Recommend
/api/registry/recommend?task=Use%20cuopt-numerical-optimization-formulation%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Research agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Good shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 371 forks; issue activity unavailable in current metadata
Recent maintenance
PASS5d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Use as the primary candidate after human or sandbox review.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: cuopt-numerical-optimization-formulation version: "26.10.00" description: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. license: Apache-2.0 metadata: author: NVIDIA cuOpt Team tags: - linear-programming - milp - qp - formulation - concepts ---
# Numerical Optimization Formulation
Concepts and workflow for going from a problem description to a clear formulation across LP, MILP, and QP. No API code here.
## What is LP / MILP / QP
- **LP**: Linear objective, linear constraints, continuous variables. - **MILP**: Same as LP plus some integer or binary variables (e.g., scheduling, facility location, selection). - **QP**: Quadratic objective (e.g., x², x·y terms — portfolio variance, least squares), linear constraints. **QP support in cuOpt is currently in beta.**
## Identifying problem type
| Property | LP | MILP | QP | |---|---|---|---| | Objective | Linear | Linear | Quadratic (xᵀQx + cᵀx) | | Constraints | Linear | Linear | Linear + convex quadratic (inequality only) via second-order cones | | Variables | Continuous | Mixed: continuous + integer/binary | Continuous | | Sense | min or max | min or max | **minimize only** (negate to max) | | Duals / sensitivity | Dual values + reduced costs | **None** (integer optima) | Dual values + reduced costs |
If the objective is purely linear, prefer LP/MILP — do not artificially introduce quadratic terms. If any variable is integer or binary, the problem is MILP regardless of the rest.
**Post-solve sensitivity (LP / QP only).** Continuous LP and QP solutions expose **dual values** (the marginal objective change per unit a binding constraint is relaxed: *where to invest to improve the outcome*) and **reduced costs** (for a variable the optimizer left at zero, how far it must improve to enter the solution: a *near-miss*). **MILP solutions have no duals** — integer optima are not continuous, so there are none to return. Duals are also unavailable when the model includes quadratic constraints — the second-order cone path returns primal values only. See the language-specific API skills for how to retrieve them after a solve.
## Required formulation questions
Ask these if not already clear:
1. **Decision variables** — What are they? Bounds? 2. **Objective** — Minimize or maximize? Linear or quadratic? For QP: any squared or cross terms (x², x·y)? If maximize a quadratic, the user must negate and minimize. 3. **Constraints** — Linear inequalities/equalities? Convex quadratic constraints (inequality only) are also supported, handled as second-order cones; non-convex or equality quadratic constraints are not. 4. **Variable types** — All continuous (LP / QP) or some integer/binary (MILP)? 5. **Convexity (QP only)** — For minimization, the quadratic form (matrix Q) should be positive semi-definite for well-posed problems.
## Typical modeling elements
- **Continuous variables** — production amounts, flow, allocations, portfolio weights. - **Binary variables** — open/close, yes/no (e.g., facility open, item selected). - **Linking constraints** — e.g., production only if facility open (Big-M or indicator). - **Resource constraints** — linear cap on usage (materials, time, capacity). - **Quadratic objective terms** — variance (xᵀQx), squared error (‖Ax − b‖²), interaction terms.
## Typical QP use cases
- Portfolio optimization — minimize variance subject to return and budget. - Least squares — minimize ‖Ax − b‖² subject to linear constraints. - Other quadratic objectives with linear constraints.
---
## Problem statement parsing
When the user gives **problem text**, classify every sentence and then summarize before formulating. The parsing framework below applies regardless of LP / MILP / QP.
**Classify every sentence** as **parameter/given**, **constraint**, **decision**, or **objective**. Watch for **implicit constraints** (e.g., committed vs optional phrasing) and **implicit objectives** (e.g., "determine the plan" + costs → minimize total cost).
**Ambiguity:** If anything is still ambiguous, ask the user or solve all plausible interpretations and report all outcomes; do not assume a single interpretation.
### 🔒 MANDATORY: When in Doubt — Ask
- If there is **any doubt** about whether a constraint or value should be included, **ask the user** and state the possible interpretations.
### 🔒 MANDATORY: Complete-Path Runs — Try All Variants
- When the user asks to **run the complete path** (e.g., end-to-end, full pipeline), run all plausible variants and **report all outcomes** so the user can choose; do not assume a single interpretation.
### Three labels
| Label | Meaning | Examples (sentence type) | |-------|--------|---------------------------| | **Parameter / given** | Fixed data, inputs, facts. Not chosen by the model. | "Demand is 100 units." "There are 3 factories." "Costs are $5 per unit." | | **Constraint** | Something that must hold. May be explicit or **implicit** from phrasing. | "Capacity is 200." "All demand must be met." "At least 2 shifts must be staffed." | | **Decision** | Something we choose or optimize. | "How much to produce." "Which facilities to open." "How many workers to hire." | | **Objective** | What to minimize or maximize. May be **explicit** ("minimize cost") or **implicit** ("determine the plan" with costs given). | "Minimize total cost." "Determine the production plan" (with costs) → minimize total cost. |
### Implicit constraints: committed vs optional phrasing
**Committed/fixed phrasing** → treat as **parameter** or **implicit constraint** (everything mentioned is given or must happen). Not a decision.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "Plans to produce X products" | **Constraint**: all X must be produced. | Commitment; production level is fixed. | | "Operates 3 factories" | **Parameter**: all 3 are open. Not a location-selection problem. | Current state is fixed. | | "Employs N workers" | **Parameter**: all N are employed. Not a hiring decision. | Workforce size is given. | | "Has a capacity of C" | **Parameter** (C) + **constraint**: usage ≤ C. | Capacity is fixed. | | "Must meet all demand" | **Constraint**: demand satisfaction. | Explicit requirement. |
**Optional/decision phrasing** → treat as **decision**.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "May produce up to …" | **Decision**: how much to produce. | Optional level. | | "Can choose to open" (factories, sites) | **Decision**: which to open. | Selection is decided. | | "Considers hiring" | **Decision**: how many to hire. | Hiring is under consideration. | | "Decides how much to order" | **Decision**: order quantities. | Explicit decision. | | "Wants to minimize/maximize …" | **Objective** (drives decisions). | Goal; decisions are the levers. |
### Implicit objectives — do not miss
**If the problem asks to "determine the plan" (or similar) but does not state "minimize" or "maximize" explicitly, the objective is often implicit.** You **MUST** identify it and state it before formulating; do not build a model with no objective.
| Phrasing / context | Likely implicit objective | Why | |-------------------|---------------------------|-----| | "Determine the production plan" + costs given (per unit, per hour, etc.) | **Minimize total cost** (production + inspection/sales + overtime, etc.) | Plan is chosen; costs are specified → natural goal is to minimize total cost. | | "Determine the plan" + costs and revenues given | **Maximize profit** (revenue − cost) | Both sides of the ledger → optimize profit. | | "Try to determine the monthly production plan" + workshop hour costs, inspection/sales costs | **Minimize total cost** | All cost components are given; no revenue to maximize → minimize total cost. |
**Rule:** When the problem gives cost (or cost and revenue) data and asks to "determine", "find", or "establish" the plan, **always state the objective explicitly** (e.g., "I'm treating the objective as minimize total cost, since only costs are given."). If both cost and revenue are present, state whether you use "minimize cost" or "maximize profit". Ask the user if unclear.
### Parsing workflow
1. **Split** the problem text into sentences or logical clauses. 2. **Label** each: parameter/given | constraint | decision | **objective** (if stated). 3. **Identify the objective (explicit or implicit):** If the problem says "minimize/maximize X", that's the objective. If it only says "determine the plan" (or "find", "establish") but gives costs (and possibly revenues), the objective is **implicit** — state it (e.g., minimize total cost, or maximize profit) and confirm with the user if ambiguous. 4. **Flag implicit constraints**: For each sentence, ask — "Does this state a fixed fact or a requirement (→ parameter/constraint), or something we choose (→ decision)?" 5. **Resolve ambiguity** by checking verbs and modals: - "is", "has", "operates", "employs", "plans to" (fixed/committed) → parameter or implicit constraint. - "may", "can choose", "considers", "decides", "wants to" (optional) → decision or objective. 6. **🔒 MANDATORY — If anything is still ambiguous** (e.g., a value or constraint could be read two ways): ask the user which interpretation is correct, or solve all plausible interpretations and report all outcomes. Do not assume a single interpretation. 7. **Summarize** for the user: list parameters, constraints (explicit + flagged implicit), decisions, and **objective (explicit or inferred)** before writing the math formulation.
### Parsing checklist
- [ ] Every sentence has a label (parameter | constraint | decision | objective if stated). - [ ] **Objective is identified:** Explicit ("minimize/maximize X") or implicit ("determine the plan" + costs → minimize total cost; + revenues → maximize profit). Never formulate without stating the objective. - [ ] Committed phrasing ("plans to", "operates", "employs") → not decisions. - [ ] Optional phrasing ("may", "can choose", "considers") → decisions. - [ ] Implicit constraints from committed phrasing are written out (e.g., "all X must be produced"). - [ ] **🔒 MANDATORY — Ambiguity:** Any phrase that could be read two ways → I asked the user or I will solve all interpretations and report all outcomes (no silent single interpretation). - [ ] Summary is produced before formulating (parameters, constraints, decisions, **objective**).
### Example
**Text:** "The company operates 3 factories and plans to produce 500 units. It may use overtime at extra cost. Minimize total cost."
| Sentence / phrase | Label | Note | |-------------------|-------|------| | "Operates 3 factories" | Parameter | All 3 open; not facility selection. | | "Plans to produce 500 units" | Constraint (implicit) | All 500 must be produced. | | "May use overtime at extra cost" | Decision | How much overtime is a decision. | | "Minimize total cost" | Objective | Drives decisions. |
Result: Parameters = 3 factories, 500 units target. Constraints = produce exactly 500 (implicit from "plans to produce"). Decisions = production allocation across factories, overtime amounts. Objective = minimize cost.
**Implicit-objective example:** A problem that asks to "determine the production plan" (or similar) and gives cost components (e.g., workshop, inspection, sales) but does not state "minimize" or "maximize" → **Objective is implicit: minimize total cost**. Always state it explicitly: "The objective is to minimize total cost."
---
## QP rule: minimize only
QP objectives must be **minimization**. To maximize a quadratic expression, negate it and minimize; then negate the optimal value.
For minimization to be well-posed, the quadratic form `Q` should be positive semi-definite. If `Q` is indefinite, the problem is non-convex and may not have a finite optimum.
---
## Common patterns
The remaining sections cover
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cuopt-numerical-optimization-formulation, ready for a manual X post.
cuopt-numerical-optimization-formulation: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constrai... 3.2K stars https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x
Listing + install path for cuopt-numerical-optimization-formulation: https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x Install: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to NVIDIA but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation/audit)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)NVIDIA
@nvidia
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Review then install
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsReview then install
Install targets
Codex install prompt
Install the "cuopt-numerical-optimization-formulation" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cuopt-numerical-optimization-formulation. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cuopt-numerical-optimization-formulation","task":"Install cuopt-numerical-optimization-formulation","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Maintenance
fresh
5d since push
Risk
Needs review
Financial research output is not financial advice; require human review before any live investment decision
GitHub quality
3.2K
82/100 Quality · 85/100 Trust
Coverage tags
Review notes
Financial research output is not financial advice; require human review before any live investment decision · Financial research output is not financial advice; require human review before any live investment decision.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Review then installGood shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Use as the primary candidate after human or sandbox review.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 371 forks
Maintenance
5d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Agent should check
Copy prompt
Task: Use cuopt-numerical-optimization-formulation in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Install command: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
LLM text format
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install?format=text
Find alternatives
/api/skills/search?q=cuopt-numerical-optimization-formulation&limit=3
Agent prompt
Use cuopt-numerical-optimization-formulation for this task. Review https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install, then install with: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation
LLM text
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation?format=text
Install alias
/api/registry/install/nvidia-cuopt-numerical-optimization-formulation
Recommend
/api/registry/recommend?task=Use%20cuopt-numerical-optimization-formulation%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Research agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Good shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 371 forks; issue activity unavailable in current metadata
Recent maintenance
PASS5d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Use as the primary candidate after human or sandbox review.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: cuopt-numerical-optimization-formulation version: "26.10.00" description: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. license: Apache-2.0 metadata: author: NVIDIA cuOpt Team tags: - linear-programming - milp - qp - formulation - concepts ---
# Numerical Optimization Formulation
Concepts and workflow for going from a problem description to a clear formulation across LP, MILP, and QP. No API code here.
## What is LP / MILP / QP
- **LP**: Linear objective, linear constraints, continuous variables. - **MILP**: Same as LP plus some integer or binary variables (e.g., scheduling, facility location, selection). - **QP**: Quadratic objective (e.g., x², x·y terms — portfolio variance, least squares), linear constraints. **QP support in cuOpt is currently in beta.**
## Identifying problem type
| Property | LP | MILP | QP | |---|---|---|---| | Objective | Linear | Linear | Quadratic (xᵀQx + cᵀx) | | Constraints | Linear | Linear | Linear + convex quadratic (inequality only) via second-order cones | | Variables | Continuous | Mixed: continuous + integer/binary | Continuous | | Sense | min or max | min or max | **minimize only** (negate to max) | | Duals / sensitivity | Dual values + reduced costs | **None** (integer optima) | Dual values + reduced costs |
If the objective is purely linear, prefer LP/MILP — do not artificially introduce quadratic terms. If any variable is integer or binary, the problem is MILP regardless of the rest.
**Post-solve sensitivity (LP / QP only).** Continuous LP and QP solutions expose **dual values** (the marginal objective change per unit a binding constraint is relaxed: *where to invest to improve the outcome*) and **reduced costs** (for a variable the optimizer left at zero, how far it must improve to enter the solution: a *near-miss*). **MILP solutions have no duals** — integer optima are not continuous, so there are none to return. Duals are also unavailable when the model includes quadratic constraints — the second-order cone path returns primal values only. See the language-specific API skills for how to retrieve them after a solve.
## Required formulation questions
Ask these if not already clear:
1. **Decision variables** — What are they? Bounds? 2. **Objective** — Minimize or maximize? Linear or quadratic? For QP: any squared or cross terms (x², x·y)? If maximize a quadratic, the user must negate and minimize. 3. **Constraints** — Linear inequalities/equalities? Convex quadratic constraints (inequality only) are also supported, handled as second-order cones; non-convex or equality quadratic constraints are not. 4. **Variable types** — All continuous (LP / QP) or some integer/binary (MILP)? 5. **Convexity (QP only)** — For minimization, the quadratic form (matrix Q) should be positive semi-definite for well-posed problems.
## Typical modeling elements
- **Continuous variables** — production amounts, flow, allocations, portfolio weights. - **Binary variables** — open/close, yes/no (e.g., facility open, item selected). - **Linking constraints** — e.g., production only if facility open (Big-M or indicator). - **Resource constraints** — linear cap on usage (materials, time, capacity). - **Quadratic objective terms** — variance (xᵀQx), squared error (‖Ax − b‖²), interaction terms.
## Typical QP use cases
- Portfolio optimization — minimize variance subject to return and budget. - Least squares — minimize ‖Ax − b‖² subject to linear constraints. - Other quadratic objectives with linear constraints.
---
## Problem statement parsing
When the user gives **problem text**, classify every sentence and then summarize before formulating. The parsing framework below applies regardless of LP / MILP / QP.
**Classify every sentence** as **parameter/given**, **constraint**, **decision**, or **objective**. Watch for **implicit constraints** (e.g., committed vs optional phrasing) and **implicit objectives** (e.g., "determine the plan" + costs → minimize total cost).
**Ambiguity:** If anything is still ambiguous, ask the user or solve all plausible interpretations and report all outcomes; do not assume a single interpretation.
### 🔒 MANDATORY: When in Doubt — Ask
- If there is **any doubt** about whether a constraint or value should be included, **ask the user** and state the possible interpretations.
### 🔒 MANDATORY: Complete-Path Runs — Try All Variants
- When the user asks to **run the complete path** (e.g., end-to-end, full pipeline), run all plausible variants and **report all outcomes** so the user can choose; do not assume a single interpretation.
### Three labels
| Label | Meaning | Examples (sentence type) | |-------|--------|---------------------------| | **Parameter / given** | Fixed data, inputs, facts. Not chosen by the model. | "Demand is 100 units." "There are 3 factories." "Costs are $5 per unit." | | **Constraint** | Something that must hold. May be explicit or **implicit** from phrasing. | "Capacity is 200." "All demand must be met." "At least 2 shifts must be staffed." | | **Decision** | Something we choose or optimize. | "How much to produce." "Which facilities to open." "How many workers to hire." | | **Objective** | What to minimize or maximize. May be **explicit** ("minimize cost") or **implicit** ("determine the plan" with costs given). | "Minimize total cost." "Determine the production plan" (with costs) → minimize total cost. |
### Implicit constraints: committed vs optional phrasing
**Committed/fixed phrasing** → treat as **parameter** or **implicit constraint** (everything mentioned is given or must happen). Not a decision.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "Plans to produce X products" | **Constraint**: all X must be produced. | Commitment; production level is fixed. | | "Operates 3 factories" | **Parameter**: all 3 are open. Not a location-selection problem. | Current state is fixed. | | "Employs N workers" | **Parameter**: all N are employed. Not a hiring decision. | Workforce size is given. | | "Has a capacity of C" | **Parameter** (C) + **constraint**: usage ≤ C. | Capacity is fixed. | | "Must meet all demand" | **Constraint**: demand satisfaction. | Explicit requirement. |
**Optional/decision phrasing** → treat as **decision**.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "May produce up to …" | **Decision**: how much to produce. | Optional level. | | "Can choose to open" (factories, sites) | **Decision**: which to open. | Selection is decided. | | "Considers hiring" | **Decision**: how many to hire. | Hiring is under consideration. | | "Decides how much to order" | **Decision**: order quantities. | Explicit decision. | | "Wants to minimize/maximize …" | **Objective** (drives decisions). | Goal; decisions are the levers. |
### Implicit objectives — do not miss
**If the problem asks to "determine the plan" (or similar) but does not state "minimize" or "maximize" explicitly, the objective is often implicit.** You **MUST** identify it and state it before formulating; do not build a model with no objective.
| Phrasing / context | Likely implicit objective | Why | |-------------------|---------------------------|-----| | "Determine the production plan" + costs given (per unit, per hour, etc.) | **Minimize total cost** (production + inspection/sales + overtime, etc.) | Plan is chosen; costs are specified → natural goal is to minimize total cost. | | "Determine the plan" + costs and revenues given | **Maximize profit** (revenue − cost) | Both sides of the ledger → optimize profit. | | "Try to determine the monthly production plan" + workshop hour costs, inspection/sales costs | **Minimize total cost** | All cost components are given; no revenue to maximize → minimize total cost. |
**Rule:** When the problem gives cost (or cost and revenue) data and asks to "determine", "find", or "establish" the plan, **always state the objective explicitly** (e.g., "I'm treating the objective as minimize total cost, since only costs are given."). If both cost and revenue are present, state whether you use "minimize cost" or "maximize profit". Ask the user if unclear.
### Parsing workflow
1. **Split** the problem text into sentences or logical clauses. 2. **Label** each: parameter/given | constraint | decision | **objective** (if stated). 3. **Identify the objective (explicit or implicit):** If the problem says "minimize/maximize X", that's the objective. If it only says "determine the plan" (or "find", "establish") but gives costs (and possibly revenues), the objective is **implicit** — state it (e.g., minimize total cost, or maximize profit) and confirm with the user if ambiguous. 4. **Flag implicit constraints**: For each sentence, ask — "Does this state a fixed fact or a requirement (→ parameter/constraint), or something we choose (→ decision)?" 5. **Resolve ambiguity** by checking verbs and modals: - "is", "has", "operates", "employs", "plans to" (fixed/committed) → parameter or implicit constraint. - "may", "can choose", "considers", "decides", "wants to" (optional) → decision or objective. 6. **🔒 MANDATORY — If anything is still ambiguous** (e.g., a value or constraint could be read two ways): ask the user which interpretation is correct, or solve all plausible interpretations and report all outcomes. Do not assume a single interpretation. 7. **Summarize** for the user: list parameters, constraints (explicit + flagged implicit), decisions, and **objective (explicit or inferred)** before writing the math formulation.
### Parsing checklist
- [ ] Every sentence has a label (parameter | constraint | decision | objective if stated). - [ ] **Objective is identified:** Explicit ("minimize/maximize X") or implicit ("determine the plan" + costs → minimize total cost; + revenues → maximize profit). Never formulate without stating the objective. - [ ] Committed phrasing ("plans to", "operates", "employs") → not decisions. - [ ] Optional phrasing ("may", "can choose", "considers") → decisions. - [ ] Implicit constraints from committed phrasing are written out (e.g., "all X must be produced"). - [ ] **🔒 MANDATORY — Ambiguity:** Any phrase that could be read two ways → I asked the user or I will solve all interpretations and report all outcomes (no silent single interpretation). - [ ] Summary is produced before formulating (parameters, constraints, decisions, **objective**).
### Example
**Text:** "The company operates 3 factories and plans to produce 500 units. It may use overtime at extra cost. Minimize total cost."
| Sentence / phrase | Label | Note | |-------------------|-------|------| | "Operates 3 factories" | Parameter | All 3 open; not facility selection. | | "Plans to produce 500 units" | Constraint (implicit) | All 500 must be produced. | | "May use overtime at extra cost" | Decision | How much overtime is a decision. | | "Minimize total cost" | Objective | Drives decisions. |
Result: Parameters = 3 factories, 500 units target. Constraints = produce exactly 500 (implicit from "plans to produce"). Decisions = production allocation across factories, overtime amounts. Objective = minimize cost.
**Implicit-objective example:** A problem that asks to "determine the production plan" (or similar) and gives cost components (e.g., workshop, inspection, sales) but does not state "minimize" or "maximize" → **Objective is implicit: minimize total cost**. Always state it explicitly: "The objective is to minimize total cost."
---
## QP rule: minimize only
QP objectives must be **minimization**. To maximize a quadratic expression, negate it and minimize; then negate the optimal value.
For minimization to be well-posed, the quadratic form `Q` should be positive semi-definite. If `Q` is indefinite, the problem is non-convex and may not have a finite optimum.
---
## Common patterns
The remaining sections cover
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cuopt-numerical-optimization-formulation, ready for a manual X post.
cuopt-numerical-optimization-formulation: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constrai... 3.2K stars https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x
Listing + install path for cuopt-numerical-optimization-formulation: https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x Install: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to NVIDIA but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation/audit)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)NVIDIA
@nvidia
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Review then install
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsReview then install
Install targets
Codex install prompt
Install the "cuopt-numerical-optimization-formulation" agent skill from https://github.com/NVIDIA/skills/tree/main/skills/cuopt-numerical-optimization-formulation. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"nvidia-cuopt-numerical-optimization-formulation","task":"Install cuopt-numerical-optimization-formulation","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
Research agents
I need my agent to research a topic, compare sources, and produce a concise report.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Maintenance
fresh
5d since push
Risk
Needs review
Financial research output is not financial advice; require human review before any live investment decision
GitHub quality
3.2K
82/100 Quality · 85/100 Trust
Coverage tags
Review notes
Financial research output is not financial advice; require human review before any live investment decision · Financial research output is not financial advice; require human review before any live investment decision.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Review then installGood shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Use as the primary candidate after human or sandbox review.
Stars
3.2K GitHub stars
Repo activity
3.2K stars, 371 forks
Maintenance
5d since push
License
Apache-2.0
Install
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill may drive a browser or interact with web pages.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Agent should check
Copy prompt
Task: Use cuopt-numerical-optimization-formulation in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20cuopt-numerical-optimization-formulation%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
Install command: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install
LLM text format
/api/skills/nvidia-cuopt-numerical-optimization-formulation/install?format=text
Find alternatives
/api/skills/search?q=cuopt-numerical-optimization-formulation&limit=3
Agent prompt
Use cuopt-numerical-optimization-formulation for this task. Review https://www.openagentskill.com/api/skills/nvidia-cuopt-numerical-optimization-formulation/install, then install with: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulationRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation
LLM text
/api/registry/manifest/nvidia-cuopt-numerical-optimization-formulation?format=text
Install alias
/api/registry/install/nvidia-cuopt-numerical-optimization-formulation
Recommend
/api/registry/recommend?task=Use%20cuopt-numerical-optimization-formulation%20in%20an%20agent%20workflow&limit=3
Agent fit
Research agents
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Research agents
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Good shortlist signal, but the agent should review audit notes, install policy, and outcome evidence before running it.
GitHub adoption
PASS3.2K GitHub stars
Stars/forks activity
PASS3.2K stars, 371 forks; issue activity unavailable in current metadata
Recent maintenance
PASS5d since push
License clarity
PASSApache-2.0
Good signals
Review before install
Recommended action
Use as the primary candidate after human or sandbox review.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Analyze markets
I need my agent to analyze markets, financial data, filings, portfolios, and quant strategies.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: cuopt-numerical-optimization-formulation version: "26.10.00" description: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constraints, decisions, objective). Concepts only; no API. license: Apache-2.0 metadata: author: NVIDIA cuOpt Team tags: - linear-programming - milp - qp - formulation - concepts ---
# Numerical Optimization Formulation
Concepts and workflow for going from a problem description to a clear formulation across LP, MILP, and QP. No API code here.
## What is LP / MILP / QP
- **LP**: Linear objective, linear constraints, continuous variables. - **MILP**: Same as LP plus some integer or binary variables (e.g., scheduling, facility location, selection). - **QP**: Quadratic objective (e.g., x², x·y terms — portfolio variance, least squares), linear constraints. **QP support in cuOpt is currently in beta.**
## Identifying problem type
| Property | LP | MILP | QP | |---|---|---|---| | Objective | Linear | Linear | Quadratic (xᵀQx + cᵀx) | | Constraints | Linear | Linear | Linear + convex quadratic (inequality only) via second-order cones | | Variables | Continuous | Mixed: continuous + integer/binary | Continuous | | Sense | min or max | min or max | **minimize only** (negate to max) | | Duals / sensitivity | Dual values + reduced costs | **None** (integer optima) | Dual values + reduced costs |
If the objective is purely linear, prefer LP/MILP — do not artificially introduce quadratic terms. If any variable is integer or binary, the problem is MILP regardless of the rest.
**Post-solve sensitivity (LP / QP only).** Continuous LP and QP solutions expose **dual values** (the marginal objective change per unit a binding constraint is relaxed: *where to invest to improve the outcome*) and **reduced costs** (for a variable the optimizer left at zero, how far it must improve to enter the solution: a *near-miss*). **MILP solutions have no duals** — integer optima are not continuous, so there are none to return. Duals are also unavailable when the model includes quadratic constraints — the second-order cone path returns primal values only. See the language-specific API skills for how to retrieve them after a solve.
## Required formulation questions
Ask these if not already clear:
1. **Decision variables** — What are they? Bounds? 2. **Objective** — Minimize or maximize? Linear or quadratic? For QP: any squared or cross terms (x², x·y)? If maximize a quadratic, the user must negate and minimize. 3. **Constraints** — Linear inequalities/equalities? Convex quadratic constraints (inequality only) are also supported, handled as second-order cones; non-convex or equality quadratic constraints are not. 4. **Variable types** — All continuous (LP / QP) or some integer/binary (MILP)? 5. **Convexity (QP only)** — For minimization, the quadratic form (matrix Q) should be positive semi-definite for well-posed problems.
## Typical modeling elements
- **Continuous variables** — production amounts, flow, allocations, portfolio weights. - **Binary variables** — open/close, yes/no (e.g., facility open, item selected). - **Linking constraints** — e.g., production only if facility open (Big-M or indicator). - **Resource constraints** — linear cap on usage (materials, time, capacity). - **Quadratic objective terms** — variance (xᵀQx), squared error (‖Ax − b‖²), interaction terms.
## Typical QP use cases
- Portfolio optimization — minimize variance subject to return and budget. - Least squares — minimize ‖Ax − b‖² subject to linear constraints. - Other quadratic objectives with linear constraints.
---
## Problem statement parsing
When the user gives **problem text**, classify every sentence and then summarize before formulating. The parsing framework below applies regardless of LP / MILP / QP.
**Classify every sentence** as **parameter/given**, **constraint**, **decision**, or **objective**. Watch for **implicit constraints** (e.g., committed vs optional phrasing) and **implicit objectives** (e.g., "determine the plan" + costs → minimize total cost).
**Ambiguity:** If anything is still ambiguous, ask the user or solve all plausible interpretations and report all outcomes; do not assume a single interpretation.
### 🔒 MANDATORY: When in Doubt — Ask
- If there is **any doubt** about whether a constraint or value should be included, **ask the user** and state the possible interpretations.
### 🔒 MANDATORY: Complete-Path Runs — Try All Variants
- When the user asks to **run the complete path** (e.g., end-to-end, full pipeline), run all plausible variants and **report all outcomes** so the user can choose; do not assume a single interpretation.
### Three labels
| Label | Meaning | Examples (sentence type) | |-------|--------|---------------------------| | **Parameter / given** | Fixed data, inputs, facts. Not chosen by the model. | "Demand is 100 units." "There are 3 factories." "Costs are $5 per unit." | | **Constraint** | Something that must hold. May be explicit or **implicit** from phrasing. | "Capacity is 200." "All demand must be met." "At least 2 shifts must be staffed." | | **Decision** | Something we choose or optimize. | "How much to produce." "Which facilities to open." "How many workers to hire." | | **Objective** | What to minimize or maximize. May be **explicit** ("minimize cost") or **implicit** ("determine the plan" with costs given). | "Minimize total cost." "Determine the production plan" (with costs) → minimize total cost. |
### Implicit constraints: committed vs optional phrasing
**Committed/fixed phrasing** → treat as **parameter** or **implicit constraint** (everything mentioned is given or must happen). Not a decision.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "Plans to produce X products" | **Constraint**: all X must be produced. | Commitment; production level is fixed. | | "Operates 3 factories" | **Parameter**: all 3 are open. Not a location-selection problem. | Current state is fixed. | | "Employs N workers" | **Parameter**: all N are employed. Not a hiring decision. | Workforce size is given. | | "Has a capacity of C" | **Parameter** (C) + **constraint**: usage ≤ C. | Capacity is fixed. | | "Must meet all demand" | **Constraint**: demand satisfaction. | Explicit requirement. |
**Optional/decision phrasing** → treat as **decision**.
| Phrasing | Interpretation | Why | |----------|-----------------|-----| | "May produce up to …" | **Decision**: how much to produce. | Optional level. | | "Can choose to open" (factories, sites) | **Decision**: which to open. | Selection is decided. | | "Considers hiring" | **Decision**: how many to hire. | Hiring is under consideration. | | "Decides how much to order" | **Decision**: order quantities. | Explicit decision. | | "Wants to minimize/maximize …" | **Objective** (drives decisions). | Goal; decisions are the levers. |
### Implicit objectives — do not miss
**If the problem asks to "determine the plan" (or similar) but does not state "minimize" or "maximize" explicitly, the objective is often implicit.** You **MUST** identify it and state it before formulating; do not build a model with no objective.
| Phrasing / context | Likely implicit objective | Why | |-------------------|---------------------------|-----| | "Determine the production plan" + costs given (per unit, per hour, etc.) | **Minimize total cost** (production + inspection/sales + overtime, etc.) | Plan is chosen; costs are specified → natural goal is to minimize total cost. | | "Determine the plan" + costs and revenues given | **Maximize profit** (revenue − cost) | Both sides of the ledger → optimize profit. | | "Try to determine the monthly production plan" + workshop hour costs, inspection/sales costs | **Minimize total cost** | All cost components are given; no revenue to maximize → minimize total cost. |
**Rule:** When the problem gives cost (or cost and revenue) data and asks to "determine", "find", or "establish" the plan, **always state the objective explicitly** (e.g., "I'm treating the objective as minimize total cost, since only costs are given."). If both cost and revenue are present, state whether you use "minimize cost" or "maximize profit". Ask the user if unclear.
### Parsing workflow
1. **Split** the problem text into sentences or logical clauses. 2. **Label** each: parameter/given | constraint | decision | **objective** (if stated). 3. **Identify the objective (explicit or implicit):** If the problem says "minimize/maximize X", that's the objective. If it only says "determine the plan" (or "find", "establish") but gives costs (and possibly revenues), the objective is **implicit** — state it (e.g., minimize total cost, or maximize profit) and confirm with the user if ambiguous. 4. **Flag implicit constraints**: For each sentence, ask — "Does this state a fixed fact or a requirement (→ parameter/constraint), or something we choose (→ decision)?" 5. **Resolve ambiguity** by checking verbs and modals: - "is", "has", "operates", "employs", "plans to" (fixed/committed) → parameter or implicit constraint. - "may", "can choose", "considers", "decides", "wants to" (optional) → decision or objective. 6. **🔒 MANDATORY — If anything is still ambiguous** (e.g., a value or constraint could be read two ways): ask the user which interpretation is correct, or solve all plausible interpretations and report all outcomes. Do not assume a single interpretation. 7. **Summarize** for the user: list parameters, constraints (explicit + flagged implicit), decisions, and **objective (explicit or inferred)** before writing the math formulation.
### Parsing checklist
- [ ] Every sentence has a label (parameter | constraint | decision | objective if stated). - [ ] **Objective is identified:** Explicit ("minimize/maximize X") or implicit ("determine the plan" + costs → minimize total cost; + revenues → maximize profit). Never formulate without stating the objective. - [ ] Committed phrasing ("plans to", "operates", "employs") → not decisions. - [ ] Optional phrasing ("may", "can choose", "considers") → decisions. - [ ] Implicit constraints from committed phrasing are written out (e.g., "all X must be produced"). - [ ] **🔒 MANDATORY — Ambiguity:** Any phrase that could be read two ways → I asked the user or I will solve all interpretations and report all outcomes (no silent single interpretation). - [ ] Summary is produced before formulating (parameters, constraints, decisions, **objective**).
### Example
**Text:** "The company operates 3 factories and plans to produce 500 units. It may use overtime at extra cost. Minimize total cost."
| Sentence / phrase | Label | Note | |-------------------|-------|------| | "Operates 3 factories" | Parameter | All 3 open; not facility selection. | | "Plans to produce 500 units" | Constraint (implicit) | All 500 must be produced. | | "May use overtime at extra cost" | Decision | How much overtime is a decision. | | "Minimize total cost" | Objective | Drives decisions. |
Result: Parameters = 3 factories, 500 units target. Constraints = produce exactly 500 (implicit from "plans to produce"). Decisions = production allocation across factories, overtime amounts. Objective = minimize cost.
**Implicit-objective example:** A problem that asks to "determine the production plan" (or similar) and gives cost components (e.g., workshop, inspection, sales) but does not state "minimize" or "maximize" → **Objective is implicit: minimize total cost**. Always state it explicitly: "The objective is to minimize total cost."
---
## QP rule: minimize only
QP objectives must be **minimization**. To maximize a quadratic expression, negate it and minimize; then negate the optimal value.
For minimization to be well-posed, the quadratic form `Q` should be positive semi-definite. If `Q` is indefinite, the problem is non-convex and may not have a finite optimum.
---
## Common patterns
The remaining sections cover
Source provenance
Decision snapshot
3,176 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for cuopt-numerical-optimization-formulation, ready for a manual X post.
cuopt-numerical-optimization-formulation: LP, MILP, QP — concepts, problem-text parsing, and formulation patterns (parameters, constrai... 3.2K stars https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x
Listing + install path for cuopt-numerical-optimization-formulation: https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=x Install: npx skills add NVIDIA/skills --skill cuopt-numerical-optimization-formulation
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to NVIDIA but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation/audit)
[](https://www.openagentskill.com/skills/nvidia-cuopt-numerical-optimization-formulation?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)NVIDIA
@nvidia
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Review then install
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
network or browser access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
network or browser access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
network or browser access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
network or browser access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness