this repo has no description
1include "fzn_span.mzn"; 2include "fzn_span_reif.mzn"; 3 4/** @group globals.scheduling 5 Span constraint for optional tasks. Task (\a s0,\a d0) spans the optional 6 tasks (\a s[\p i],\a d[\p i]) in the array arguments. 7*/ 8predicate span(var opt int: s0, var int: d0, 9 array[int] of var opt int: s, 10 array[int] of var int: d) = 11 assert(index_set(s) = index_set(d), 12 "span: index sets of third and fourth argument must be identical", 13 fzn_span(s0,d0,s,d) 14 );