I have 3 Constraints for a List:
- list ins 1..9
- all_different(list)
lists in the list --> I get some lists from the list. every list from the list has to fulfill the constraint to be gapless. for example:
List1 = [1,3,2,4];
List2=[3,2,1];
List3= [5,7,6]
WRONG: List4=[1,4,3]
1 Question: You have an idea to set constraint 3? I would sort the lists and check for: Element1=Element2+1?
After all i want to use labeling([ff],list)
2 Question: I get a solution with labeling if i set contraint 3 like my idea?