executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
foundations-mathematical-optimizationFormulates LP, MILP, CP-SAT models; diagnoses infeasibility and gaps. Use when a MILP is infeasible, shifts need scheduling under capacity, or choosing a solver.
Independent GitHub snapshot · Automated classification · Original documentation governs
Turn an allocation question into an explicit model and a defensible solution claim. Separate a good candidate, a feasible candidate, and a certified optimum.
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.
| Task | Resource |
|---|---|
| Choose LP, convex, or discrete formulation | formulation-and-methods.md |
| Verify a claimed optimum | certificates-and-status.md |
| Model uncertain coefficients | uncertainty-and-sensitivity.md |
| Pick a solver or modeling layer; look up versions and features | solver-selection.md |
| Model is infeasible, unbounded, INF_OR_UNBD, or numerically unstable | infeasibility-diagnosis.md |
| MIP is slow or has a large gap; big-M, symmetry; several objectives | mip-formulation-and-multiobjective.md |
| Jobs, shifts, GPU or workflow scheduling; CP-SAT vs MIP vs greedy | scheduling-cp-sat.md |
| An LLM drafts the model from a text spec | llm-assisted-formulation.md |
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.
python3 scripts/test_lp_certificate.py.The helper's tests establish its arithmetic and input behavior. They do not establish live routing or improved optimization decisions by an agent.