I've seen it's possible to label cplfd variables using a random method by adding the following options to labeling/2
:
labeling([random_variable(N),random_value(M)],List).
Where M
and N
are supposed to be integers, I think. However I am not able to find any information about those options in SWI-Prolog's documentation page. How can they be used?