Text this: Solving nonlinear and complex optimal control problems via multi-task artificial neural networks