Modelica predictive control library (by the Institute of Automatic Control, RWTH Aachen University)
function QPSolveSoft input Real[:, :] H; input Real[:] G; input Real[:, :] A; input Real[:] b; input Integer n "dimension of the optimization problem"; input Integer m "number of constraints"; input Integer mhc "number of hard constraints"; input Real[:] Xstart "start value for the iteration"; input Basic.QPSolverRecord rcdPar; output Real[n] x; end QPSolveSoft;