CasADi
Open-source tool for nonlinear optimization and algorithmic differentiation.
Why consider CasADi?
CasADi is an open-source software framework for nonlinear optimization and dynamic control written in C++, Python, and MATLAB by Joel Andersson. Using forward and reverse algorithmic differentiation, CasADi calculates exact matrix derivatives for Model Predictive Control (MPC) and robotics.
Learn CasADi by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of CasADi
CasADi formulates and solves continuous optimal control problems with IPOPT and SNOPT solvers.
Quickstart
pip install casadiimport casadi as cax = ca.SX.sym('x')f = x**2 + 10nlp = {'x': x, 'f': f}solver = ca.nlpsol('solver', 'ipopt', nlp)CasADi is licensed under the GNU LGPL-3.0 license.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.