@teamkeel/solver 0.0.0-stage → 0.509.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dist/index.cjs +6878 -0
  2. package/dist/index.d.cts +9 -0
  3. package/dist/index.d.ts +9 -0
  4. package/dist/index.js +6850 -0
  5. package/dist/internal.cjs +17244 -0
  6. package/dist/internal.d.cts +1275 -0
  7. package/dist/internal.d.ts +1275 -0
  8. package/dist/internal.js +17164 -0
  9. package/dist/layout-ZQ45Tlkb.d.cts +2111 -0
  10. package/dist/layout-efr1Ke_2.d.ts +2111 -0
  11. package/dist/layout.cjs +19 -0
  12. package/dist/layout.d.cts +2 -0
  13. package/dist/layout.d.ts +2 -0
  14. package/dist/layout.js +1 -0
  15. package/dist/record-results-BWnJIpkK.d.ts +222 -0
  16. package/dist/record-results-DPczGZWH.d.cts +222 -0
  17. package/dist/types-DIFPlxBZ.d.cts +1865 -0
  18. package/dist/types-DIFPlxBZ.d.ts +1865 -0
  19. package/fixtures/operation/bakery/operation.json +350 -0
  20. package/fixtures/operation/bakery/plan.json +872 -0
  21. package/fixtures/operation/bakery/readback.json +114 -0
  22. package/fixtures/operation/bakery/score.json +1520 -0
  23. package/fixtures/operation/bakery/timeline.json +2376 -0
  24. package/fixtures/operation/clinic/operation.json +223 -0
  25. package/fixtures/operation/clinic/plan.json +383 -0
  26. package/fixtures/operation/clinic/readback.json +83 -0
  27. package/fixtures/operation/clinic/score.json +1305 -0
  28. package/fixtures/operation/clinic/timeline.json +2283 -0
  29. package/fixtures/operation/field-service/operation.json +194 -0
  30. package/fixtures/operation/field-service/plan.json +172 -0
  31. package/fixtures/operation/field-service/readback.json +73 -0
  32. package/fixtures/operation/field-service/score.json +585 -0
  33. package/fixtures/operation/field-service/timeline.json +661 -0
  34. package/fixtures/operation/filling/operation.json +245 -0
  35. package/fixtures/operation/filling/plan.json +525 -0
  36. package/fixtures/operation/filling/readback.json +87 -0
  37. package/fixtures/operation/filling/score.json +756 -0
  38. package/fixtures/operation/filling/timeline.json +1322 -0
  39. package/fixtures/operation/shop/operation.json +320 -0
  40. package/fixtures/operation/shop/plan.json +664 -0
  41. package/fixtures/operation/shop/readback.json +130 -0
  42. package/fixtures/operation/shop/score.json +1106 -0
  43. package/fixtures/operation/shop/timeline.json +2734 -0
  44. package/fixtures/operation/warehouse-day/operation.json +517 -0
  45. package/fixtures/operation/warehouse-day/plan.json +477 -0
  46. package/fixtures/operation/warehouse-day/readback.json +207 -0
  47. package/fixtures/operation/warehouse-day/score.json +979 -0
  48. package/fixtures/operation/warehouse-day/timeline.json +1420 -0
  49. package/package.json +63 -4
  50. package/README.md +0 -3
