1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

20 lines
549 B
MiniZinc

week_length = 7;
nb_workers = 48;
min_daysoff = 1;
max_daysoff = 4;
min_work = 3;
max_work = 5;
nb_shifts = 3;
temp_req = [| 6, 6, 6, 6, 5, 1, 1
| 15, 15, 15, 15, 15, 9, 9
| 16, 16, 16, 16, 15, 11, 11 |];
shift_name = ["D", "A", "N"];
shift_start = [360, 840, 1320];
shift_length = [480, 480, 480];
shift_block_min = [2, 3, 2];
shift_block_max = [5, 4, 4];
nb_forbidden = 7;
forbidden_before = [3, 3, 2, 3, 2, 3, 3];
forbidden_after = [1, 2, 1, 3, 1, 2, 1];
forbidden_daysoff = [false, false, false, true, true, true, true];