On the numerical solution of linear mixed problems