Originally posted by: nburana
Hi,
I'm working on University timetabling problem using constraint programming. Now, I would like "calculating the teaching workload assigned to the teachers" by summation teaching workload of each discipline that taught by the teacher as the following constraint.
forall(x in Teacher)
TeachingWorkload[x] == sum(r in InstanceSet: r.discipline in PossibleTeacherDiscipline[x]) r.tw*(teacher[r] == ord(Teacher,x));
The model was work and I got the feasible solution if I used small value data in r.tw. But if I used high value data, the model was no solution. I have no idea where is wrong because I never been used TeachingWorkload variable in other constraints. Please helping me.
Regards,
#DecisionOptimization#OPLusingCPLEXOptimizer