Text this: Invexity and Optimization