E-CE0017 — Unknown variable in fixed_variables

Error Type

Compile Error

Phase

compiling the problem into an OMMX instance

Python exception

jijmodeling.ModelingError

Message

Unknown decision variable(s) in `fixed_variables`: {...}.

Only variables defined in the problem can be fixed.

Cause

The fixed_variables mapping mentions one or more names that are not decision variables of the problem being compiled — typically a typo, or a variable that was renamed or never added to the problem.

Fix

Use only the names of decision variables that appear in the problem as keys of fixed_variables; remove or correct the listed entries.