Haskell bindings to the CasADi algorithmic differentiation and optimal control library. VERSION POLICY VIOLATION: version number x.y.z.w corresponds to the CasADi C++ library version x.y.z; the w referse to binding changes and may be completely breaking. This package is a mid-level interface to the autogenerated low-level bindings casadi-bindings-core. The module casadi-bindings-core is autogenerated from casadi's swig interface and corresponds to the casadi C++ API (though some functions will be missing). The casadi-bindings-internal package is handwritten and provides some casadi memory management wrappers, C++ standard type marsahalling, and some hand-written wrapper code. For high-level bindings, see my dynobud project To install this, first install casadi using instructions from www.casadi.org. MAKE SURE pkg-config CAN FIND THE CASADI INSTALLATION, AS THIS IS HOW CABAL FINDS CASADI!! Then cabal install this package: If you are upgrading this package and see linker errors, you may need to first manually `ghc-pkg unregister casadi-bindings-internal`. Temporary note: there is something wrong with casadi and ipopt related to http:list.coin-or.orgpipermailipopt2014-April003670.html, and https:github.comcasadicasadiissues1075. Either update IPOPT or use a different linear solver than MUMPS.


Keywords
library, math, numerical, Propose Tags
License
LGPL-3.0-only
Install
cabal install casadi-bindings-3.4.5.0

Documentation

casadi-bindings

Hackage

haskell bindings to the CasADi algorithmic differentiation and optimal control library

This project is mainly a bindings generation tool, which I use to generate cabal packages for release on hackage. You should really try to use the hackage releases instead of this repository by following the instructions at: http://hackage.haskell.org/package/casadi-bindings

.

I generate bindings by running WriteBindings/WritePackage.hs. Some of the paths are hard-coded for my setup.