• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..01-Oct-2019-

README.mdH A D01-Oct-2019768 1916

getting_started.pyH A D01-Oct-20197.5 KiB217114

qp_data.cH A D01-Oct-20197.8 KiB233177

run_example_ubuntu.shH A D01-Oct-2019342 134

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