This project develops a ramp function-based solver for QP problems having a positive semi-definite Hessian matrix. Complete solvers
The project is a continuation of my specialization project, which implemented a ramp function-based solver for a condensed formulation of QP problems with a positive definite Hessian. That solver is available here.
Developers interested in implementation details are encouraged to read my master's thesis.
cd /path/to/RaMPC
mkdir build
cd build
cmake ..
cmake --build .
cd /path/to/RaMPC
mkdir build
cd build
cmake .. -G "MinGW Makefiles"
cmake --build .
cd /path/to/RaMPC/build
mkdir ../test/data/TestMmcMpc
mkdir ../test/data/TestMexMmcMpc
ctest
/path/to/RaMPC/build/test/src/TestLtiMpc "/path/to/input/folder" \
"/path/to/output/folder" "10" "100"
addpath(’/path/to/RaMPC/build/mex’); % The MEX file MexLtiMpc is here
addpath(’/path/to/RaMPC/test/mex’); % The MATLAB function TestMexLtiMpc is here
TestMexLtiMpc(’/path/to/input/folder’, ’/path/to/output/folder’, 10, 100);