You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue tracks implementation of checks ensuring that redefinitions consider expression context. Example:
minimize Obj:
if x==1 then 1;
s.t. Con:
numberof 1 in (x) >= 1;
When IfThen is flattened, it produces conditional expression for x==1 in negative context. Then, only when numberof is redefined, it adds positive context to x==1. Make sure this happens before x==1 is redefined.
Tasks.
Implement checks that context is not extended beyond that used for redefinition.
Or, alternatively, enable redefinition context extension. This is likely not necessary as long as we don't support model modification.
Topological redefinition graph sorting to stay correct.
The text was updated successfully, but these errors were encountered:
This issue tracks implementation of checks ensuring that redefinitions consider expression context. Example:
When
IfThen
is flattened, it produces conditional expression forx==1
in negative context. Then, only whennumberof
is redefined, it adds positive context tox==1
. Make sure this happens beforex==1
is redefined.Tasks.
The text was updated successfully, but these errors were encountered: