I am new to Constraint programming and to MiniZinc I want to define the constraints for the following problem. Can you help me
3 Arrays F1,F2 and F3 have child elements (F1a,F1b) ; (F2a,F2b,F2c) ; (F3a,F3b,F3c,F3d) respectively.
I need to define constraints with below rules
*Need to Pick 1 element from each Family F1 and F3 with F2b included in all possible solutions
- F2b and F1a cannot coexist in a solution
- F2b and F3b cannot coexist in a solution
- F1a F2b and F3a cannot coexist in a solution
I need to find possible solutions
Thanks
My Actual Problem has 650 Arrays like F1,F2,... and have 75000 constraints like what i stated. Will I run into performance issue if extend the same logic given below by Alex/Dekker ?. what should be rigth approach to solve problems of this magnitude THanks