Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 01-Oct-2019 | - | ||||
README.md | H A D | 01-Oct-2019 | 768 | 19 | 16 | |
getting_started.py | H A D | 01-Oct-2019 | 7.5 KiB | 217 | 114 | |
qp_data.c | H A D | 01-Oct-2019 | 7.8 KiB | 233 | 177 | |
run_example_ubuntu.sh | H A D | 01-Oct-2019 | 342 | 13 | 4 |
README.md
1HPIPM examples using the hpipm_python module. 2 3In order to be able to run the examples in this folder, it is necessary to have Python 3 installed in the system. 4The first step is to install the shared libraries libblasfeo.so and libhpipm.so and to run 5``` 6pip install . 7``` 8from hpipm/interface/python/hpipm_python (depending on your system, you may need to run pip3 instead). 9 10The required shared libraries can be installed by running 11``` 12make shared_library -j4 & sudo make install_shared 13``` 14from the blasfeo and hpipm root folder. 15Make sure that the location of libblasfeo.so and libhpipm.so is known to the system by adding /opt/blasfeo/lib and /opt/hpipm/lib to LD_LIBRARY_PATH as 16``` 17export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/blasfeo/lib:/opt/hpipm/lib 18``` 19