Text this: Trajectory Optimization with Constraints Using Neural Networks and Genetic Algorithms