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
Variable type for NN bounds #34
Comments
If you have the onnx model (converted from Torch) you can use |
Can you check your version of Pyomo? You have to upgrade to version 6.2 to support dictionary bounds. Regardless, we should update OMLT requirements in the setup file. |
Using the Running
|
I am confused about what format of input bounds should be passed with an onnx model to omlt.
Trying a list or a dictionary:
or
Attempting to create the omlt model with either:
Results in:
ValueError: Variable 'bounds' keyword must be a tuple or function
The text was updated successfully, but these errors were encountered: