[gecode-users] scheduling problem, tow branchers, order of branching
Wu Shaowei
jcwsw129 at gmail.com
Fri Jul 29 12:17:57 CEST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20160729/87a9da6b/attachment.html>
More information about the users
mailing list