The casadi-bindings package

[Tags:lgpl, library, test]

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 MAKE SURE pkg-config CAN FIND THE CASADI INSTALLATION, AS THIS IS HOW CABAL FINDS CASADI!!

Then cabal install this package:

> cabal update && cabal install casadi-bindings

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.


Versions,,,,,,,, 2.0.0,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (>=4.6 && <5), binary, casadi-bindings-core (==, casadi-bindings-internal (==, cereal, containers, linear, spatial-math (>=, vector, vector-binary-instances [details]
License LGPL-3
Copyright (c) Greg Horn 2013-2015
Author Greg Horn
Stability Unknown
Category Numerical, Math
Home page
Source repository head: git clone git://
Uploaded Tue Aug 9 14:56:28 UTC 2016 by GregHorn
Distributions NixOS:
Downloads 4457 total (75 in the last 30 days)
0 []
Status Docs pending
Build status unknown [no reports yet]


  • Casadi
    • Casadi.CMatrix
    • Casadi.Callback
    • Casadi.DM
    • Casadi.Function
    • Casadi.GenericType
    • Casadi.MX
    • Casadi.Overloading
    • Casadi.SX
    • Casadi.Slice
    • Casadi.Sparsity
    • Casadi.Viewable


Maintainer's Corner

For package maintainers and hackage trustees