Error Messages/42516


Error message

 The «start» parameter is not consistent for the unnamed Grouped Integer group.  
 The domain of x1 uses start = 0, while the domain of x2 uses start = 1.

or

 The «step» parameter is not consistent for the Grouped Integer group "grp1".  
 The domain of x1 uses start = 0, while the domain of x2 uses start = 1.
 

Cause

You have defined an optimization problem that uses decision variables with a GroupedInteger domain. In addition, at least one of these GroupedInteger domains has specified a non-default «start» or «step» parameter, but the same «start» and «step» are not being used in all variables belonging to the same group.

The error message identifies two of the variables that are assigned to the same integer group, but which have different «start» or «step» values (in the examples, these are variables 'x1' and 'x2'). In addition, the second form of the message indicates which group name is the offending one.

Example:

 Decision X1
 Domain: GroupedInteger("grp1", start: 0)

 Decision X2
 Domain: GroupedInteger("grp1")

Remedy

Visit all variables with GroupedInteger domains that are assigned to the indicated group and ensure that they consistently use the same «start» and «step» values.

See Also

Comments


You are not allowed to post comments.