I am currently trying to solve a simple linear MPC by using ACADOS ocp_qp C-interface and the QP solver HPIPM. The problem setup works quite well. Unfortunately I can not figure out how to extract the solution of the states and controls (later on slack variables). From the ocp_nlp interface I know the function ocp_nlp_out_get(…) which can be used to extract the state at a specific stage. Is there a similar function for the ocp_qp interface? Or is there a simple way to extract the states and controls?