GloriaGeng commited on
Commit
fc909bb
·
verified ·
1 Parent(s): 364a9a2

Add clean JSSP dataset (J1–J4 JSON)

Browse files
Files changed (6) hide show
  1. .gitattributes +2 -0
  2. JSSP/J1.json +0 -0
  3. JSSP/J2.json +0 -0
  4. JSSP/J3.json +3 -0
  5. JSSP/J4.json +3 -0
  6. JSSP/README.md +76 -0
.gitattributes CHANGED
@@ -58,3 +58,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ JSSP/J3.json filter=lfs diff=lfs merge=lfs -text
62
+ JSSP/J4.json filter=lfs diff=lfs merge=lfs -text
JSSP/J1.json ADDED
The diff for this file is too large to render. See raw diff
 
JSSP/J2.json ADDED
The diff for this file is too large to render. See raw diff
 
JSSP/J3.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7d6bd30713a9bb43e2e61c6d98b577e9afcc3a17fd273dc76e234bff5e4f5b4
3
+ size 12624211
JSSP/J4.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b29b61892b81cf7d5729c26b79877d66c8f882c2ec0107b6c7ed601cd70f6b00
3
+ size 12637719
JSSP/README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # REALM-Bench JSSP (clean)
2
+
3
+ Four JSON files only — one per tier — with all instances in a **unified schema**.
4
+
5
+ ## Files
6
+
7
+ | File | Tier | Instances | Description |
8
+ |------|------|-----------|-------------|
9
+ | `J1.json` | J1 | 109 | Static benchmarks (DMU, TA, ABZ, SWV, YN) |
10
+ | `J2.json` | J2 | 109 | J1 + dynamic disruptions |
11
+ | `J3.json` | J3 | 100 | Large-scale static (200×50) |
12
+ | `J4.json` | J4 | 100 | Large-scale + disruptions |
13
+
14
+ ## Top-level structure (each file)
15
+
16
+ ```json
17
+ {
18
+ "tier": "J1",
19
+ "format_version": "1.0",
20
+ "description": "...",
21
+ "objective": "minimize_makespan",
22
+ "num_instances": 109,
23
+ "instances": [ ... ]
24
+ }
25
+ ```
26
+
27
+ ## Instance object (inside `instances`)
28
+
29
+ ```json
30
+ {
31
+ "instance_id": "rcmax_50_20_9",
32
+ "tier": "J1",
33
+ "num_jobs": 50,
34
+ "num_machines": 20,
35
+ "jobs": [
36
+ [
37
+ {"operation": 1, "machine": 19, "processing_time": 64},
38
+ {"operation": 2, "machine": 16, "processing_time": 34}
39
+ ]
40
+ ],
41
+ "disruptions": [],
42
+ "metadata": {
43
+ "source_file": "DMU/rcmax_50_20_9.txt",
44
+ "benchmark": "DMU",
45
+ "objective": "minimize_makespan",
46
+ "description": "JSSP Basic (Static)"
47
+ }
48
+ }
49
+ ```
50
+
51
+ - **machine** — 1-based machine ID
52
+ - **disruptions** — empty for J1/J3; events for J2/J4
53
+
54
+ ## Load in Python
55
+
56
+ ```python
57
+ import json
58
+
59
+ with open("datasets/clean/JSSP/J1.json") as f:
60
+ data = json.load(f)
61
+
62
+ for inst in data["instances"]:
63
+ print(inst["instance_id"], inst["num_jobs"], inst["num_machines"])
64
+ ```
65
+
66
+ ## Rebuild
67
+
68
+ ```bash
69
+ cd datasets && python3 build_jssp_dataset.py
70
+ ```
71
+
72
+ Writes only `clean/JSSP/J1.json` … `J4.json`. Re-copy this README after rebuild if needed.
73
+
74
+ ## Hugging Face
75
+
76
+ Upload `datasets/clean/JSSP/` to **GloriaGeng/REALM-Bench** on the Hugging Face Hub.