this repo has no description
1include "fzn_disjunctive_strict.mzn";
2include "fzn_disjunctive_strict_reif.mzn";
3
4/** @group globals.scheduling
5 Requires that a set of tasks given by start times \a s and durations \a d
6 do not overlap in time. Tasks with duration 0 CANNOT be scheduled at any time,
7 but only when no other task is running.
8
9 Assumptions:
10 - forall \p i, \a d[\p i] >= 0
11*/
12predicate disjunctive_strict(array[int] of var int: s,
13 array[int] of var int: d) =
14 assert(index_set(s) == index_set(d),
15 "disjunctive: the array arguments must have identical index sets",
16 fzn_disjunctive_strict(s,d)
17 );
18