본문으로 건너뛰기
cccskills
무료GitHub에 공개

foundations-mathematical-optimization

Formulates LP, MILP, CP-SAT models; diagnoses infeasibility and gaps. Use when a MILP is infeasible, shifts need scheduling under capacity, or choosing a solver.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(15)

  • SKILL.md6.0 KB
  • agents/openai.yaml378 B
  • assets/optimization-contract.md786 B
  • data/script-contracts.json320 B
  • data/sources.json9.0 KB
  • references/certificates-and-status.md4.8 KB
  • references/formulation-and-methods.md2.6 KB
  • references/infeasibility-diagnosis.md4.2 KB
  • references/llm-assisted-formulation.md3.3 KB
  • references/mip-formulation-and-multiobjective.md4.3 KB
  • references/scheduling-cp-sat.md4.4 KB
  • references/solver-selection.md3.3 KB
  • references/uncertainty-and-sensitivity.md2.6 KB
  • scripts/check_lp_certificate.py4.7 KB
  • scripts/test_lp_certificate.py7.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Mathematical Optimization Foundations

Turn an allocation question into an explicit model and a defensible solution claim. Separate a good candidate, a feasible candidate, and a certified optimum.

When to Use

Trigger: constrained allocation, linear programming, convex optimization, integer programming, scheduling and assignment under capacity, solver choice, infeasible or unbounded models, duality certificates, optimality gaps, multi-objective tradeoffs, or robust/stochastic optimization.

Examples: allocate a fixed capacity across products; schedule GPU jobs under a GPU cap; find which constraints make a MILP infeasible; check an LLM-drafted model; verify an LP primal/dual witness.

Use decision theory to choose preferences or utilities, planning/search for action sequences with preconditions and effects (this skill owns resource-constrained scheduling), and theory of constraints to identify where improvement should focus. This skill owns the mathematical allocation after those choices. Ordinary prioritization without a quantitative constrained model need not activate it.

Quick Reference

TaskResource
Choose LP, convex, or discrete formulationformulation-and-methods.md
Verify a claimed optimumcertificates-and-status.md
Model uncertain coefficientsuncertainty-and-sensitivity.md
Pick a solver or modeling layer; look up versions and featuressolver-selection.md
Model is infeasible, unbounded, INF_OR_UNBD, or numerically unstableinfeasibility-diagnosis.md
MIP is slow or has a large gap; big-M, symmetry; several objectivesmip-formulation-and-multiobjective.md
Jobs, shifts, GPU or workflow scheduling; CP-SAT vs MIP vs greedyscheduling-cp-sat.md
An LLM drafts the model from a text specllm-assisted-formulation.md

Workflow

  1. Define decision variables, their domains and units, objective direction, resource constraints, and input provenance. Record which coefficients are estimates. Do not silently replace a disputed objective with a convenient proxy.
  2. Use formulation-and-methods.md to distinguish continuous from indivisible choices and choose LP, convex QP/conic, MILP, or explicitly nonconvex methods. Check formulation fidelity before solver choice, then pick the solver with solver-selection.md; scheduling goes to scheduling-cp-sat.md.
  3. Identify the evidence needed for the claim: feasible point, global bound, certificate, or heuristic result. For duality, numerical tolerances, and termination status, use certificates-and-status.md.
  4. When coefficients are uncertain, use uncertainty-and-sensitivity.md. Distinguish scenario performance from a probabilistic or worst-case guarantee.
  5. Return the optimization contract with candidate, constraint residuals, bounds/gap, method and termination status, and sensitivity. If no feasible candidate was found, distinguish search failure from proven model infeasibility and diagnose with infeasibility-diagnosis.md.

Exact LP Certificate Helper

Run python3 scripts/check_lp_certificate.py input.json (or - for standard input) to check supplied primal/dual witnesses for the canonical pair max c^T x, Ax <= b, x >= 0 / min b^T y, A^T y >= c, y >= 0 in exact rational arithmetic. It performs no optimization. Schema, parser limits, output fields, exit codes, and a worked answer: certificates-and-status.md.

Exit code 0 does not mean the witness is valid: a failed witness exits 0 with optimal: false. Read optimal, or pass --strict to exit 1 unless it is true. Invalid input exits 2.

It certifies only the submitted continuous LP. It does not certify model fidelity, a MILP optimum, or a floating-point solver result, and a failed witness does not prove infeasibility or unboundedness.

Completion Criteria

  • Variables/domains, units, objective, and constraints match the stated problem.
  • The global/local/heuristic claim has appropriate evidence and disclosed assumptions.
  • Numerical feasibility, integrality, bounds, and stopping status are reported separately.
  • Sensitivity includes important uncertain coefficients or a stated limitation.
  • Any proposed external action stays within the user's existing authorization.
  • Use dated primary material for mathematical guarantees and vendor documentation for current solver semantics. Check solver status and conventions before interpreting its bounds; do not promote a heuristic or sample result into a global guarantee.

Navigation and Evidence

The helper's tests establish its arithmetic and input behavior. They do not establish live routing or improved optimization decisions by an agent.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Configures Claude Code hooks and Codex hooks.json/notify. Use when adding PreToolUse guards, Stop hooks, managed hooks, format-on-save, preflight, audits, or worktree/budget hooks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Configures and hardens Claude Code and Codex MCP servers. Use when connecting databases, APIs, SaaS, building servers, or serving a clearance-filtered knowledge base.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Owns instruction files: AGENTS.md, CLAUDE.md, personal and repo rules. Use when writing, pruning, auditing them, sharing rules across Claude and Codex, or fixing ignored rules.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Creates and audits agent skills: SKILL.md, references, scripts, runtime metadata. Use when writing, validating, or security-reviewing a skill, or fixing truncated skill listings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Adds per-skill learnings loops for dated patterns, mistakes, and domain facts. Use when wiring skill memory, consolidation, or drift audits.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

Chooses subagent, team, workflow, or debate and launches it on Claude Code or Codex. Use when delegating, running agent review boards, or installing shared agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

vasilyu1983/AI-Agents-public1012026년 10월 16일 업데이트

vasilyu1983의 스킬 모두 보기

이 스킬의 문제 신고