-
Notifications
You must be signed in to change notification settings - Fork 0
/
back2back.yaml
198 lines (189 loc) · 8.65 KB
/
back2back.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
datapath: 'b2bdata' # Point it to the directory containing your reference data
testcases:
load-and-schedule-2-days-2-lines:
command: |
cd b2bdata/inputs/load-and-schedule-2-days/ ;
tomatic_scheduler.py 2022-07-11 \
--scheduler backtracker \
--keep \
--config-file config.yaml \
--personsfile persons.yaml \
--idealshifts idealshifts.yaml \
--overload overload.yaml \
--clusterize \
--deterministic \
--lines 2 \
--compute-shifts \
2>&1 | tee console.log && \
sed -i '/timeOfLastSolution/d' status.yaml
outputs:
- b2bdata/inputs/load-and-schedule-2-days/console.log
- b2bdata/inputs/load-and-schedule-2-days/overload.yaml
- b2bdata/inputs/load-and-schedule-2-days/ponderatedideal-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/carrega-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/carrega-2022-07-11.csv
- b2bdata/inputs/load-and-schedule-2-days/carrega.csv
- b2bdata/inputs/load-and-schedule-2-days/graella-telefons-2022-07-11.html
- b2bdata/inputs/load-and-schedule-2-days/graella-telefons-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/status.yaml
load-and-schedule-2-days-4-lines:
command: |
cd b2bdata/inputs/load-and-schedule-2-days/ ;
tomatic_scheduler.py 2022-07-11 \
--scheduler backtracker \
--keep \
--config-file config.yaml \
--personsfile persons.yaml \
--idealshifts idealshifts.yaml \
--overload overload.yaml \
--clusterize \
--deterministic \
--lines 4 \
--compute-shifts \
2>&1 | tee console.log && \
sed -i '/timeOfLastSolution/d' status.yaml
outputs:
- b2bdata/inputs/load-and-schedule-2-days/console.log
- b2bdata/inputs/load-and-schedule-2-days/overload.yaml
- b2bdata/inputs/load-and-schedule-2-days/ponderatedideal-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/carrega-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/carrega-2022-07-11.csv
- b2bdata/inputs/load-and-schedule-2-days/carrega.csv
- b2bdata/inputs/load-and-schedule-2-days/graella-telefons-2022-07-11.html
- b2bdata/inputs/load-and-schedule-2-days/graella-telefons-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/status.yaml
load-2020-03-02:
command: |
cd b2bdata/inputs/load-2020-03-02; tomatic_shiftload.py 2020-03-02 \
--idealshifts idealshifts.yaml \
--keep \
--clusterize \
2>&1 | tee console.log
outputs:
- b2bdata/inputs/load-2020-03-02/console.log
- b2bdata/inputs/load-2020-03-02/overload-2020-03-02.yaml
- b2bdata/inputs/load-2020-03-02/ponderatedideal-2020-03-02.yaml
- b2bdata/inputs/load-2020-03-02/carrega-2020-03-02.yaml
- b2bdata/inputs/load-2020-03-02/carrega-2020-03-02.csv
load-forgiving-2020-03-02:
command: |
cd b2bdata/inputs/load-2020-03-02; tomatic_shiftload.py 2020-03-02 \
--keep \
--idealshifts idealshifts.yaml \
--clusterize \
--forgive \
2>&1 | tee console.log
outputs:
- b2bdata/inputs/load-2020-03-02/console.log
- b2bdata/inputs/load-2020-03-02/overload-2020-03-02.yaml
- b2bdata/inputs/load-2020-03-02/ponderatedideal-2020-03-02.yaml
- b2bdata/inputs/load-2020-03-02/carrega-2020-03-02.yaml
- b2bdata/inputs/load-2020-03-02/carrega-2020-03-02.csv
2days2lines:
command: |
tomatic_scheduler.py 2019-11-11 \
--scheduler backtracker \
--keep \
--config-file b2bdata/inputs/config-2days2lines.yaml \
--weekshifts b2bdata/inputs/carrega-2days2lines.csv \
--overload b2bdata/inputs/emptyoverload.yaml \
--personsfile b2bdata/inputs/persons.yaml \
--lines 2 \
--search-days dm,dj \
2>&1 | tee graella-telefons-2019-11-11.log && \
sed -i '/timeOfLastSolution/d' status.yaml
outputs:
- graella-telefons-2019-11-11.html
- graella-telefons-2019-11-11.yaml
- graella-telefons-2019-11-11.log
- status.yaml
3days6lines:
command: |
tomatic_scheduler.py 2019-11-18 \
--scheduler backtracker \
--keep \
--config-file b2bdata/inputs/config-3days6lines.yaml \
--weekshifts b2bdata/inputs/carrega-3days6lines.csv \
--overload b2bdata/inputs/emptyoverload.yaml \
--personsfile b2bdata/inputs/persons.yaml \
--lines 6 \
--search-days dl,dx,dv \
2>&1 | tee graella-telefons-2019-11-18.log && \
sed -i '/timeOfLastSolution/d' status.yaml
outputs:
- graella-telefons-2019-11-18.html
- graella-telefons-2019-11-18.yaml
- graella-telefons-2019-11-18.log
- status.yaml
4days6lines:
command: |
cd b2bdata/inputs/4days6lines/
tomatic_scheduler.py 2019-10-28 \
--scheduler backtracker \
--keep \
--config-file config-4days6lines.yaml \
--weekshifts carrega-4days6lines.csv \
--overload emptyoverload.yaml \
--personsfile persons-withgroups.yaml \
--idealshifts idealshifts.yaml \
--lines 6 \
--stop-penalty 86 \
--deterministic \
--compute-shifts \
--search-days "dl,dm,dx,dj" \
2>&1 | tee graella-telefons.log && \
sed -i '/timeOfLastSolution/d' status.yaml
outputs:
- b2bdata/inputs/4days6lines/graella-telefons-2019-10-28.html
- b2bdata/inputs/4days6lines/graella-telefons-2019-10-28.yaml
- b2bdata/inputs/4days6lines/graella-telefons.log
- b2bdata/inputs/4days6lines/status.yaml
load-and-schedule-2-days-2-lines-minizinc:
command: |
cd b2bdata/inputs/load-and-schedule-2-days/ ;
tomatic_scheduler.py 2022-07-11 \
--scheduler minizinc \
--keep \
--config-file config.yaml \
--personsfile persons.yaml \
--idealshifts idealshifts.yaml \
--overload overload.yaml \
--clusterize \
--deterministic \
--lines 2 \
--compute-shifts \
2>&1 | tee console.log && \
sed -i '/timeOfLastSolution/d' status.yaml
outputs:
- b2bdata/inputs/load-and-schedule-2-days/console.log
- b2bdata/inputs/load-and-schedule-2-days/overload.yaml
- b2bdata/inputs/load-and-schedule-2-days/ponderatedideal-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/carrega-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/carrega-2022-07-11.csv
- b2bdata/inputs/load-and-schedule-2-days/carrega.csv
- b2bdata/inputs/load-and-schedule-2-days/graella-telefons-2022-07-11.html
- b2bdata/inputs/load-and-schedule-2-days/graella-telefons-2022-07-11.yaml
- b2bdata/inputs/load-and-schedule-2-days/status.yaml
minizinc-2023-08-07-many-holidays:
command: |
cd b2bdata/inputs/minizinc-2023-08-07/ ;
tomatic_scheduler.py 2023-08-07 \
--scheduler minizinc \
--keep \
--config-file config.yaml \
--personsfile persons.yaml \
--overload overload.yaml \
--deterministic \
--lines 10 \
--compute-shifts \
2>&1 | tee console.log && \
sed -i '/timeOfLastSolution/d' status.yaml && \
ls
outputs:
- b2bdata/inputs/minizinc-2023-08-07/console.log
- b2bdata/inputs/minizinc-2023-08-07/overload.yaml
- b2bdata/inputs/minizinc-2023-08-07/ponderatedideal-2023-08-07.yaml
- b2bdata/inputs/minizinc-2023-08-07/carrega-2023-08-07.yaml
- b2bdata/inputs/minizinc-2023-08-07/graella-telefons-2023-08-07.html
- b2bdata/inputs/minizinc-2023-08-07/graella-telefons-2023-08-07.yaml
- b2bdata/inputs/minizinc-2023-08-07/status.yaml