Gradgen v0.5.1 brings new features and improvements
· One min read
Gradgen v0.5.1 brings second-order cones (SOCs), which are useful in convex optimization. It also brings significant improvements in the generated code leading to a more "economic" allocation of workspace memory. Earlier, workspace would almost always be required, whereas now we check whether the output variable can serve as workspace. More thorough unit testing is also done (we now have 538 unit tests running on GitHub Actions). This includes integration tests where we compare the results obtained by gradgen to sympy.
Gradgen v0.5.1 can be installed using pip:
pip install gradgen==0.5.1
Upcoming developments:
- Improved documentation and examples, including Python notebooks on Google Colab and demos
- Benchmarks
- Support for the forward-backward envelope in optimal control problems
