Text this: A Class of G-Semipreinvex Functions and Optimality