Generalized Convexity Nonsmooth Variational Inequalities and Nonsmooth Optimization