Professional Documents
Culture Documents
Joris Gillis
MECO Research Team, Department Mechanical Engineering, KU Leuven
DMMS lab, Flanders Make, Leuven, Belgium
joris.gillis@kuleuven.be
1 Introduction 0 1 1
0.5 0.5
20
CasADi [1] (http://casadi.org) is an open-source
p2
0 0
symbolic software framework for nonlinear programming, 40
available in C++, Python, MATLAB and Octave. This ab- -0.5 -0.5
gramming solver:
Acknowledgement. This work has been carried out within the framework of projects
o pt s . qpsol = ’ qrqp ’ ; Flanders Make ICON: Physical and control co-design of electromechanical drivetrains
o p t i . s o l v e r ( ’ sqpmethod ’ , o p t s ) ; for machines and vehicles, and KU Leuven-BOF PFV/10/002 Centre of Excellence:
Optimization in Engineering (OPTEC). Flanders Make is the Flemish strategic re-
search centre for the manufacturing industry.
CasADi provides this solver with derivatives such as the
large-and-sparse constraint Jacobian (see Figure 1) through
algorithmic differentiation of expression graphs.