1. |
- Andersson, Joel, et al.
(författare)
-
CasADi -- A symbolic package for automatic differentiation and optimal control
- 2012
-
Ingår i: Recent Advances in Algorithmic Differentiation. - Berlin, Heidelberg : Springer Berlin Heidelberg. - 9783642300226 ; , s. 297-307
-
Konferensbidrag (refereegranskat)abstract
- We present CasADi, a free, open-source software tool for rapid, yet efficient solution of optimization problems in general and dynamic optimization problems in particular. To the developer of algorithms for numerical optimization and to the advanced user of such algorithms, it offers a level of abstraction which is notably lower, and hence more flexible, than that of algebraic modeling languages such as AMPL or GAMS, but higher than working with a conventional automatic differentiation (AD) tool. CasADi is best described as a minimalistic computer algebra system (CAS) implementing automatic differentiation in eight different flavors. Similar to algebraic modelling languages, it includes high-level interfaces to state-of-the-art numerical codes for nonlinear programming, quadratic programming and integration of differential-algebraic equations. CasADi is implemented in self-contained C++ code and contains full-featured front-ends to Python and Octave for rapid prototyping. In this paper, we show how CasADi can be used for optimal control using either a collocation approach or a shooting approach.
|
|