Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

CasADi -- A symbolic package for automatic differentiation and optimal control

Andersson, Joel ; Åkesson, Johan LU and Diehl, Moritz (2012) 6th International Conference on Automatic Differentiation p.297-307
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... (More)
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. (Less)
Please use this url to cite or link to this publication:
author
; and
organization
publishing date
type
Chapter in Book/Report/Conference proceeding
publication status
published
subject
host publication
Recent Advances in Algorithmic Differentiation
pages
297 - 307
publisher
Springer
conference name
6th International Conference on Automatic Differentiation
conference dates
2012-07-23
external identifiers
  • scopus:84865540406
ISBN
978-3-642-30022-6
DOI
10.1007/978-3-642-30023-3_27
language
English
LU publication?
yes
additional info
key=and_ake2012casadi
id
7458b194-1e6e-4de8-9eac-360b67287b15 (old id 2372461)
date added to LUP
2016-04-04 11:26:08
date last changed
2022-04-24 00:35:32
@inproceedings{7458b194-1e6e-4de8-9eac-360b67287b15,
  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<br/><br>
such as AMPL or GAMS, but higher than working with a conventional automatic differentiation (AD) tool.<br/><br>
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<br/><br>
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.}},
  author       = {{Andersson, Joel and Åkesson, Johan and Diehl, Moritz}},
  booktitle    = {{Recent Advances in Algorithmic Differentiation}},
  isbn         = {{978-3-642-30022-6}},
  language     = {{eng}},
  pages        = {{297--307}},
  publisher    = {{Springer}},
  title        = {{CasADi -- A symbolic package for automatic differentiation and optimal control}},
  url          = {{http://dx.doi.org/10.1007/978-3-642-30023-3_27}},
  doi          = {{10.1007/978-3-642-30023-3_27}},
  year         = {{2012}},
}