Text this: Optimal Control of Nonlinear Processes