casadi-bindings: low level bindings to CasADi

[ lgpl, library, math, numerical ] [ Propose Tags ]

Haskell bindings to the CasADi algorithmic differentiation and optimal control library. Version numbers correspond to the C++ library version numbers except the very last number which may indicate breaking changes.

This is a metapackage which also hosts the installation instructions. The purpose is that users of the library will always be able to "cabal install casadi-bindings" and have things Just Work, though you may need to install additional add-on modules manually.

The `casadi-bindings-internal` package is handwritten and provides some casadi memory management wrappers and C++ standard type marsahalling.

The rest of the modules like `casadi-bindings-core`, `casadi-bindings-ipopt-interface`, etc are autogenerated from casadi's swig interface and correspond exactly to the casadi C++ API.

For high-level bindings, see my dynobud project

The current instructions for getting started on Debian/Ubuntu:

Install libcasadi-shared from https://github.com/casadi/casadi/releases/latest, first download it from that website, then:

> dpkg -i libcasadi-shared.deb
> cabal update; cabal install casadi-bindings

to install the ipopt interface:

> apt-get install coinor-libipopt-dev
> cabal install casadi-bindings-ipopt-interface

Temporary note: there is something wrong with casadi and ipopt related to http://list.coin-or.org/pipermail/ipopt/2014-April/003670.html, and https://github.com/casadi/casadi/issues/1075. At the moment this .cabal package works for me as is, but YMMV

For the snopt interface, you may have to do something like

cabal install casadi-bindings-snopt-interface --extra-lib-dirs='/home/me/snopt/lib'

to find the snopt libraries

I only officially support debian/ubuntu right now, but I have gotten it working on OSX in the past. Everything is done with pkg-config and LD_LIBRARY_PATH, so there's no reason I know that there should be problems.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 1.8.0.0, 1.8.2.1, 1.9.0.0, 1.9.0.1, 1.9.0.2, 1.9.0.3, 1.9.0.4, 1.9.0.5, 2.0.0, 2.0.0.1, 2.1.0.0, 2.1.0.1, 2.1.3.0, 2.1.3.1, 2.1.3.2, 2.2.0.0, 2.2.0.1, 2.2.0.2, 2.2.0.3, 2.2.0.4, 2.2.0.5, 2.2.0.6, 2.2.0.7, 2.2.0.8, 2.3.0.0, 2.3.0.1, 2.4.1.0, 2.4.1.1, 2.4.1.2, 2.4.1.3, 2.4.1.4, 2.4.1.5, 2.4.1.6, 2.4.1.7, 2.4.1.8, 2.4.1.9, 3.0.0.0, 3.0.0.1, 3.0.0.2, 3.0.0.3, 3.0.0.4, 3.0.0.5, 3.1.0.0, 3.1.0.1, 3.1.0.2, 3.1.0.3, 3.4.5.0
Dependencies casadi-bindings-core (==2.0.0.1), casadi-bindings-internal (==0.1.1) [details]
License LGPL-3.0-only
Copyright (c) Greg Horn 2013-2014
Author Greg Horn
Maintainer gregmainland@gmail.com
Category Numerical, Math
Home page http://github.com/ghorn/casadi-bindings
Source repo head: git clone git://github.com/ghorn/casadi-bindings.git
Uploaded by GregHorn at 2014-08-21T09:45:22Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 33854 total (102 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-13 [all 8 reports]