Installation#

Using pip#

You can use pip to install csnlp with the command

pip install csnlp

csnlp has the following dependencies

Using source code#

If you’d like to play around with the source code instead, run

git clone https://github.com/FilippoAiraldi/casadi-nlp.git

The main branch contains the main releases of the packages (and the occasional post release). The experimental branch is reserved for the implementation and test of new features and hosts the release candidates. You can then install the package to edit it as you wish as

pip install -e /path/to/casadi-nlp