skills/math/optimization/convex-optimization/SKILL.md
Problem-solving strategies for convex optimization in optimization
npx skillsauth add rubicanjr/FinCognis convex-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 convex-optimization problems in optimization.
Verify Convexity
z3_solve.py prove "hessian_psd"Problem Classification
| Type | Solver |
|------|--------|
| Linear Programming | scipy.optimize.linprog |
| Quadratic Programming | scipy.optimize.minimize(method='SLSQP') |
| General Convex | Interior point methods |
| Semidefinite | CVXPY with SDP solver |
Standard Form
KKT Conditions (Necessary & Sufficient)
z3_solve.py prove "kkt_conditions"Solve and Verify
scipy.optimize.minimize(f, x0, constraints=cons)uv run python -c "from scipy.optimize import linprog; res = linprog([-1, -2], A_ub=[[1, 1], [2, 1]], b_ub=[4, 5]); print('Optimal:', -res.fun, 'at x=', res.x)"
uv run python -c "from scipy.optimize import minimize; res = minimize(lambda x: (x[0]-1)**2 + (x[1]-2)**2, [0, 0]); print('Minimum at', res.x)"
uv run python -m runtime.harness scripts/z3_solve.py prove "kkt_conditions"
From indexed textbooks:
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.