On the solution and complexity of a generalized linear complementarity problem