How to add a constraint with neural network in a JuMP (PowerModels) model

Hi there, since it’s your first post, please read Please read: make it easier to help you. It’s easier to help if you provide a complete minimal working example.

However, there’s some scary stuff in your example that are going to cause issues.