Switch to sparse solver.