Originally posted by: DouglasC
Hi
Can anybody tell me what the difference is between the following two constraints (note the only difference is the placement of the forall)?
validFixturePitch =
forall(i in set_fixtures) sum(k in set_pitches) sum(j in set_timeslots)
Fixs[i][j][k] * FixturePitch[i][k] == 1;
forall(i in set_fixtures)
validFixturePitch[i] =
sum(k in set_pitches) sum(j in set_timeslots)
Fixs[i][j][k] * FixturePitch[i][k] == 1;
For the constraint I am modelling they seem to do the same thing, but when I have tested on other constraints, they seem to be different.
As well as an English description, the relevant LP "s.t." would be useful.
Thanks
Doug
#DecisionOptimization#OPLusingCPLEXOptimizer