Optimization Workflows
Use this sub-skill for optimization tasks built from nested parameter trees, fixed-point recurrences, or SciPy minimization loops.
Route here when the user needs
flattenorflatten_functo turn nested dict/list/tuple parameter trees into flat arrays and back.- Structured optimizers such as
sgd,rmsprop, oradamon nested containers. fixed_pointfor differentiable iterative updates.scipy.optimize.minimizecombined withvalue_and_grad.
Route elsewhere when the question is really about
value_and_gradsemantics, scalar-output constraints, or Jacobian/Hessian selection: differentiation-core.- General
autograd.scipywrapper behavior or SciPy wrapper coverage: numpy-scipy-primitives. - Custom primitive or staged VJP/JVP mechanics: extend-primitives.
Bundled runtime helpers
scripts/structured_optimizer_smoke.pyscripts/rosenbrock_minimize.pyscripts/fixed_point_smoke.py
These scripts use tiny synthetic fixtures only; they do not download data and there is no CLI entry point to discover.
What this sub-skill does not own
- Ordinary differentiation operators and higher-order autodiff semantics.
- Custom primitive registration or gradient-rule authoring.
- General NumPy/SciPy wrapper troubleshooting outside optimization workflows.
