Text this: Optimization and Optimal Control