skills/math/optimization/constrained-optimization/SKILL.md
Problem-solving strategies for constrained optimization in optimization
npx skillsauth add rubicanjr/FinCognis constrained-optimizationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when working on constrained-optimization problems in optimization.
Constraint Classification
Lagrangian Method (Equality Constraints)
sympy_compute.py solve "grad_L_system"KKT Conditions (Inequality Constraints)
z3_solve.py prove "kkt_satisfied"Penalty and Barrier Methods
SciPy Constrained Optimization
scipy.optimize.minimize(f, x0, method='SLSQP', constraints=cons)uv run python -c "from scipy.optimize import minimize; cons = dict(type='eq', fun=lambda x: x[0] + x[1] - 1); res = minimize(lambda x: x[0]**2 + x[1]**2, [1, 1], method='SLSQP', constraints=cons); print('Min at', res.x)"
uv run python -m runtime.harness scripts/sympy_compute.py solve "[2*x - lam, 2*y - lam, x + y - 1]" --vars "[x, y, lam]"
uv run python -m runtime.harness scripts/z3_solve.py prove "complementary_slackness"
From indexed textbooks:
{x | Ax = b, x ≥ 0} is noted, indicating a system or set of constraints.See .claude/skills/math-mode/SKILL.md for full tool documentation.
development
Goal-based workflow orchestration - routes tasks to specialist agents based on user goals
tools
Wiring Verification
development
Connection management, room patterns, reconnection strategies, message buffering, and binary protocol design.
development
Screenshot comparison QA for frontend development. Takes a screenshot of the current implementation, scores it across multiple visual dimensions, and returns a structured PASS/REVISE/FAIL verdict with concrete fixes. Use when implementing UI from a design reference or verifying visual correctness.