eigen-quadprog allow to use the QuadProg QP solver with the Eigen3 library.
To compile you need the following tools:
- Git
- CMake >= 2.8
- pkg-config
- doxygen
- g++
- gfortran (-DUSE_F2C=OFF)
- gcc (-DUSE_F2C=ON)
- Boost >= 1.49
- Eigen >= 3.2
git clone --recursive https://github.com/jorisv/eigen-quadprog
cd eigen-quadprog
mkdir _build
cd _build
cmake [options] ..
make && make intall
Where the main options are:
-DCMAKE_BUIlD_TYPE=Release
Build in Release mode-DCMAKE_INSTALL_PREFIX=some/path/to/install
default is/usr/local
-DUNIT_TESTS=ON
Build unit tests.-DUSE_F2C=ON
Build with fortran source code translated in C (slower runtime).
To update cmake directory with their upstream git repository:
git fetch git://github.com/jrl-umi3218/jrl-cmakemodules.git master
git subtree pull --prefix cmake git://github.com/jrl-umi3218/jrl-cmakemodules.git master --squash