Equilibrium Models and Variational Inequalities