Contributions to generalized convexity with applications to nonlinear mathematical programming problems