Content:
- Eigen3
- CMake
- Python
conda install -c conda-forge osqp
- C++
git clone --recursive https://github.com/osqp/osqp
cd osqp
mkdir build &&
cd build
cmake -G "Unix Makefiles" .. # Linux
cmake --build . --target install # build to /usr/local/include and /usr/local/lib
git clone https://github.com/robotology/osqp-eigen.git
cd osqp-eigen/
mkdir build && cd build
cmake ..
make -j 4
sudo make install # default to /usr/local/include and /usr/local/lib
-
Obtain the latest stable release of qpOASES from project page, and save the zipped archive
qpOASES-3.2.1.tgz
. -
Unpack the archive
gunzip qpOASES-3.2.1.tgz tar xf qpOASES-3.2.1.tar
-
Compilation of the qpOASES library
libqpOASES.a
and test examplescd <install-dir> make
-
Running a simple test example
cd <install-dir>/bin ./example1
If it terminates after successfully solving two QP problems, qpOASES has been successfully installed!
- Python
-
Installing via conda
conda install -c conda-forge cvxopt
-
Installing via pip
pip install cvxopt
-
To activate an ordered product:
- Determine the hostname and hostid of your designated machine(s) according to the instructions in the licensing guide.
- E-mail those details to license@mosek.com.
- You will receive license file(s) which can be installed according to the instructions for floating license or server license.
After activated the MOSEK license, a mosek.lic
file will be sent to your email. The license file should be placed inside a folder called "mosek" under the user's home directory. For example:
-
Windows:
c:\users\_userid_\mosek\mosek.lic
-
Linux/Mac OS:
/home/_userid_/mosek/mosek.lic
Where
_userid_
is your User ID on the computer.
Download default installers in the download page according to your systems.
- Python
-
Installing via conda
conda install -c mosek mosek
-
Installing via pip
pip install Mosek
-