@@ -0,0 +1,517 @@
1
+ {
2
+ "schema": "keel.solver.operation/2",
3
+ "hash": "sha256:8923737c70906c66d85d5cf5d8340514abed04b9b2f3ea5bfc8bf010ccfbaf02",
4
+ "solver": "WarehouseDay",
5
+ "words": {},
6
+ "nouns": [
7
+ {
8
+ "kind": "hours",
9
+ "at": {
10
+ "line": 81
11
+ },
12
+ "about": "hours",
13
+ "name": "hours",
14
+ "words": {
15
+ "one": "hours",
16
+ "many": "hours",
17
+ "at": "in"
18
+ },
19
+ "open": [
20
+ "08:00-16:00"
21
+ ],
22
+ "openOn": [],
23
+ "startUp": null,
24
+ "dayStarts": null,
25
+ "allDay": [],
26
+ "startUpWith": null,
27
+ "ends": null
28
+ },
29
+ {
30
+ "kind": "equipment",
31
+ "at": {
32
+ "line": 19
33
+ },
34
+ "about": "equipment.dock door",
35
+ "name": "dock door",
36
+ "words": {
37
+ "one": "dock door",
38
+ "many": "dock doors",
39
+ "at": "at"
40
+ },
41
+ "area": null,
42
+ "glyph": "door",
43
+ "speed": null,
44
+ "takes": [],
45
+ "holds": null,
46
+ "count": null
47
+ },
48
+ {
49
+ "kind": "equipment",
50
+ "at": {
51
+ "line": 20
52
+ },
53
+ "about": "equipment.pick zone",
54
+ "name": "pick zone",
55
+ "words": {
56
+ "one": "pick zone",
57
+ "many": "pick zones",
58
+ "at": "in"
59
+ },
60
+ "area": null,
61
+ "glyph": "space",
62
+ "speed": null,
63
+ "takes": [],
64
+ "holds": null,
65
+ "count": null
66
+ },
67
+ {
68
+ "kind": "equipment",
69
+ "at": {
70
+ "line": 21
71
+ },
72
+ "about": "equipment.pack line",
73
+ "name": "pack line",
74
+ "words": {
75
+ "one": "pack line",
76
+ "many": "pack lines",
77
+ "at": "on"
78
+ },
79
+ "area": null,
80
+ "glyph": "line",
81
+ "speed": null,
82
+ "takes": [],
83
+ "holds": null,
84
+ "count": null
85
+ },
86
+ {
87
+ "kind": "equipment",
88
+ "at": {
89
+ "line": 23
90
+ },
91
+ "about": "equipment.sorter lane",
92
+ "name": "sorter lane",
93
+ "words": {
94
+ "one": "sorter lane",
95
+ "many": "sorter lanes",
96
+ "at": "on"
97
+ },
98
+ "area": null,
99
+ "glyph": "machine",
100
+ "speed": null,
101
+ "takes": [],
102
+ "holds": null,
103
+ "count": null
104
+ },
105
+ {
106
+ "kind": "downtime",
107
+ "at": {
108
+ "line": 24
109
+ },
110
+ "about": "equipment.sorter lane.downtime.lane change",
111
+ "name": "lane change",
112
+ "words": {
113
+ "one": "lane change",
114
+ "many": "lane changes",
115
+ "at": "on"
116
+ },
117
+ "on": "equipment.sorter lane",
118
+ "triggers": [
119
+ {
120
+ "when": "change",
121
+ "key": "temperature"
122
+ }
123
+ ],
124
+ "table": null,
125
+ "people": []
126
+ },
127
+ {
128
+ "kind": "role",
129
+ "at": {
130
+ "line": 34
131
+ },
132
+ "about": "roles.picker",
133
+ "name": "picker",
134
+ "words": {
135
+ "one": "picker",
136
+ "many": "pickers",
137
+ "at": "on"
138
+ },
139
+ "roster": "pickerRoster"
140
+ },
141
+ {
142
+ "kind": "role",
143
+ "at": {
144
+ "line": 35
145
+ },
146
+ "about": "roles.packer",
147
+ "name": "packer",
148
+ "words": {
149
+ "one": "packer",
150
+ "many": "packers",
151
+ "at": "on"
152
+ },
153
+ "roster": "packerRoster"
154
+ },
155
+ {
156
+ "kind": "role",
157
+ "at": {
158
+ "line": 36
159
+ },
160
+ "about": "roles.loader",
161
+ "name": "loader",
162
+ "words": {
163
+ "one": "loader",
164
+ "many": "loaders",
165
+ "at": "on"
166
+ },
167
+ "roster": "loaderRoster"
168
+ },
169
+ {
170
+ "kind": "process",
171
+ "at": {
172
+ "line": 38
173
+ },
174
+ "about": "processes.outbound",
175
+ "name": "outbound",
176
+ "words": {
177
+ "one": "outbound",
178
+ "many": "outbounds",
179
+ "at": "on"
180
+ },
181
+ "ready": null,
182
+ "due": null,
183
+ "deadline": null,
184
+ "leaves": null,
185
+ "release": null,
186
+ "where": null,
187
+ "makes": [],
188
+ "yields": [],
189
+ "consumes": [],
190
+ "scheduleOnly": false,
191
+ "batched": false
192
+ },
193
+ {
194
+ "kind": "step",
195
+ "at": {
196
+ "line": 40
197
+ },
198
+ "about": "processes.outbound.steps.pick",
199
+ "name": "pick",
200
+ "words": {
201
+ "one": "pick",
202
+ "many": "picks",
203
+ "at": "in"
204
+ },
205
+ "uses": [
206
+ {
207
+ "on": "equipment.pick zone",
208
+ "until": null,
209
+ "perRun": false,
210
+ "only": {
211
+ "because": "Pick only in a zone at the order's temperature",
212
+ "per": "job"
213
+ }
214
+ }
215
+ ],
216
+ "crew": [
217
+ {
218
+ "role": "roles.picker",
219
+ "n": {
220
+ "n": 1
221
+ }
222
+ }
223
+ ],
224
+ "after": [],
225
+ "waits": [],
226
+ "order": 1,
227
+ "tone": 0,
228
+ "collects": [],
229
+ "inPortions": false,
230
+ "perRun": false,
231
+ "startsDuring": null
232
+ },
233
+ {
234
+ "kind": "step",
235
+ "at": {
236
+ "line": 49
237
+ },
238
+ "about": "processes.outbound.steps.pack",
239
+ "name": "pack",
240
+ "words": {
241
+ "one": "pack",
242
+ "many": "packs",
243
+ "at": "on"
244
+ },
245
+ "uses": [
246
+ {
247
+ "on": "equipment.pack line",
248
+ "until": null,
249
+ "perRun": false,
250
+ "only": null
251
+ }
252
+ ],
253
+ "crew": [
254
+ {
255
+ "role": "roles.packer",
256
+ "n": {
257
+ "n": 1
258
+ }
259
+ }
260
+ ],
261
+ "after": [],
262
+ "waits": [],
263
+ "order": 2,
264
+ "tone": 1,
265
+ "collects": [],
266
+ "inPortions": false,
267
+ "perRun": false,
268
+ "startsDuring": null
269
+ },
270
+ {
271
+ "kind": "step",
272
+ "at": {
273
+ "line": 50
274
+ },
275
+ "about": "processes.outbound.steps.sort",
276
+ "name": "sort",
277
+ "words": {
278
+ "one": "sort",
279
+ "many": "sorts",
280
+ "at": "on"
281
+ },
282
+ "uses": [
283
+ {
284
+ "on": "equipment.sorter lane",
285
+ "until": null,
286
+ "perRun": false,
287
+ "only": null
288
+ }
289
+ ],
290
+ "crew": [],
291
+ "after": [],
292
+ "waits": [],
293
+ "order": 3,
294
+ "tone": 2,
295
+ "collects": [],
296
+ "inPortions": false,
297
+ "perRun": false,
298
+ "startsDuring": null
299
+ },
300
+ {
301
+ "kind": "process",
302
+ "at": {
303
+ "line": 52
304
+ },
305
+ "about": "processes.trailer",
306
+ "name": "trailer",
307
+ "words": {
308
+ "one": "trailer",
309
+ "many": "trailers",
310
+ "at": "on"
311
+ },
312
+ "ready": {
313
+ "key": "readyAt",
314
+ "called": "arrival",
315
+ "says": null,
316
+ "notEarlier": null
317
+ },
318
+ "due": null,
319
+ "deadline": null,
320
+ "leaves": null,
321
+ "release": null,
322
+ "where": null,
323
+ "makes": [],
324
+ "yields": [],
325
+ "consumes": [],
326
+ "scheduleOnly": false,
327
+ "batched": false
328
+ },
329
+ {
330
+ "kind": "step",
331
+ "at": {
332
+ "line": 54
333
+ },
334
+ "about": "processes.trailer.steps.load",
335
+ "name": "load",
336
+ "words": {
337
+ "one": "load",
338
+ "many": "loads",
339
+ "at": "at"
340
+ },
341
+ "uses": [
342
+ {
343
+ "on": "equipment.dock door",
344
+ "until": null,
345
+ "perRun": false,
346
+ "only": {
347
+ "because": "Load only at an outbound door",
348
+ "per": "piece"
349
+ }
350
+ }
351
+ ],
352
+ "crew": [
353
+ {
354
+ "role": "roles.loader",
355
+ "n": {
356
+ "n": 1
357
+ }
358
+ }
359
+ ],
360
+ "after": [],
361
+ "waits": [],
362
+ "order": 1,
363
+ "tone": 3,
364
+ "collects": [],
365
+ "inPortions": false,
366
+ "perRun": false,
367
+ "startsDuring": null
368
+ },
369
+ {
370
+ "kind": "process",
371
+ "at": {
372
+ "line": 68
373
+ },
374
+ "about": "processes.inbound trailer",
375
+ "name": "inbound trailer",
376
+ "words": {
377
+ "one": "inbound trailer",
378
+ "many": "inbound trailers",
379
+ "at": "on"
380
+ },
381
+ "ready": {
382
+ "key": "readyAt",
383
+ "called": "appointment start",
384
+ "says": null,
385
+ "notEarlier": null
386
+ },
387
+ "due": null,
388
+ "deadline": {
389
+ "key": "latestAt",
390
+ "called": "appointment end",
391
+ "says": null,
392
+ "notEarlier": null
393
+ },
394
+ "leaves": null,
395
+ "release": null,
396
+ "where": null,
397
+ "makes": [],
398
+ "yields": [],
399
+ "consumes": [],
400
+ "scheduleOnly": false,
401
+ "batched": false
402
+ },
403
+ {
404
+ "kind": "step",
405
+ "at": {
406
+ "line": 71
407
+ },
408
+ "about": "processes.inbound trailer.steps.unload",
409
+ "name": "unload",
410
+ "words": {
411
+ "one": "unload",
412
+ "many": "unloads",
413
+ "at": "at"
414
+ },
415
+ "uses": [
416
+ {
417
+ "on": "equipment.dock door",
418
+ "until": null,
419
+ "perRun": false,
420
+ "only": {
421
+ "because": "Unload only at an inbound door",
422
+ "per": "piece"
423
+ }
424
+ }
425
+ ],
426
+ "crew": [
427
+ {
428
+ "role": "roles.loader",
429
+ "n": {
430
+ "n": 1
431
+ }
432
+ }
433
+ ],
434
+ "after": [],
435
+ "waits": [],
436
+ "order": 1,
437
+ "tone": 4,
438
+ "collects": [],
439
+ "inPortions": false,
440
+ "perRun": false,
441
+ "startsDuring": null
442
+ },
443
+ {
444
+ "kind": "priority",
445
+ "at": {
446
+ "line": 84
447
+ },
448
+ "about": "priorities.Finish the work early",
449
+ "name": "Finish the work early",
450
+ "words": {
451
+ "one": "Finish the work early",
452
+ "many": "Finish the work early",
453
+ "at": "on"
454
+ },
455
+ "tier": "first",
456
+ "tolerance": null,
457
+ "level": null
458
+ }
459
+ ],
460
+ "lowers": {
461
+ "plan": null,
462
+ "schedule": {
463
+ "decisions": {
464
+ "outbound.pick": "processes.outbound.steps.pick",
465
+ "outbound.pack": "processes.outbound.steps.pack",
466
+ "outbound.sort": "processes.outbound.steps.sort",
467
+ "trailer.load": "processes.trailer.steps.load",
468
+ "inbound trailer.unload": "processes.inbound trailer.steps.unload",
469
+ "outbound.release": "processes.outbound",
470
+ "trailer.leave": "processes.trailer",
471
+ "trailer.load.dock door": "processes.trailer.steps.load",
472
+ "inbound trailer.leave": "processes.inbound trailer",
473
+ "inbound trailer.unload.dock door": "processes.inbound trailer.steps.unload"
474
+ },
475
+ "rules": {
476
+ "outbound.release": "processes.outbound",
477
+ "outbound.release.after": "processes.outbound",
478
+ "trailer.load.after": "processes.trailer.steps.load",
479
+ "trailer.leave": "processes.trailer",
480
+ "inbound trailer.leave": "processes.inbound trailer",
481
+ "sorter lane.lane change": "equipment.sorter lane.downtime.lane change",
482
+ "outbound.open": "hours",
483
+ "outbound.close": "hours",
484
+ "trailer.open": "hours",
485
+ "trailer.close": "hours",
486
+ "trailer.ready": "processes.trailer.ready",
487
+ "inbound trailer.open": "hours",
488
+ "inbound trailer.close": "hours",
489
+ "inbound trailer.ready": "processes.inbound trailer.ready",
490
+ "inbound trailer.deadline": "processes.inbound trailer.deadline",
491
+ "supply:picker": "roles.picker",
492
+ "supply:packer": "roles.packer",
493
+ "supply:loader": "roles.loader"
494
+ },
495
+ "goals": {
496
+ "Finish the work early": "priorities.Finish the work early"
497
+ },
498
+ "kpis": {},
499
+ "usages": {
500
+ "picker": "roles.picker",
501
+ "packer": "roles.packer",
502
+ "loader": "roles.loader"
503
+ },
504
+ "estimates": {},
505
+ "itemSets": {
506
+ "outbound": "processes.outbound",
507
+ "trailer": "processes.trailer",
508
+ "inbound trailer": "processes.inbound trailer",
509
+ "outbound.release.waves": "processes.outbound"
510
+ },
511
+ "levels": {
512
+ "1": "priorities.Finish the work early"
513
+ }
514
+ }
515
+ },
516
+ "confirmed": null
517
+ }