-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building BigM reformulation for ReLU activations #150
Comments
I encountered the same error a few weeks ago. Make sure you provide bounds on the input variables for ReLU Big-M scaled_ins={0:(0,1),1:(0,1),...,29:(0,1)} |
Thank you very much for spotting the issue, @zkilwein! That was really helpful. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dear developers,
I am getting the following exception when trying to embed a ReLU network in my optimization model:
Exception has occurred: TypeError
'>' not supported between instances of 'NoneType' and 'int'
This is the piece of code that triggers the error:
I'd really appreciate it is someone can explain the error and provide a possible fix.
Thanks in advance!
The text was updated successfully, but these errors were encountered: