Nonlinear Programming and Variational Inequality Problems