E-CE0004 — Instance data name conflicts with an existing declaration
Error Type |
|
|---|---|
Phase |
compiling the problem into an OMMX instance |
Python exception |
|
Message
Instance data entry `{name}` conflicts with an existing {kind} of the same name.
Only placeholders and category labels can receive instance data.
Cause
An entry in the instance data uses a name that already belongs to a decision variable or a named (dependent) expression in the model. Only placeholders and category labels can be given values through instance data.
Fix
Remove the entry, or rename either the entry or the conflicting declaration so that instance data keys only refer to placeholders or category labels.