Nonlinear Optimization with GPU-Accelerated Neural Network Constraints