Reverse mode automatic differentiation library and domain-specific language for nonlinear programming (NLP) solvers. Designed for efficient gradient and Hessian computations, it provides a Python DSL to formulate and solve optimization problems. Current version 0.5.4, requires Python >=3.12. Development is active with pre-1.0 breaking changes expected.
pip install sleipnirgroup-jormungandrNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Minimal example showing variable creation, expression evaluation with reverse mode autodiff, and NLP solving.
Pin for production: sleipnirgroup-jormungandr==0.5.4
Always use 'import jormungandr' or 'from jormungandr import ...'
Replace `auto_diff` with `gradient` in your code.
Explicitly specify shape when creating non-scalar variables.