Iterative solution of piecewise linear systems