git-subtree-dir: prototype git-subtree-split: 91f7db00d45e7f991b5587ee07f09977ae311ee7
18 lines
527 B
MiniZinc
18 lines
527 B
MiniZinc
% RUNS ON mzn20_fd
|
|
% RUNS ON mzn-fzn_fd
|
|
include "cumulative.mzn";
|
|
|
|
%-----------------------------------------------------------------------------%
|
|
% cumulative
|
|
%-----------------------------------------------------------------------------%
|
|
var 1..6: cum_bound;
|
|
|
|
constraint cumulative([0, 3, 4, 6, 8, 8], % start
|
|
[3, 2, 5, 2, 1, 4], % duration
|
|
[2, 3, 1, 4, 3, 2], % resource usage
|
|
cum_bound);
|
|
|
|
solve satisfy;
|
|
|
|
output ["cum_bound = ", show(cum_bound), ";\n"];
|