CasADi is written in modern C++ code, and licensed under the LGPL, meaning the code can be used royalty-free even in commercial applications. Interfaces to other Python, Octave, Matlab are provided through SWIG.

Source builds

The source code is hosted on Github. While the core depends only on the C++ Standard Library, source builds can be daunting because of the interfaces to numerical codes. We highly recommend following the Try/install page instead.


It is developed by Joel Andersson, Joris Gillis and Greg Horn, initially at the Optimization in Engineering Center, OPTEC of KU Leuven under supervision of Moritz Diehl.

The main developers are currently affliated with:


Website design by Armin Steinhauser. Background image by Scott Webb on Unsplash.

📣Next hands-on CasADi class: November 18-20