1002. A variable can only appear in one AllDifferent constraint. (OptQuest Engine)
- Home
- Analytic Solver Help
- A Variable can Only Appear in One AllDifferent Constraint
A variable can only appear in one All Different constraint. (OptQuest Engine)
This message appears if your model contains multiple "alldifferent" constraints and one or more variables are included in more than one “alldifferent” constraint. An “alldifferent” constraint specifies that a group of integer variables must have distinct values in the solution. The OptQuest engine does not support the use of a variable, or variables, appearing in multiple "alldifferent" constraints. To use the OptQuest Solver, you must re-formulate your model so each "alldifferent" constraint contains a unique set of variables.
We're Here to Help
- Question or Comment
- Support Live Chat
- Consulting Help
- Support KnowledgeBase
-
Call Us
Inside USA: 888-831-0333
Outside: 01+775-831-0300
