On the solution of bounded and unbounded mixed complementarity problems