try R? solve_LSPA(x)