Originally posted by: cartepap
Hi Chris,
Thanks for the reply. I read the link you provided and would classify my problem as a renewable resource type. I have figured out the problem I was having earlier, but have come across something that should be relatively straight forward...
dvar interval A[i in Task] size i.pt;
dvar interval Maint[i in 1..M] optional size 5;
dvar sequence S in A and Maint types all(i in Task)i.type;
I'm getting an error on the "and". I'm trying to say that I have a sequence of tasks, with optional maintenance tasks. What syntax do I need to cram multiple interval names into one sequence?
#ConstraintProgramming-General#DecisionOptimization