E-CE0005 — Cyclic placeholder dependency
Error Type |
|
|---|---|
Phase |
compiling the problem into an OMMX instance (also raised during random instance generation) |
Python exception |
|
Message
Cyclic dependency between model parameters: {...}.
Possible fix: break the cycle by removing one of the references forming the cycle.
Cause
Two or more model parameters — placeholders, decision variables, or named expressions — are defined in terms of each other, forming a cycle, so their values cannot be resolved in any order.
The message shows the cycle as `a` -> `b` -> ....
Fix
Break the cycle by removing or rewriting one of the mutual references, e.g. by making one of the placeholders take its value directly from instance data instead of from another placeholder.