beta is initialized by calloc (macro LIBBMRM_CALLOC), so beta[0] should be zero. The order here is then important for the QP solver initial solution.