E-CE0205 — Decision variable rejected by OMMX
Error Type |
|
|---|---|
Phase |
compiling the problem into an OMMX instance |
Python exception |
|
Message
Invalid decision variable `{...}`: {error}.
Possible fix: check the declared bounds and any value given in `fixed_variables`.
(for indexed variables, `{name}` reads `{name}[{subscript}]` instead)
Cause
OMMX rejected the decision variable when it was registered on the instance — typically because its bounds are invalid, or because a value in fixed_variables is inconsistent with the declared bounds (e.g. fixing a binary variable to 2).
Fix
Check the quoted OMMX error: make sure the evaluated bounds are valid and that any fixed value lies within them.