Skip to content

eigen-osqp allows to use the OSQP solver with the Eigen3 library

License

Notifications You must be signed in to change notification settings

jrl-umi3218/eigen-osqp

Repository files navigation

eigen-osqp

License CI Documentation

eigen-osqp allows to use the OSQP solver with the Eigen3 library.

It supports dense and sparse matrix.

Installation

Ubuntu LTS (16.04, 18.04, 20.04)

# Make sure you have required tools
sudo apt install apt-transport-https lsb-release ca-certificates gnupg
# Add our key
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key 892EA6EE273707C6495A6FB6220D644C64666806
# Add our repository (stable versions)
sudo sh -c 'echo "deb https://dl.bintray.com/gergondet/multi-contact-release $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/multi-contact.list'
# Use this to setup the HEAD version
# sudo sh -c 'echo "deb https://dl.bintray.com/gergondet/multi-contact-head $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/multi-contact.list'
# Update packages list
sudo apt update
# Install packages
sudo apt install libeigen-osqp-dev

From source

Dependencies

To compile you need the following tools:

  • C++ compiler with C++11 support
  • CMake >= 3.1
  • Doxygen: to generate documentation (optional)
  • Boost >= 1.49
  • Eigen >= 3.2
  • OSQP >= 0.6.0

Building

mkdir _build
cd _build
cmake [options] ..
make && make intall