klamike commited on
Commit
c209ecd
·
verified ·
1 Parent(s): a809510

Add files using upload-large-folder tool

Browse files
.DS_Store ADDED
Binary file (6.15 kB). View file
 
PGLearn-Small-14_ieee.py ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from __future__ import annotations
2
+ from dataclasses import dataclass
3
+ from pathlib import Path
4
+ import json
5
+ import gzip
6
+
7
+ import datasets as hfd
8
+ import h5py
9
+ import pyarrow as pa
10
+
11
+ # ┌──────────────┐
12
+ # │ Metadata │
13
+ # └──────────────┘
14
+
15
+ @dataclass
16
+ class CaseSizes:
17
+ n_bus: int
18
+ n_load: int
19
+ n_gen: int
20
+ n_branch: int
21
+
22
+ CASENAME = "14_ieee"
23
+ SIZES = CaseSizes(n_bus=14, n_load=11, n_gen=5, n_branch=20)
24
+ NUM_TRAIN = 756205
25
+ NUM_TEST = 189052
26
+ NUM_INFEASIBLE = 54743
27
+
28
+ URL = "https://huggingface.co/datasets/PGLearn/PGLearn-Small-14_ieee"
29
+ DESCRIPTION = """\
30
+ The 14_ieee PGLearn optimal power flow dataset, part of the PGLearn-Small collection. \
31
+ """
32
+ VERSION = hfd.Version("1.0.0")
33
+ DEFAULT_CONFIG_DESCRIPTION="""\
34
+ This configuration contains feasible input, metadata, primal solution, and dual solution data \
35
+ for the ACOPF, DCOPF, and SOCOPF formulations on the {case} system.
36
+ """
37
+ USE_ML4OPF_WARNING = """
38
+ ================================================================================================
39
+ Loading PGLearn-Small-14_ieee through the `datasets.load_dataset` function may be slow.
40
+
41
+ Consider using ML4OPF to directly convert to `torch.Tensor`; for more info see:
42
+ https://github.com/AI4OPT/ML4OPF?tab=readme-ov-file#manually-loading-data
43
+
44
+ Or, use `huggingface_hub.snapshot_download` and an HDF5 reader; for more info see:
45
+ https://huggingface.co/datasets/PGLearn/PGLearn-Small-14_ieee#downloading-individual-files
46
+ ================================================================================================
47
+ """
48
+ CITATION = """\
49
+ @article{klamkinpglearn,
50
+ title={{PGLearn - An Open-Source Learning Toolkit for Optimal Power Flow}},
51
+ author={Klamkin, Michael and Tanneau, Mathieu and Van Hentenryck, Pascal},
52
+ year={2025},
53
+ }\
54
+ """
55
+
56
+ IS_COMPRESSED = True
57
+
58
+ # ┌──────────────────┐
59
+ # │ Formulations │
60
+ # └──────────────────┘
61
+
62
+ def acopf_features(sizes: CaseSizes, primal: bool, dual: bool, meta: bool):
63
+ features = {}
64
+ if primal: features.update(acopf_primal_features(sizes))
65
+ if dual: features.update(acopf_dual_features(sizes))
66
+ if meta: features.update({f"ACOPF/{k}": v for k, v in META_FEATURES.items()})
67
+ return features
68
+
69
+ def dcopf_features(sizes: CaseSizes, primal: bool, dual: bool, meta: bool):
70
+ features = {}
71
+ if primal: features.update(dcopf_primal_features(sizes))
72
+ if dual: features.update(dcopf_dual_features(sizes))
73
+ if meta: features.update({f"DCOPF/{k}": v for k, v in META_FEATURES.items()})
74
+ return features
75
+
76
+ def socopf_features(sizes: CaseSizes, primal: bool, dual: bool, meta: bool):
77
+ features = {}
78
+ if primal: features.update(socopf_primal_features(sizes))
79
+ if dual: features.update(socopf_dual_features(sizes))
80
+ if meta: features.update({f"SOCOPF/{k}": v for k, v in META_FEATURES.items()})
81
+ return features
82
+
83
+ FORMULATIONS_TO_FEATURES = {
84
+ "ACOPF": acopf_features,
85
+ "DCOPF": dcopf_features,
86
+ "SOCOPF": socopf_features,
87
+ }
88
+
89
+ # ┌───────────────────┐
90
+ # │ BuilderConfig │
91
+ # └───────────────────┘
92
+
93
+ class PGLearnSmall14_ieeeConfig(hfd.BuilderConfig):
94
+ """BuilderConfig for PGLearn-Small-14_ieee.
95
+ By default, primal solution data, metadata, input, casejson, are included for the train and test splits.
96
+
97
+ To modify the default configuration, pass attributes of this class to `datasets.load_dataset`:
98
+
99
+ Attributes:
100
+ formulations (list[str]): The formulation(s) to include, e.g. ["ACOPF", "DCOPF"]
101
+ primal (bool, optional): Include primal solution data. Defaults to True.
102
+ dual (bool, optional): Include dual solution data. Defaults to False.
103
+ meta (bool, optional): Include metadata. Defaults to True.
104
+ input (bool, optional): Include input data. Defaults to True.
105
+ casejson (bool, optional): Include case.json data. Defaults to True.
106
+ train (bool, optional): Include training samples. Defaults to True.
107
+ test (bool, optional): Include testing samples. Defaults to True.
108
+ infeasible (bool, optional): Include infeasible samples. Defaults to False.
109
+ """
110
+ def __init__(self,
111
+ formulations: list[str],
112
+ primal: bool=True, dual: bool=False, meta: bool=True, input: bool = True, casejson: bool=True,
113
+ train: bool=True, test: bool=True, infeasible: bool=False,
114
+ compressed: bool=IS_COMPRESSED, **kwargs
115
+ ):
116
+ super(PGLearnSmall14_ieeeConfig, self).__init__(version=VERSION, **kwargs)
117
+
118
+ self.case = CASENAME
119
+ self.formulations = formulations
120
+
121
+ self.primal = primal
122
+ self.dual = dual
123
+ self.meta = meta
124
+ self.input = input
125
+ self.casejson = casejson
126
+
127
+ self.train = train
128
+ self.test = test
129
+ self.infeasible = infeasible
130
+
131
+ self.gz_ext = ".gz" if compressed else ""
132
+
133
+ @property
134
+ def size(self):
135
+ return SIZES
136
+
137
+ @property
138
+ def features(self):
139
+ features = {}
140
+ if self.casejson: features.update(case_features())
141
+ if self.input: features.update(input_features(SIZES))
142
+ for formulation in self.formulations:
143
+ features.update(FORMULATIONS_TO_FEATURES[formulation](SIZES, self.primal, self.dual, self.meta))
144
+ return hfd.Features(features)
145
+
146
+ @property
147
+ def splits(self):
148
+ splits: dict[hfd.Split, dict[str, str | int]] = {}
149
+ if self.train:
150
+ splits[hfd.Split.TRAIN] = {
151
+ "name": "train",
152
+ "num_examples": NUM_TRAIN
153
+ }
154
+ if self.test:
155
+ splits[hfd.Split.TEST] = {
156
+ "name": "test",
157
+ "num_examples": NUM_TEST
158
+ }
159
+ if self.infeasible:
160
+ splits[hfd.Split("infeasible")] = {
161
+ "name": "infeasible",
162
+ "num_examples": NUM_INFEASIBLE
163
+ }
164
+ return splits
165
+
166
+ @property
167
+ def urls(self):
168
+ urls: dict[str, None | str | list] = {
169
+ "case": None, "train": [], "test": [], "infeasible": [],
170
+ }
171
+
172
+ if self.casejson: urls["case"] = f"case.json" + self.gz_ext
173
+
174
+ split_names = []
175
+ if self.train: split_names.append("train")
176
+ if self.test: split_names.append("test")
177
+ if self.infeasible: split_names.append("infeasible")
178
+
179
+ for split in split_names:
180
+ if self.input: urls[split].append(f"{split}/input.h5" + self.gz_ext)
181
+ for formulation in self.formulations:
182
+ if self.primal: urls[split].append(f"{split}/{formulation}/primal.h5" + self.gz_ext)
183
+ if self.dual: urls[split].append(f"{split}/{formulation}/dual.h5" + self.gz_ext)
184
+ if self.meta: urls[split].append(f"{split}/{formulation}/meta.h5" + self.gz_ext)
185
+ return urls
186
+
187
+ # ┌────────────────────┐
188
+ # │ DatasetBuilder │
189
+ # └────────────────────┘
190
+
191
+ class PGLearnSmall14_ieee(hfd.ArrowBasedBuilder):
192
+ """DatasetBuilder for PGLearn-Small-14_ieee.
193
+ The main interface is `datasets.load_dataset` with `trust_remote_code=True`, e.g.
194
+
195
+ ```python
196
+ from datasets import load_dataset
197
+ ds = load_dataset("PGLearn/PGLearn-Small-14_ieee", trust_remote_code=True,
198
+ # modify the default configuration by passing kwargs
199
+ formulations=["DCOPF"],
200
+ dual=False,
201
+ meta=False,
202
+ )
203
+ ```
204
+ """
205
+
206
+ DEFAULT_WRITER_BATCH_SIZE = 10000
207
+ BUILDER_CONFIG_CLASS = PGLearnSmall14_ieeeConfig
208
+ DEFAULT_CONFIG_NAME=CASENAME
209
+ BUILDER_CONFIGS = [
210
+ PGLearnSmall14_ieeeConfig(
211
+ name=CASENAME, description=DEFAULT_CONFIG_DESCRIPTION.format(case=CASENAME),
212
+ formulations=list(FORMULATIONS_TO_FEATURES.keys()),
213
+ primal=True, dual=True, meta=True, input=True, casejson=True,
214
+ train=True, test=True, infeasible=False,
215
+ )
216
+ ]
217
+
218
+ def _info(self):
219
+ return hfd.DatasetInfo(
220
+ features=self.config.features, splits=self.config.splits,
221
+ description=DESCRIPTION + self.config.description,
222
+ homepage=URL, citation=CITATION,
223
+ )
224
+
225
+ def _split_generators(self, dl_manager: hfd.DownloadManager):
226
+ hfd.logging.get_logger().warning(USE_ML4OPF_WARNING)
227
+
228
+ filepaths = dl_manager.download_and_extract(self.config.urls)
229
+
230
+ splits: list[hfd.SplitGenerator] = []
231
+ if self.config.train:
232
+ splits.append(hfd.SplitGenerator(
233
+ name=hfd.Split.TRAIN,
234
+ gen_kwargs=dict(case_file=filepaths["case"], data_files=tuple(filepaths["train"]), n_samples=NUM_TRAIN),
235
+ ))
236
+ if self.config.test:
237
+ splits.append(hfd.SplitGenerator(
238
+ name=hfd.Split.TEST,
239
+ gen_kwargs=dict(case_file=filepaths["case"], data_files=tuple(filepaths["test"]), n_samples=NUM_TEST),
240
+ ))
241
+ if self.config.infeasible:
242
+ splits.append(hfd.SplitGenerator(
243
+ name=hfd.Split("infeasible"),
244
+ gen_kwargs=dict(case_file=filepaths["case"], data_files=tuple(filepaths["infeasible"]), n_samples=NUM_INFEASIBLE),
245
+ ))
246
+ return splits
247
+
248
+ def _generate_tables(self, case_file: str | None, data_files: tuple[hfd.utils.track.tracked_str], n_samples: int):
249
+ case_data: str | None = json.dumps(json.load(open_maybe_gzip(case_file))) if case_file is not None else None
250
+
251
+ opened_files = [open_maybe_gzip(file) for file in data_files]
252
+ data = {'/'.join(Path(df.get_origin()).parts[-2:]).split('.')[0]: h5py.File(of) for of, df in zip(opened_files, data_files)}
253
+ for k in list(data.keys()):
254
+ if "/input" in k: data[k.split("/", 1)[1]] = data.pop(k)
255
+
256
+ batch_size = self._writer_batch_size or self.DEFAULT_WRITER_BATCH_SIZE
257
+ for i in range(0, n_samples, batch_size):
258
+ effective_batch_size = min(batch_size, n_samples - i)
259
+
260
+ sample_data = {
261
+ f"{dk}/{k}":
262
+ hfd.features.features.numpy_to_pyarrow_listarray(v[i:i + effective_batch_size, ...])
263
+ for dk, d in data.items() for k, v in d.items() if f"{dk}/{k}" in self.config.features
264
+ }
265
+
266
+ if case_data is not None:
267
+ sample_data["case/json"] = pa.array([case_data] * effective_batch_size)
268
+
269
+ yield i, pa.Table.from_pydict(sample_data)
270
+
271
+ for f in opened_files:
272
+ f.close()
273
+
274
+ # ┌──────────────┐
275
+ # │ Features │
276
+ # └──────────────┘
277
+
278
+ FLOAT_TYPE = "float32"
279
+ INT_TYPE = "int64"
280
+ BOOL_TYPE = "bool"
281
+ STRING_TYPE = "string"
282
+
283
+ def case_features():
284
+ # FIXME: better way to share schema of case data -- need to treat jagged arrays
285
+ return {
286
+ "case/json": hfd.Value(STRING_TYPE),
287
+ }
288
+
289
+ META_FEATURES = {
290
+ "meta/seed": hfd.Value(dtype=INT_TYPE),
291
+ "meta/formulation": hfd.Value(dtype=STRING_TYPE),
292
+ "meta/primal_objective_value": hfd.Value(dtype=FLOAT_TYPE),
293
+ "meta/dual_objective_value": hfd.Value(dtype=FLOAT_TYPE),
294
+ "meta/primal_status": hfd.Value(dtype=STRING_TYPE),
295
+ "meta/dual_status": hfd.Value(dtype=STRING_TYPE),
296
+ "meta/termination_status": hfd.Value(dtype=STRING_TYPE),
297
+ "meta/build_time": hfd.Value(dtype=FLOAT_TYPE),
298
+ "meta/extract_time": hfd.Value(dtype=FLOAT_TYPE),
299
+ "meta/solve_time": hfd.Value(dtype=FLOAT_TYPE),
300
+ }
301
+
302
+ def input_features(sizes: CaseSizes):
303
+ return {
304
+ "input/pd": hfd.Sequence(length=sizes.n_load, feature=hfd.Value(dtype=FLOAT_TYPE)),
305
+ "input/qd": hfd.Sequence(length=sizes.n_load, feature=hfd.Value(dtype=FLOAT_TYPE)),
306
+ "input/gen_status": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=BOOL_TYPE)),
307
+ "input/branch_status": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=BOOL_TYPE)),
308
+ "input/seed": hfd.Value(dtype=INT_TYPE),
309
+ }
310
+
311
+ def acopf_primal_features(sizes: CaseSizes):
312
+ return {
313
+ "ACOPF/primal/vm": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
314
+ "ACOPF/primal/va": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
315
+ "ACOPF/primal/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
316
+ "ACOPF/primal/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
317
+ "ACOPF/primal/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
318
+ "ACOPF/primal/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
319
+ "ACOPF/primal/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
320
+ "ACOPF/primal/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
321
+ }
322
+ def acopf_dual_features(sizes: CaseSizes):
323
+ return {
324
+ "ACOPF/dual/kcl_p": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
325
+ "ACOPF/dual/kcl_q": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
326
+ "ACOPF/dual/vm": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
327
+ "ACOPF/dual/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
328
+ "ACOPF/dual/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
329
+ "ACOPF/dual/ohm_pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
330
+ "ACOPF/dual/ohm_pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
331
+ "ACOPF/dual/ohm_qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
332
+ "ACOPF/dual/ohm_qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
333
+ "ACOPF/dual/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
334
+ "ACOPF/dual/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
335
+ "ACOPF/dual/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
336
+ "ACOPF/dual/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
337
+ "ACOPF/dual/va_diff": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
338
+ "ACOPF/dual/sm_fr": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
339
+ "ACOPF/dual/sm_to": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
340
+ "ACOPF/dual/slack_bus": hfd.Value(dtype=FLOAT_TYPE),
341
+ }
342
+ def dcopf_primal_features(sizes: CaseSizes):
343
+ return {
344
+ "DCOPF/primal/va": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
345
+ "DCOPF/primal/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
346
+ "DCOPF/primal/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
347
+ }
348
+ def dcopf_dual_features(sizes: CaseSizes):
349
+ return {
350
+ "DCOPF/dual/kcl_p": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
351
+ "DCOPF/dual/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
352
+ "DCOPF/dual/ohm_pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
353
+ "DCOPF/dual/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
354
+ "DCOPF/dual/va_diff": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
355
+ "DCOPF/dual/slack_bus": hfd.Value(dtype=FLOAT_TYPE),
356
+ }
357
+ def socopf_primal_features(sizes: CaseSizes):
358
+ return {
359
+ "SOCOPF/primal/w": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
360
+ "SOCOPF/primal/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
361
+ "SOCOPF/primal/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
362
+ "SOCOPF/primal/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
363
+ "SOCOPF/primal/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
364
+ "SOCOPF/primal/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
365
+ "SOCOPF/primal/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
366
+ "SOCOPF/primal/wr": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
367
+ "SOCOPF/primal/wi": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
368
+ }
369
+ def socopf_dual_features(sizes: CaseSizes):
370
+ return {
371
+ "SOCOPF/dual/kcl_p": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
372
+ "SOCOPF/dual/kcl_q": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
373
+ "SOCOPF/dual/w": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)),
374
+ "SOCOPF/dual/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
375
+ "SOCOPF/dual/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)),
376
+ "SOCOPF/dual/ohm_pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
377
+ "SOCOPF/dual/ohm_pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
378
+ "SOCOPF/dual/ohm_qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
379
+ "SOCOPF/dual/ohm_qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
380
+ "SOCOPF/dual/jabr": hfd.Array2D(shape=(sizes.n_branch, 4), dtype=FLOAT_TYPE),
381
+ "SOCOPF/dual/sm_fr": hfd.Array2D(shape=(sizes.n_branch, 3), dtype=FLOAT_TYPE),
382
+ "SOCOPF/dual/sm_to": hfd.Array2D(shape=(sizes.n_branch, 3), dtype=FLOAT_TYPE),
383
+ "SOCOPF/dual/va_diff": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
384
+ "SOCOPF/dual/wr": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
385
+ "SOCOPF/dual/wi": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
386
+ "SOCOPF/dual/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
387
+ "SOCOPF/dual/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
388
+ "SOCOPF/dual/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
389
+ "SOCOPF/dual/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)),
390
+ }
391
+
392
+ # ┌───────────────┐
393
+ # │ Utilities │
394
+ # └───────────────┘
395
+
396
+ def open_maybe_gzip(path):
397
+ return gzip.open(path, "rb") if path.endswith(".gz") else open(path, "rb")
README.md ADDED
@@ -0,0 +1,297 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-sa-4.0
3
+ tags:
4
+ - energy
5
+ - optimization
6
+ - optimal_power_flow
7
+ - power_grid
8
+ pretty_name: PGLearn Optimal Power Flow (small)
9
+ size_categories:
10
+ - 1M<n<10M
11
+ task_categories:
12
+ - tabular-regression
13
+ dataset_info:
14
+ config_name: 14_ieee
15
+ features:
16
+ - name: case/json
17
+ dtype: string
18
+ - name: input/pd
19
+ sequence: float32
20
+ length: 11
21
+ - name: input/qd
22
+ sequence: float32
23
+ length: 11
24
+ - name: input/gen_status
25
+ sequence: bool
26
+ length: 5
27
+ - name: input/branch_status
28
+ sequence: bool
29
+ length: 20
30
+ - name: input/seed
31
+ dtype: int64
32
+ - name: ACOPF/primal/vm
33
+ sequence: float32
34
+ length: 14
35
+ - name: ACOPF/primal/va
36
+ sequence: float32
37
+ length: 14
38
+ - name: ACOPF/primal/pg
39
+ sequence: float32
40
+ length: 5
41
+ - name: ACOPF/primal/qg
42
+ sequence: float32
43
+ length: 5
44
+ - name: ACOPF/primal/pf
45
+ sequence: float32
46
+ length: 20
47
+ - name: ACOPF/primal/pt
48
+ sequence: float32
49
+ length: 20
50
+ - name: ACOPF/primal/qf
51
+ sequence: float32
52
+ length: 20
53
+ - name: ACOPF/primal/qt
54
+ sequence: float32
55
+ length: 20
56
+ - name: ACOPF/dual/kcl_p
57
+ sequence: float32
58
+ length: 14
59
+ - name: ACOPF/dual/kcl_q
60
+ sequence: float32
61
+ length: 14
62
+ - name: ACOPF/dual/vm
63
+ sequence: float32
64
+ length: 14
65
+ - name: ACOPF/dual/pg
66
+ sequence: float32
67
+ length: 5
68
+ - name: ACOPF/dual/qg
69
+ sequence: float32
70
+ length: 5
71
+ - name: ACOPF/dual/ohm_pf
72
+ sequence: float32
73
+ length: 20
74
+ - name: ACOPF/dual/ohm_pt
75
+ sequence: float32
76
+ length: 20
77
+ - name: ACOPF/dual/ohm_qf
78
+ sequence: float32
79
+ length: 20
80
+ - name: ACOPF/dual/ohm_qt
81
+ sequence: float32
82
+ length: 20
83
+ - name: ACOPF/dual/pf
84
+ sequence: float32
85
+ length: 20
86
+ - name: ACOPF/dual/pt
87
+ sequence: float32
88
+ length: 20
89
+ - name: ACOPF/dual/qf
90
+ sequence: float32
91
+ length: 20
92
+ - name: ACOPF/dual/qt
93
+ sequence: float32
94
+ length: 20
95
+ - name: ACOPF/dual/va_diff
96
+ sequence: float32
97
+ length: 20
98
+ - name: ACOPF/dual/sm_fr
99
+ sequence: float32
100
+ length: 20
101
+ - name: ACOPF/dual/sm_to
102
+ sequence: float32
103
+ length: 20
104
+ - name: ACOPF/dual/slack_bus
105
+ dtype: float32
106
+ - name: ACOPF/meta/seed
107
+ dtype: int64
108
+ - name: ACOPF/meta/formulation
109
+ dtype: string
110
+ - name: ACOPF/meta/primal_objective_value
111
+ dtype: float32
112
+ - name: ACOPF/meta/dual_objective_value
113
+ dtype: float32
114
+ - name: ACOPF/meta/primal_status
115
+ dtype: string
116
+ - name: ACOPF/meta/dual_status
117
+ dtype: string
118
+ - name: ACOPF/meta/termination_status
119
+ dtype: string
120
+ - name: ACOPF/meta/build_time
121
+ dtype: float32
122
+ - name: ACOPF/meta/extract_time
123
+ dtype: float32
124
+ - name: ACOPF/meta/solve_time
125
+ dtype: float32
126
+ - name: DCOPF/primal/va
127
+ sequence: float32
128
+ length: 14
129
+ - name: DCOPF/primal/pg
130
+ sequence: float32
131
+ length: 5
132
+ - name: DCOPF/primal/pf
133
+ sequence: float32
134
+ length: 20
135
+ - name: DCOPF/dual/kcl_p
136
+ sequence: float32
137
+ length: 14
138
+ - name: DCOPF/dual/pg
139
+ sequence: float32
140
+ length: 5
141
+ - name: DCOPF/dual/ohm_pf
142
+ sequence: float32
143
+ length: 20
144
+ - name: DCOPF/dual/pf
145
+ sequence: float32
146
+ length: 20
147
+ - name: DCOPF/dual/va_diff
148
+ sequence: float32
149
+ length: 20
150
+ - name: DCOPF/dual/slack_bus
151
+ dtype: float32
152
+ - name: DCOPF/meta/seed
153
+ dtype: int64
154
+ - name: DCOPF/meta/formulation
155
+ dtype: string
156
+ - name: DCOPF/meta/primal_objective_value
157
+ dtype: float32
158
+ - name: DCOPF/meta/dual_objective_value
159
+ dtype: float32
160
+ - name: DCOPF/meta/primal_status
161
+ dtype: string
162
+ - name: DCOPF/meta/dual_status
163
+ dtype: string
164
+ - name: DCOPF/meta/termination_status
165
+ dtype: string
166
+ - name: DCOPF/meta/build_time
167
+ dtype: float32
168
+ - name: DCOPF/meta/extract_time
169
+ dtype: float32
170
+ - name: DCOPF/meta/solve_time
171
+ dtype: float32
172
+ - name: SOCOPF/primal/w
173
+ sequence: float32
174
+ length: 14
175
+ - name: SOCOPF/primal/pg
176
+ sequence: float32
177
+ length: 5
178
+ - name: SOCOPF/primal/qg
179
+ sequence: float32
180
+ length: 5
181
+ - name: SOCOPF/primal/pf
182
+ sequence: float32
183
+ length: 20
184
+ - name: SOCOPF/primal/pt
185
+ sequence: float32
186
+ length: 20
187
+ - name: SOCOPF/primal/qf
188
+ sequence: float32
189
+ length: 20
190
+ - name: SOCOPF/primal/qt
191
+ sequence: float32
192
+ length: 20
193
+ - name: SOCOPF/primal/wr
194
+ sequence: float32
195
+ length: 20
196
+ - name: SOCOPF/primal/wi
197
+ sequence: float32
198
+ length: 20
199
+ - name: SOCOPF/dual/kcl_p
200
+ sequence: float32
201
+ length: 14
202
+ - name: SOCOPF/dual/kcl_q
203
+ sequence: float32
204
+ length: 14
205
+ - name: SOCOPF/dual/w
206
+ sequence: float32
207
+ length: 14
208
+ - name: SOCOPF/dual/pg
209
+ sequence: float32
210
+ length: 5
211
+ - name: SOCOPF/dual/qg
212
+ sequence: float32
213
+ length: 5
214
+ - name: SOCOPF/dual/ohm_pf
215
+ sequence: float32
216
+ length: 20
217
+ - name: SOCOPF/dual/ohm_pt
218
+ sequence: float32
219
+ length: 20
220
+ - name: SOCOPF/dual/ohm_qf
221
+ sequence: float32
222
+ length: 20
223
+ - name: SOCOPF/dual/ohm_qt
224
+ sequence: float32
225
+ length: 20
226
+ - name: SOCOPF/dual/jabr
227
+ dtype:
228
+ array2_d:
229
+ shape:
230
+ - 20
231
+ - 4
232
+ dtype: float32
233
+ - name: SOCOPF/dual/sm_fr
234
+ dtype:
235
+ array2_d:
236
+ shape:
237
+ - 20
238
+ - 3
239
+ dtype: float32
240
+ - name: SOCOPF/dual/sm_to
241
+ dtype:
242
+ array2_d:
243
+ shape:
244
+ - 20
245
+ - 3
246
+ dtype: float32
247
+ - name: SOCOPF/dual/va_diff
248
+ sequence: float32
249
+ length: 20
250
+ - name: SOCOPF/dual/wr
251
+ sequence: float32
252
+ length: 20
253
+ - name: SOCOPF/dual/wi
254
+ sequence: float32
255
+ length: 20
256
+ - name: SOCOPF/dual/pf
257
+ sequence: float32
258
+ length: 20
259
+ - name: SOCOPF/dual/pt
260
+ sequence: float32
261
+ length: 20
262
+ - name: SOCOPF/dual/qf
263
+ sequence: float32
264
+ length: 20
265
+ - name: SOCOPF/dual/qt
266
+ sequence: float32
267
+ length: 20
268
+ - name: SOCOPF/meta/seed
269
+ dtype: int64
270
+ - name: SOCOPF/meta/formulation
271
+ dtype: string
272
+ - name: SOCOPF/meta/primal_objective_value
273
+ dtype: float32
274
+ - name: SOCOPF/meta/dual_objective_value
275
+ dtype: float32
276
+ - name: SOCOPF/meta/primal_status
277
+ dtype: string
278
+ - name: SOCOPF/meta/dual_status
279
+ dtype: string
280
+ - name: SOCOPF/meta/termination_status
281
+ dtype: string
282
+ - name: SOCOPF/meta/build_time
283
+ dtype: float32
284
+ - name: SOCOPF/meta/extract_time
285
+ dtype: float32
286
+ - name: SOCOPF/meta/solve_time
287
+ dtype: float32
288
+ splits:
289
+ - name: train
290
+ num_bytes: 29023242427
291
+ num_examples: 756205
292
+ - name: test
293
+ num_bytes: 7255839392
294
+ num_examples: 189052
295
+ download_size: 3553756616
296
+ dataset_size: 36279081819
297
+ ---
case.json.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c852a1353831068627e41c9f739cc85e3f0096d5df84e26b7a18e787ac2c544
3
+ size 12792
config.toml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Name of the reference PGLib case. Must be a valid PGLib case name.
2
+ pglib_case = "pglib_opf_case14_ieee"
3
+ floating_point_type = "Float32"
4
+
5
+ [sampler]
6
+ # data sampler options
7
+ [sampler.load]
8
+ noise_type = "ScaledUniform"
9
+ l = 0.80 # Lower bound of base load factor
10
+ u = 1.20 # Upper bound of base load factor
11
+ sigma = 0.20 # Relative (multiplicative) noise level.
12
+
13
+ [OPF]
14
+
15
+ [OPF.ACOPF]
16
+ type = "ACOPF"
17
+ solver.name = "Ipopt"
18
+ solver.attributes.tol = 1e-6
19
+ solver.attributes.linear_solver = "ma27"
20
+
21
+ [OPF.DCOPF]
22
+ # Formulation/solver options
23
+ type = "DCOPF"
24
+ solver.name = "HiGHS"
25
+
26
+ [OPF.SOCOPF]
27
+ type = "SOCOPF"
28
+ solver.name = "Clarabel"
29
+ # Tight tolerances
30
+ solver.attributes.tol_gap_abs = 1e-6
31
+ solver.attributes.tol_gap_rel = 1e-6
32
+ solver.attributes.tol_feas = 1e-6
33
+ solver.attributes.tol_infeas_rel = 1e-6
34
+ solver.attributes.tol_ktratio = 1e-6
35
+ # Reduced accuracy settings
36
+ solver.attributes.reduced_tol_gap_abs = 1e-6
37
+ solver.attributes.reduced_tol_gap_rel = 1e-6
38
+ solver.attributes.reduced_tol_feas = 1e-6
39
+ solver.attributes.reduced_tol_infeas_abs = 1e-6
40
+ solver.attributes.reduced_tol_infeas_rel = 1e-6
41
+ solver.attributes.reduced_tol_ktratio = 1e-6
infeasible/ACOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96e8e9255a9af14a154006c506882c12be726e1816f8fc430ea7131235de8bd0
3
+ size 48849372
infeasible/ACOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02a78522f852c0544e38a42e427cc6f37468c26718e36e3515fc1f15558a8e2a
3
+ size 1888429
infeasible/ACOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5325e32f4862c516712b8d5069bbfc939e0b460865f6ad4478398259cb0d7e60
3
+ size 20668244
infeasible/DCOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:132c166a60e93078be01abe36074b364177528e200344493c1aab2013e06f9fd
3
+ size 43124
infeasible/DCOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:501f21a7cf263213f96fd508bc5d3f50344d24e8d28ae44166f9dc876fe9475b
3
+ size 1759464
infeasible/DCOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca2b2f53815c1dad3512669ca3c1b1c5deec60dda1c0a01ad5ebfc6540f0037c
3
+ size 6356094
infeasible/SOCOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9beb27daa472c0ae819c3cde99be287945b6ea99647bd9a0563dcf0716369660
3
+ size 94897831
infeasible/SOCOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:16b3cb427fa7ad3ec6e22877b24ec4b2fc2f695b5c19848ba125bf0d08b75b8a
3
+ size 1690920
infeasible/SOCOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea17ceab59f52e8af3e0cd9e1358a1a4cfd1c5524aeca7314236f9cbee61058f
3
+ size 1682169
infeasible/input.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:56c7ccb2373e45c4377ffda51fc5647a3cd1d16de2ab724f87313db95dda016d
3
+ size 4434384
test/ACOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0ced7a82729b46d331b2324ccba8731d84114b63c4974cfb189ade71c0031854
3
+ size 169057861
test/ACOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78c1559c1dbc44eef619378b924e7d33809e3e119305c418d3b6930fe5625a5c
3
+ size 6214431
test/ACOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c710b9ed2b71c7563cc5f87883214be32de85b76483543aa04b3aa4b0c8b344
3
+ size 74195344
test/DCOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f80971cdc4e6313e73b516023c3b6e85b01083469fff5b2d2e776bb7d9b47c35
3
+ size 110194
test/DCOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82366a4e049e51143d515e0d70a8da817cdd9161ad75914e242cd0c0d9adc4c6
3
+ size 6117378
test/DCOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8d4e9103da4e51eb67736c657e34d012544e3273af85baabd046c5370a04424
3
+ size 22150193
test/SOCOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a39071b5df5e801a6352c71c88996f1627816552f738a1f6df50f17084a0bd64
3
+ size 316037971
test/SOCOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c5ce47799b4e609c39fcab8fab105209cd3ec308fb4e425e148505060feb7a3
3
+ size 6439581
test/SOCOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f7a5e75b700e16eed8e6c5e24684d1fc2e151c858568ee5d18564214d3eb762
3
+ size 95194349
test/input.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc760d577f91d2eb08fc571e35a3130540960031c9135a33a8167eafda96987
3
+ size 15330876
train/ACOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c68f81bca8401df99a0b2d4e940461d01ab7e452aac33ad965c732e4054ed69d
3
+ size 676175625
train/ACOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d55ad23afcf38de87b3fa5d09b5500ab3eabf90da56723373983ad2c6e44c116
3
+ size 24765226
train/ACOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28b08495862dfc2992101e7f68aebae0771e318764223217f554cc19884c97f8
3
+ size 296751502
train/DCOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fab829364609d5a01f036b2e842e30c4177b5aaac11cc85b2b46ffa03464fb9b
3
+ size 405490
train/DCOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3dd34c717b372444152a58964b7c16034eeeac28f98af7bc1240c976e0acfe9c
3
+ size 24336858
train/DCOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3d621c160b6b05bfb7bae2e5e5a5f398235d76b142c3b488f01b04e81bfe6377
3
+ size 88593303
train/SOCOPF/dual.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1ab71ede55ea56e2bc8d329dff422b70690f259ee20a08f897171a79dec9158
3
+ size 1264147963
train/SOCOPF/meta.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a75bd4313b742ebfb53c23767715b2428b67818463e2195ca1c993c2a8fa1cdb
3
+ size 25663292
train/SOCOPF/primal.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8b537bbf0a967b46768188418713d700ac24917d4a4a24a51c684bcf6ffb4fe
3
+ size 380760691
train/input.h5.gz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e65d49e86a68355cd0ed44c5402a27f59aa5e609702a35787cbb9dbaddd127b
3
+ size 61295696