rename solve to solve_partial_pivoting