A generalization of the linear complementarity problem