Evaluating global expressions is broken when the where
string does not filter out all missing values
#686
Labels
bug
has-workaround
The issue describes a valid workaround until the primary issue is solved
v0.7
(upcoming) version 0.7
Milestone
What happened?
There seem to be issues currently with using NOT or OR/AND in the top level global_expressions where string related to the rework of
_from_pyomo_expr()
inpyomo_backend_model.py
made in #551 . The expression below worked prior to #551 :but now causes a
TypeError: 'int' object is not callable
in_from_pyomo_expr()
The issue seems to be specifically with NOT/OR/AND as doing a straight base_tech filter works. We can also work around it by moving the NOT logic to an equations where string but I wanted to flag the issue with the top level where filtering.
Other examples of expressions:
Which operating systems have you used?
Version
v0.7.0.dev3
Relevant log output
No response
The text was updated successfully, but these errors were encountered: