Overview | Group | Tree | Graph | Index | Concepts |
The function IlcAllMinDistance
creates and returns a
constraint. When that constraint is posted, it insures that the absolute
distance between any pair of variables in the array vars
will
be greater than or equal to k
. This function is for use during a
Solver search, for example, inside a goal (an instance of IlcGoal
)
or inside a constraint (an instance of IlcConstraint
).
If you are looking for similar functionality for use in an Concert Technology
model, consider IloAllMinDistance
documented in the
Concert API.
If you do not explicitly state a filter level, then Solver uses the default
filter level for this constraint (that is, IlcBasic
). The optional
argument level
can take one of the two values: IlcBasic
or IlcExtended
. The domain reduction during propagation depends on
the value of level
. See IlcFilterLevel
for an explanation of filter levels and their effect on constraint propagation.
IlcBasic
IlcBasic
is the lowest value.
IlcExtended
IlcExtended
causes more domain reduction than IlcBasic
; it also takes longer to run.
For more information, see IloAllMinDistance
.
See Also:
IlcAbs, IlcFilterLevel, IloAllMinDistance