Originally posted by: Spegs21
Alex,
I've added the constraint as you have shown but it does not appear to play nice with the alternative constraint. The engine log reports a conflict size of 3 constraints, however no conflicts are listed in the conflicts tab. If I comment out the alternative constraint it will schedule the jobs (with the penalty) but with every job on every machine.
The updated MOD file is attached. Let me know if you have any insight. Thanks for the help!
Edit:
Conflicts
Printing conflicts using conflictIterator
Member name:[c2[job = <7,26,0,2>]= alternative[jobs[<7>],all[pt in ProcessingTimes: pt.job == 7] processingtimes[pt]]]
Conflict type:ConflictMember
Member name:[c3[job = <7,26,0,2>,pt = <7,1,15>]= lengthOf[processingtimes[<7,1>]] == 15+penalty[job]]
Conflict type:ConflictMember
Member name:429655920
Conflict type:ConflictMember
#DecisionOptimization#MathematicalProgramming-General