Hi to everyone on the ML, I am working on a scheduling problem,I have two variable array:
*IntVarArray QuantityTask*; *SetVarArray WorkTimeTask*; ant two branchers: branch(*this,QuantityTask,INT_VAR_NONE(),INT_VAL_MIN()); assign(*this,WorkTimeTask,SET_ASSIGN_MIN_INC()); Asume I have 2 tasks, Gecode's default enumration order is: (branch)QuantityTask[0]-->(branch)QuantityTask[1]-->(assign)WorkTimeTak[0]-->(assign)WorkTimeTask[1], *how can I achieve this:* *(branch)QuantityTask[0]-->(assign)WorkTimeTak[0]-->(branch)QuantityTask[1]-->(assign)WorkTimeTask[1]* I have read MPG 8.14 Executing code between branchers, and http://www.gecode.org/pipermail/users/2015-April/004669.html, but has not a clue. Thank you! Best, Wu Shaowei
_______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users