I'm trying to assign n number of students into 3 groups.
each student is teach by a certain instructor.
I'd like to evenly distributed the students into the groups (assume the total
no. of student is divisible by the 3 groups.)
Given an array where the 1st element holds the instructor (in enum) of the 1st
student and so on...
How should I model the constratint to enforce that:
for each group, the total no. of distinct instructors are the same.
?? Big Big thanks!
Yahoo!香港提供網上安全攻略,教你如何防範黑客! 請前往 http://hk.promo.yahoo.com/security/ 了解更多!_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users