Open isaingit opened 5 months ago
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)} net = load_keras_sequential(fwd_model, scaled_input_bounds=scaled_ins)
Thank you very much for spotting the issue, @zkilwein! That was really helpful.
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!