Availability:
:- use_module(library(clpfd)).
=<
S_j or S_j +
D_j =<
S_i for all 1 =<
i <
j =<
n. Example:
?- length(Vs, 3), Vs ins 0..3, serialized(Vs, [1,2,3]), label(Vs). Vs = [0, 1, 3] ; Vs = [2, 0, 3] ; false.
- See also
- Dorndorf et al. 2000, "Constraint Propagation Techniques for the Disjunctive Scheduling Problem"