diff --git a/300_ieee/test-00229-of-00268.parquet b/300_ieee/test-00229-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..900579dc4fa2501c594f16ed8217df82bfa676dd --- /dev/null +++ b/300_ieee/test-00229-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e2a6a6c423abdcfe9559c40aee0ecc39a73410b3f9891f0f4ccd15c76f65472e +size 85827308 diff --git a/300_ieee/test-00230-of-00268.parquet b/300_ieee/test-00230-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b6456b5eeb10fd0f437f7c673e861a6a1640b7e4 --- /dev/null +++ b/300_ieee/test-00230-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08e71d39931f5ab5cf7b3e2c54cb74ded858bb2b1b7a76f7e791c79e1eda5d05 +size 85801123 diff --git a/300_ieee/test-00231-of-00268.parquet b/300_ieee/test-00231-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b474f68fdd4d479c57f04619127540debbfda93e --- /dev/null +++ b/300_ieee/test-00231-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffc6bfd2627f147b0f2357bfa73912ec92fc411390ea8e82644ac351ca5396e3 +size 85697427 diff --git a/300_ieee/test-00232-of-00268.parquet b/300_ieee/test-00232-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..8bceb2f90da8a668970d1d5787287812aac9ac02 --- /dev/null +++ b/300_ieee/test-00232-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f0a5857d4e7d481d6a5f76bf2506a1117d28b40b334d89f23c771c021a78e22 +size 85795958 diff --git a/300_ieee/test-00233-of-00268.parquet b/300_ieee/test-00233-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..6c2b9d12ac359fe1b8bf323104bc799aaed40339 --- /dev/null +++ b/300_ieee/test-00233-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a5b385583b5f4b0281549d8b103af3987874884c2a0ded6a9455246c1e712d2 +size 85714173 diff --git a/300_ieee/test-00234-of-00268.parquet b/300_ieee/test-00234-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..a644f30255b20e005820141f73b17d1126f15524 --- /dev/null +++ b/300_ieee/test-00234-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d48044ef25d140a1c17d08c9175cac239cf7f4c2f393db4e0853894e2f9bf3a3 +size 85790223 diff --git a/300_ieee/test-00235-of-00268.parquet b/300_ieee/test-00235-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b88b27f06b9d24f5ebaf92a8ab9db342253bacb1 --- /dev/null +++ b/300_ieee/test-00235-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:63eaaf452af6fe71324ccd680e56f3a0c356e532a31166d8e379e9b78f8a69cd +size 85809830 diff --git a/300_ieee/test-00236-of-00268.parquet b/300_ieee/test-00236-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..c2bf6b5d710b43b9780f1f4f879189071c259edf --- /dev/null +++ b/300_ieee/test-00236-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e26d1f11a221d350b5cbdd62ea9437138f0e03eb3f299e7ba642d569ef6075fb +size 85903448 diff --git a/300_ieee/test-00237-of-00268.parquet b/300_ieee/test-00237-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..339e96ccb67e61be87af2174836718ec9209c96c --- /dev/null +++ b/300_ieee/test-00237-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:926a8d5bf0a47fb522b9f6ff59df4a162d1019b05fad4b5ab81f94171b1a3033 +size 85770444 diff --git a/300_ieee/test-00238-of-00268.parquet b/300_ieee/test-00238-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..af0ecf154ad8b6ea02c519c4fa415b8fa1145ef5 --- /dev/null +++ b/300_ieee/test-00238-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f28c4520e3e2896e9b4fadb678e2710bc821845c6ace611f8f40cf969872a8a8 +size 85859818 diff --git a/300_ieee/test-00239-of-00268.parquet b/300_ieee/test-00239-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..7553c4cd4a1259ff79a84998613cce3c1b962321 --- /dev/null +++ b/300_ieee/test-00239-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18569b26a745e2c62e89177528fc4a913c0077514d3f30ba213dcb55443ddb02 +size 85815408 diff --git a/300_ieee/test-00240-of-00268.parquet b/300_ieee/test-00240-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..1ff13f9a6f0318d0dac8f77cf622d09c0fa56396 --- /dev/null +++ b/300_ieee/test-00240-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:54c4728f6a5c273152c58d4424d855b08284a8664400bc03010f5ed74d004de4 +size 85775216 diff --git a/300_ieee/test-00241-of-00268.parquet b/300_ieee/test-00241-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..4cb6ab9773c814032a6560947a0d9a9d9f95c702 --- /dev/null +++ b/300_ieee/test-00241-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77596a9d44e715b9b30a9db68756534d7a9e403f476e534420bf85e3e5185aff +size 85750072 diff --git a/300_ieee/test-00242-of-00268.parquet b/300_ieee/test-00242-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..e0c68c53ba88e51200271e9c63c9d3cf430501b8 --- /dev/null +++ b/300_ieee/test-00242-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff79ccb528c7e6be0ac27febb45e5ed37c591d0113e06445865a15b3415f2cdf +size 85760735 diff --git a/300_ieee/test-00243-of-00268.parquet b/300_ieee/test-00243-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..a63acbaf8fe77c33b4436c6ac88853d1af737d97 --- /dev/null +++ b/300_ieee/test-00243-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7f07d5caf428b978a7599baf3c4615a570e539c3ddf64f5ff5645583308fa5b +size 85784083 diff --git a/300_ieee/test-00244-of-00268.parquet b/300_ieee/test-00244-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..cfcc9de524279a5b3cf6d9f70aa38fab18dcef00 --- /dev/null +++ b/300_ieee/test-00244-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6c8b7aa6ef3fe8f066a5d57f69911a119db7b0dd842e6eb55878f56cf6f7a17 +size 85799772 diff --git a/300_ieee/test-00245-of-00268.parquet b/300_ieee/test-00245-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..dd2a21215434b72421f3b1d8ed4bb3bb810907e0 --- /dev/null +++ b/300_ieee/test-00245-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d681bc7beb46e094132e68a7377fa56a6502e90fce62e510bda5acbd720541a +size 85717763 diff --git a/300_ieee/test-00246-of-00268.parquet b/300_ieee/test-00246-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..e0aee78aef599be84f3b5f0c81c80151c9b22d3a --- /dev/null +++ b/300_ieee/test-00246-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:026e9c870303708b47f933da07be09db9e3175fc581dd77490ee468f021d93bd +size 85759267 diff --git a/300_ieee/test-00247-of-00268.parquet b/300_ieee/test-00247-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..965628af54866aab8872faad4dd52f036032be4e --- /dev/null +++ b/300_ieee/test-00247-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9edbcff07acdc2cc9e3759dccd3abf9aa8579aa935ae349aaca529f92b5129a2 +size 85815253 diff --git a/300_ieee/test-00248-of-00268.parquet b/300_ieee/test-00248-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..d512b355be712f3c9c90b847ed1a3ef7ca1c50bc --- /dev/null +++ b/300_ieee/test-00248-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:89b107612cdf05b815a6152bd9de2f4d9756fb8019148432c2686382b6c5e58d +size 85740852 diff --git a/300_ieee/test-00249-of-00268.parquet b/300_ieee/test-00249-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..47650096927f787323e05588324bc35faf1e0502 --- /dev/null +++ b/300_ieee/test-00249-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f4879988aa9f5f2ccf11fc63500a64e6a1b0af73bf5e000a5ced9d2acf2514e0 +size 85835843 diff --git a/300_ieee/test-00250-of-00268.parquet b/300_ieee/test-00250-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..f7d8c5f3aeb8c45df17e48d332a1a2b74b054781 --- /dev/null +++ b/300_ieee/test-00250-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7efc9f310d38e1cab3b6924d45aba68526c527d9e74953743c1495d4fd0caa3c +size 85802463 diff --git a/300_ieee/test-00251-of-00268.parquet b/300_ieee/test-00251-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..cfc51f784ecf58648c1ed64a54b09f8fc305aa61 --- /dev/null +++ b/300_ieee/test-00251-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b564d0a74097acec7f4f99b18dd21c7ac003a1fbfe27d85afedd22ae6fb6e220 +size 85827191 diff --git a/300_ieee/test-00252-of-00268.parquet b/300_ieee/test-00252-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..7ade4c767acd80a470303ceb898f8567b1ed0a31 --- /dev/null +++ b/300_ieee/test-00252-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ff29c0ca6e914d4e908cfa97aaf809acbaeba259d5ca3a615b8a7e3f68204c4 +size 85858453 diff --git a/300_ieee/test-00253-of-00268.parquet b/300_ieee/test-00253-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..9bd1b53b2cadfa22981778ff41ef5068e5ed11c9 --- /dev/null +++ b/300_ieee/test-00253-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:168f7c3d6e91f6fe1a7411bfa618151e19c0e29f02032532a66c616e85802cb7 +size 85728818 diff --git a/300_ieee/test-00254-of-00268.parquet b/300_ieee/test-00254-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..d7b03c2b20456fe1f6bb8364e066fb3030b0c1d3 --- /dev/null +++ b/300_ieee/test-00254-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4337369d59393c309b9a30ae43eabc97867991053c017ff2316507ba52ea9fbe +size 85827809 diff --git a/300_ieee/test-00255-of-00268.parquet b/300_ieee/test-00255-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..17a8b8372dce02645a7b73a7bcf48dd4213e6f2a --- /dev/null +++ b/300_ieee/test-00255-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:df4681f8e1d08d1114ff97d29660ca75f745ce2d26c5bcadc6dc01ebde532bbc +size 85768088 diff --git a/300_ieee/test-00256-of-00268.parquet b/300_ieee/test-00256-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..0cb02dbb7215c7a60e450dc3893d6e90d081d85a --- /dev/null +++ b/300_ieee/test-00256-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:489a12ebd8b6c8ef86c7cb361c90b888d8ec319adec7a66840072d0bab4c012b +size 85751691 diff --git a/300_ieee/test-00257-of-00268.parquet b/300_ieee/test-00257-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..8bfeafeb23d920690c2b7a0e0d2b1ce7347f0b7d --- /dev/null +++ b/300_ieee/test-00257-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:721683a2610aa1e21ebd03dc4f0fd993042ddb2e68093bc35ce0e9ae659a6cba +size 85801958 diff --git a/300_ieee/test-00258-of-00268.parquet b/300_ieee/test-00258-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..f856d5834ac54399a1b7abf88e80dd63ed25f659 --- /dev/null +++ b/300_ieee/test-00258-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:726cb4a7a0de851a710983372e34b40bd022f66c1f3bdeccff3fd3fab832cc03 +size 85816529 diff --git a/300_ieee/test-00259-of-00268.parquet b/300_ieee/test-00259-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..f5352e960b1db63d0132078ebbe7befab5c4e2ac --- /dev/null +++ b/300_ieee/test-00259-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5dbe09bd69b2f9ad4d600aab1fdffc7e5f510db3d52fdf2a0b035cc5af000277 +size 85808179 diff --git a/300_ieee/test-00260-of-00268.parquet b/300_ieee/test-00260-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..f7f1f15270e9c04df3e06435b3e45f4fc4a31339 --- /dev/null +++ b/300_ieee/test-00260-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00e3a521d3375f262944e9331108e70739e7d03120f65ce60f66f3616a6f9970 +size 85764188 diff --git a/300_ieee/test-00261-of-00268.parquet b/300_ieee/test-00261-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..5227ee912e0860a370b9e44945a8efd6e359f3d4 --- /dev/null +++ b/300_ieee/test-00261-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:778f117c8b977839bcae0f7c1ba51fc0bb9094f778bea9d0ce111e5ed2a00c13 +size 85863027 diff --git a/300_ieee/test-00262-of-00268.parquet b/300_ieee/test-00262-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..2f269a168ea5ae2cbc23b6aa57bf43f5c6ce178c --- /dev/null +++ b/300_ieee/test-00262-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5ae1e12170e4c7dc81112f0bec1c138519d0aeb6dfacaf78278fdf84c5bfa69 +size 85790786 diff --git a/300_ieee/test-00263-of-00268.parquet b/300_ieee/test-00263-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..bdce20e53ff9a6cf247bc7cfdfeb5520bf275f5a --- /dev/null +++ b/300_ieee/test-00263-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:65f6ceaead9888199bce6c69762b3c262fb78211b9bdc0e17b94aaefdb58527c +size 85833204 diff --git a/300_ieee/test-00264-of-00268.parquet b/300_ieee/test-00264-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..608badb371629345c967d8567eaf6b078dee7c87 --- /dev/null +++ b/300_ieee/test-00264-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c35cee9233471af8871215cfea06454ae7ed78de3570dd56328b11647b855294 +size 85792856 diff --git a/300_ieee/test-00265-of-00268.parquet b/300_ieee/test-00265-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..44b9b53c4c9e68e1629782d08c8b0bf29fe5bbf4 --- /dev/null +++ b/300_ieee/test-00265-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:242ac9e0fdf6e7e528ab0932c3d8cf1c9c792b5d9a1b3712c4d15386e4895d38 +size 85900925 diff --git a/300_ieee/test-00266-of-00268.parquet b/300_ieee/test-00266-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..eba61f8092034102b337a24ec4638068cd60b624 --- /dev/null +++ b/300_ieee/test-00266-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f0bff634519c07b3334c690fcf623ede284b258c834f51b17d71b0af577f667 +size 85792727 diff --git a/300_ieee/test-00267-of-00268.parquet b/300_ieee/test-00267-of-00268.parquet new file mode 100644 index 0000000000000000000000000000000000000000..035da3e7d8607e9735ae8cfe61cabe717c34614a --- /dev/null +++ b/300_ieee/test-00267-of-00268.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f105b91f0c6c4a8e3843331047a8b565782705b3b31940ebd61811d98f3b60f +size 85785308 diff --git a/PGLearn-Small-300_ieee.py b/PGLearn-Small-300_ieee.py deleted file mode 100644 index 271904176c473631bb93a0c6195023a0afb4f7f2..0000000000000000000000000000000000000000 --- a/PGLearn-Small-300_ieee.py +++ /dev/null @@ -1,397 +0,0 @@ -from __future__ import annotations -from dataclasses import dataclass -from pathlib import Path -import json -import gzip - -import datasets as hfd -import h5py -import pyarrow as pa - -# ┌──────────────┐ -# │ Metadata │ -# └──────────────┘ - -@dataclass -class CaseSizes: - n_bus: int - n_load: int - n_gen: int - n_branch: int - -CASENAME = "300_ieee" -SIZES = CaseSizes(n_bus=300, n_load=201, n_gen=69, n_branch=411) -NUM_TRAIN = 745687 -NUM_TEST = 186422 -NUM_INFEASIBLE = 67891 - -URL = "https://huggingface.co/datasets/PGLearn/PGLearn-Small-300_ieee" -DESCRIPTION = """\ -The 300_ieee PGLearn optimal power flow dataset, part of the PGLearn-Small collection. \ -""" -VERSION = hfd.Version("1.0.0") -DEFAULT_CONFIG_DESCRIPTION="""\ -This configuration contains feasible input, metadata, primal solution, and dual solution data \ -for the ACOPF, DCOPF, and SOCOPF formulations on the {case} system. -""" -USE_ML4OPF_WARNING = """ -================================================================================================ - Loading PGLearn-Small-300_ieee through the `datasets.load_dataset` function may be slow. - - Consider using ML4OPF to directly convert to `torch.Tensor`; for more info see: - https://github.com/AI4OPT/ML4OPF?tab=readme-ov-file#manually-loading-data - - Or, use `huggingface_hub.snapshot_download` and an HDF5 reader; for more info see: - https://huggingface.co/datasets/PGLearn/PGLearn-Small-300_ieee#downloading-individual-files -================================================================================================ -""" -CITATION = """\ -@article{klamkinpglearn, - title={{PGLearn - An Open-Source Learning Toolkit for Optimal Power Flow}}, - author={Klamkin, Michael and Tanneau, Mathieu and Van Hentenryck, Pascal}, - year={2025}, -}\ -""" - -IS_COMPRESSED = True - -# ┌──────────────────┐ -# │ Formulations │ -# └──────────────────┘ - -def acopf_features(sizes: CaseSizes, primal: bool, dual: bool, meta: bool): - features = {} - if primal: features.update(acopf_primal_features(sizes)) - if dual: features.update(acopf_dual_features(sizes)) - if meta: features.update({f"ACOPF/{k}": v for k, v in META_FEATURES.items()}) - return features - -def dcopf_features(sizes: CaseSizes, primal: bool, dual: bool, meta: bool): - features = {} - if primal: features.update(dcopf_primal_features(sizes)) - if dual: features.update(dcopf_dual_features(sizes)) - if meta: features.update({f"DCOPF/{k}": v for k, v in META_FEATURES.items()}) - return features - -def socopf_features(sizes: CaseSizes, primal: bool, dual: bool, meta: bool): - features = {} - if primal: features.update(socopf_primal_features(sizes)) - if dual: features.update(socopf_dual_features(sizes)) - if meta: features.update({f"SOCOPF/{k}": v for k, v in META_FEATURES.items()}) - return features - -FORMULATIONS_TO_FEATURES = { - "ACOPF": acopf_features, - "DCOPF": dcopf_features, - "SOCOPF": socopf_features, -} - -# ┌───────────────────┐ -# │ BuilderConfig │ -# └───────────────────┘ - -class PGLearnSmall300_ieeeConfig(hfd.BuilderConfig): - """BuilderConfig for PGLearn-Small-300_ieee. - By default, primal solution data, metadata, input, casejson, are included for the train and test splits. - - To modify the default configuration, pass attributes of this class to `datasets.load_dataset`: - - Attributes: - formulations (list[str]): The formulation(s) to include, e.g. ["ACOPF", "DCOPF"] - primal (bool, optional): Include primal solution data. Defaults to True. - dual (bool, optional): Include dual solution data. Defaults to False. - meta (bool, optional): Include metadata. Defaults to True. - input (bool, optional): Include input data. Defaults to True. - casejson (bool, optional): Include case.json data. Defaults to True. - train (bool, optional): Include training samples. Defaults to True. - test (bool, optional): Include testing samples. Defaults to True. - infeasible (bool, optional): Include infeasible samples. Defaults to False. - """ - def __init__(self, - formulations: list[str], - primal: bool=True, dual: bool=False, meta: bool=True, input: bool = True, casejson: bool=True, - train: bool=True, test: bool=True, infeasible: bool=False, - compressed: bool=IS_COMPRESSED, **kwargs - ): - super(PGLearnSmall300_ieeeConfig, self).__init__(version=VERSION, **kwargs) - - self.case = CASENAME - self.formulations = formulations - - self.primal = primal - self.dual = dual - self.meta = meta - self.input = input - self.casejson = casejson - - self.train = train - self.test = test - self.infeasible = infeasible - - self.gz_ext = ".gz" if compressed else "" - - @property - def size(self): - return SIZES - - @property - def features(self): - features = {} - if self.casejson: features.update(case_features()) - if self.input: features.update(input_features(SIZES)) - for formulation in self.formulations: - features.update(FORMULATIONS_TO_FEATURES[formulation](SIZES, self.primal, self.dual, self.meta)) - return hfd.Features(features) - - @property - def splits(self): - splits: dict[hfd.Split, dict[str, str | int]] = {} - if self.train: - splits[hfd.Split.TRAIN] = { - "name": "train", - "num_examples": NUM_TRAIN - } - if self.test: - splits[hfd.Split.TEST] = { - "name": "test", - "num_examples": NUM_TEST - } - if self.infeasible: - splits[hfd.Split("infeasible")] = { - "name": "infeasible", - "num_examples": NUM_INFEASIBLE - } - return splits - - @property - def urls(self): - urls: dict[str, None | str | list] = { - "case": None, "train": [], "test": [], "infeasible": [], - } - - if self.casejson: urls["case"] = f"case.json" + self.gz_ext - - split_names = [] - if self.train: split_names.append("train") - if self.test: split_names.append("test") - if self.infeasible: split_names.append("infeasible") - - for split in split_names: - if self.input: urls[split].append(f"{split}/input.h5" + self.gz_ext) - for formulation in self.formulations: - if self.primal: urls[split].append(f"{split}/{formulation}/primal.h5" + self.gz_ext) - if self.dual: urls[split].append(f"{split}/{formulation}/dual.h5" + self.gz_ext) - if self.meta: urls[split].append(f"{split}/{formulation}/meta.h5" + self.gz_ext) - return urls - -# ┌────────────────────┐ -# │ DatasetBuilder │ -# └────────────────────┘ - -class PGLearnSmall300_ieee(hfd.ArrowBasedBuilder): - """DatasetBuilder for PGLearn-Small-300_ieee. - The main interface is `datasets.load_dataset` with `trust_remote_code=True`, e.g. - - ```python - from datasets import load_dataset - ds = load_dataset("PGLearn/PGLearn-Small-300_ieee", trust_remote_code=True, - # modify the default configuration by passing kwargs - formulations=["DCOPF"], - dual=False, - meta=False, - ) - ``` - """ - - DEFAULT_WRITER_BATCH_SIZE = 10000 - BUILDER_CONFIG_CLASS = PGLearnSmall300_ieeeConfig - DEFAULT_CONFIG_NAME=CASENAME - BUILDER_CONFIGS = [ - PGLearnSmall300_ieeeConfig( - name=CASENAME, description=DEFAULT_CONFIG_DESCRIPTION.format(case=CASENAME), - formulations=list(FORMULATIONS_TO_FEATURES.keys()), - primal=True, dual=True, meta=True, input=True, casejson=True, - train=True, test=True, infeasible=False, - ) - ] - - def _info(self): - return hfd.DatasetInfo( - features=self.config.features, splits=self.config.splits, - description=DESCRIPTION + self.config.description, - homepage=URL, citation=CITATION, - ) - - def _split_generators(self, dl_manager: hfd.DownloadManager): - hfd.logging.get_logger().warning(USE_ML4OPF_WARNING) - - filepaths = dl_manager.download_and_extract(self.config.urls) - - splits: list[hfd.SplitGenerator] = [] - if self.config.train: - splits.append(hfd.SplitGenerator( - name=hfd.Split.TRAIN, - gen_kwargs=dict(case_file=filepaths["case"], data_files=tuple(filepaths["train"]), n_samples=NUM_TRAIN), - )) - if self.config.test: - splits.append(hfd.SplitGenerator( - name=hfd.Split.TEST, - gen_kwargs=dict(case_file=filepaths["case"], data_files=tuple(filepaths["test"]), n_samples=NUM_TEST), - )) - if self.config.infeasible: - splits.append(hfd.SplitGenerator( - name=hfd.Split("infeasible"), - gen_kwargs=dict(case_file=filepaths["case"], data_files=tuple(filepaths["infeasible"]), n_samples=NUM_INFEASIBLE), - )) - return splits - - def _generate_tables(self, case_file: str | None, data_files: tuple[hfd.utils.track.tracked_str], n_samples: int): - case_data: str | None = json.dumps(json.load(open_maybe_gzip(case_file))) if case_file is not None else None - - opened_files = [open_maybe_gzip(file) for file in data_files] - data = {'/'.join(Path(df.get_origin()).parts[-2:]).split('.')[0]: h5py.File(of) for of, df in zip(opened_files, data_files)} - for k in list(data.keys()): - if "/input" in k: data[k.split("/", 1)[1]] = data.pop(k) - - batch_size = self._writer_batch_size or self.DEFAULT_WRITER_BATCH_SIZE - for i in range(0, n_samples, batch_size): - effective_batch_size = min(batch_size, n_samples - i) - - sample_data = { - f"{dk}/{k}": - hfd.features.features.numpy_to_pyarrow_listarray(v[i:i + effective_batch_size, ...]) - for dk, d in data.items() for k, v in d.items() if f"{dk}/{k}" in self.config.features - } - - if case_data is not None: - sample_data["case/json"] = pa.array([case_data] * effective_batch_size) - - yield i, pa.Table.from_pydict(sample_data) - - for f in opened_files: - f.close() - -# ┌──────────────┐ -# │ Features │ -# └──────────────┘ - -FLOAT_TYPE = "float32" -INT_TYPE = "int64" -BOOL_TYPE = "bool" -STRING_TYPE = "string" - -def case_features(): - # FIXME: better way to share schema of case data -- need to treat jagged arrays - return { - "case/json": hfd.Value(STRING_TYPE), - } - -META_FEATURES = { - "meta/seed": hfd.Value(dtype=INT_TYPE), - "meta/formulation": hfd.Value(dtype=STRING_TYPE), - "meta/primal_objective_value": hfd.Value(dtype=FLOAT_TYPE), - "meta/dual_objective_value": hfd.Value(dtype=FLOAT_TYPE), - "meta/primal_status": hfd.Value(dtype=STRING_TYPE), - "meta/dual_status": hfd.Value(dtype=STRING_TYPE), - "meta/termination_status": hfd.Value(dtype=STRING_TYPE), - "meta/build_time": hfd.Value(dtype=FLOAT_TYPE), - "meta/extract_time": hfd.Value(dtype=FLOAT_TYPE), - "meta/solve_time": hfd.Value(dtype=FLOAT_TYPE), -} - -def input_features(sizes: CaseSizes): - return { - "input/pd": hfd.Sequence(length=sizes.n_load, feature=hfd.Value(dtype=FLOAT_TYPE)), - "input/qd": hfd.Sequence(length=sizes.n_load, feature=hfd.Value(dtype=FLOAT_TYPE)), - "input/gen_status": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=BOOL_TYPE)), - "input/branch_status": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=BOOL_TYPE)), - "input/seed": hfd.Value(dtype=INT_TYPE), - } - -def acopf_primal_features(sizes: CaseSizes): - return { - "ACOPF/primal/vm": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/va": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/primal/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - } -def acopf_dual_features(sizes: CaseSizes): - return { - "ACOPF/dual/kcl_p": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/kcl_q": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/vm": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/ohm_pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/ohm_pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/ohm_qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/ohm_qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/va_diff": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/sm_fr": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/sm_to": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "ACOPF/dual/slack_bus": hfd.Value(dtype=FLOAT_TYPE), - } -def dcopf_primal_features(sizes: CaseSizes): - return { - "DCOPF/primal/va": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/primal/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/primal/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - } -def dcopf_dual_features(sizes: CaseSizes): - return { - "DCOPF/dual/kcl_p": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/dual/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/dual/ohm_pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/dual/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/dual/va_diff": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "DCOPF/dual/slack_bus": hfd.Value(dtype=FLOAT_TYPE), - } -def socopf_primal_features(sizes: CaseSizes): - return { - "SOCOPF/primal/w": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/wr": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/primal/wi": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - } -def socopf_dual_features(sizes: CaseSizes): - return { - "SOCOPF/dual/kcl_p": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/kcl_q": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/w": hfd.Sequence(length=sizes.n_bus, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/pg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/qg": hfd.Sequence(length=sizes.n_gen, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/ohm_pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/ohm_pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/ohm_qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/ohm_qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/jabr": hfd.Array2D(shape=(sizes.n_branch, 4), dtype=FLOAT_TYPE), - "SOCOPF/dual/sm_fr": hfd.Array2D(shape=(sizes.n_branch, 3), dtype=FLOAT_TYPE), - "SOCOPF/dual/sm_to": hfd.Array2D(shape=(sizes.n_branch, 3), dtype=FLOAT_TYPE), - "SOCOPF/dual/va_diff": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/wr": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/wi": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/pf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/pt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/qf": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - "SOCOPF/dual/qt": hfd.Sequence(length=sizes.n_branch, feature=hfd.Value(dtype=FLOAT_TYPE)), - } - -# ┌───────────────┐ -# │ Utilities │ -# └───────────────┘ - -def open_maybe_gzip(path): - return gzip.open(path, "rb") if path.endswith(".gz") else open(path, "rb") diff --git a/README.md b/README.md index 3caaeac67e8afd057b3f3656d34ca0739dfb707a..f335030c4a4c0e51a946235c0a5e9951921a72f0 100644 --- a/README.md +++ b/README.md @@ -285,11 +285,19 @@ dataset_info: dtype: float32 splits: - name: train - num_bytes: 535052793111 + num_bytes: 535052793334 num_examples: 745687 - name: test - num_bytes: 133763377661 + num_bytes: 133763377716 num_examples: 186422 - download_size: 72619932789 - dataset_size: 668816170772 + download_size: 115026052618 + dataset_size: 668816171050 +configs: +- config_name: 300_ieee + data_files: + - split: train + path: 300_ieee/train-* + - split: test + path: 300_ieee/test-* + default: true --- diff --git a/case.json.gz b/case.json.gz deleted file mode 100644 index 9d20296ad957519188799b49cbfdf7c3cc5af4e1..0000000000000000000000000000000000000000 --- a/case.json.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b33656b2881abf0a2bcdb9c1c73c3d58ff9d59c7b24ee88611f3032c204097b1 -size 236734 diff --git a/config.toml b/config.toml deleted file mode 100644 index e51ea682c172224cb57ed48d56003d0187a5f213..0000000000000000000000000000000000000000 --- a/config.toml +++ /dev/null @@ -1,42 +0,0 @@ -# Name of the reference PGLib case. Must be a valid PGLib case name. -pglib_case = "pglib_opf_case300_ieee" -floating_point_type = "Float32" - -[sampler] -# data sampler options -[sampler.load] -noise_type = "ScaledUniform" -l = 0.60 # Lower bound of base load factor -u = 1.00 # Upper bound of base load factor -sigma = 0.20 # Relative (multiplicative) noise level. - - -[OPF] - -[OPF.ACOPF] -type = "ACOPF" -solver.name = "Ipopt" -solver.attributes.tol = 1e-6 -solver.attributes.linear_solver = "ma27" - -[OPF.DCOPF] -# Formulation/solver options -type = "DCOPF" -solver.name = "HiGHS" - -[OPF.SOCOPF] -type = "SOCOPF" -solver.name = "Clarabel" -# Tight tolerances -solver.attributes.tol_gap_abs = 1e-6 -solver.attributes.tol_gap_rel = 1e-6 -solver.attributes.tol_feas = 1e-6 -solver.attributes.tol_infeas_rel = 1e-6 -solver.attributes.tol_ktratio = 1e-6 -# Reduced accuracy settings -solver.attributes.reduced_tol_gap_abs = 1e-6 -solver.attributes.reduced_tol_gap_rel = 1e-6 -solver.attributes.reduced_tol_feas = 1e-6 -solver.attributes.reduced_tol_infeas_abs = 1e-6 -solver.attributes.reduced_tol_infeas_rel = 1e-6 -solver.attributes.reduced_tol_ktratio = 1e-6 diff --git a/infeasible/ACOPF/dual.h5.gz b/infeasible/ACOPF/dual.h5.gz deleted file mode 100644 index 685df2c6234115e89b4de37c38d548869741233b..0000000000000000000000000000000000000000 --- a/infeasible/ACOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e548652d67e1384c5b53b9244135f065f83896e634cf099c86d3f37f05fd2b3d -size 1429646070 diff --git a/infeasible/ACOPF/meta.h5.gz b/infeasible/ACOPF/meta.h5.gz deleted file mode 100644 index 442137146da22eb614230747f74bf7148bd8c547..0000000000000000000000000000000000000000 --- a/infeasible/ACOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5dfbbd96bcb7529624516d29067d3a94195013abe79fd709d0b53e10204b9918 -size 2408707 diff --git a/infeasible/ACOPF/primal.h5.gz b/infeasible/ACOPF/primal.h5.gz deleted file mode 100644 index 7bd726456938d2202d474f2437bdb195d09ad994..0000000000000000000000000000000000000000 --- a/infeasible/ACOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2d59d2f200baa9f5720c51d529b1a1d83b83a6454ff057717ad3e1692817e63b -size 585732547 diff --git a/infeasible/DCOPF/dual.h5.gz b/infeasible/DCOPF/dual.h5.gz deleted file mode 100644 index 3570f3781a71f5dfb1504e8ae161d1e2060159cc..0000000000000000000000000000000000000000 --- a/infeasible/DCOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:462b78a7aecc908f93b835c7344a9de75252720f90896e62642b4d3cea38051d -size 73730707 diff --git a/infeasible/DCOPF/meta.h5.gz b/infeasible/DCOPF/meta.h5.gz deleted file mode 100644 index 841fee21296b304676b5d8096325222d4174065d..0000000000000000000000000000000000000000 --- a/infeasible/DCOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7e9f5c5a10c7d436a9a4f68fbf23361c094a10a5cf43841060833ec20bbeddf -size 2278364 diff --git a/infeasible/DCOPF/primal.h5.gz b/infeasible/DCOPF/primal.h5.gz deleted file mode 100644 index 9a37f7aa0b9e5ccf60874195a78ed1d20680c992..0000000000000000000000000000000000000000 --- a/infeasible/DCOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1eee7d044a2f15bc00a5c2308abd6eb40eb234307b0069ac8c86e9d28c1bf5af -size 157083830 diff --git a/infeasible/SOCOPF/dual.h5.gz b/infeasible/SOCOPF/dual.h5.gz deleted file mode 100644 index b37dc86a7ff953f4252d8a29d24486ce9b389cd1..0000000000000000000000000000000000000000 --- a/infeasible/SOCOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:961f6d3ad847363e7fb8d6018514addf65936824c9e3cdc09b05004e214daf74 -size 2459836792 diff --git a/infeasible/SOCOPF/meta.h5.gz b/infeasible/SOCOPF/meta.h5.gz deleted file mode 100644 index 5564d9f135da685000e577baa301ae2719bb3dcc..0000000000000000000000000000000000000000 --- a/infeasible/SOCOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d5c9b573232629ca3ca7e1feaa3c51bc1cf452edce284930652e2d88d42bbd9b -size 2383229 diff --git a/infeasible/SOCOPF/primal.h5.gz b/infeasible/SOCOPF/primal.h5.gz deleted file mode 100644 index dd4a1a89e7db70551e4a2d62d0c54aa51a8f4cde..0000000000000000000000000000000000000000 --- a/infeasible/SOCOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5d1bf2dacdf16ee7d198803b61130609a349ff0b47419fdaaa56d51dbade085e -size 351145456 diff --git a/infeasible/input.h5.gz b/infeasible/input.h5.gz deleted file mode 100644 index c303f42092143e4bd6197b98de5fb9df3bc92662..0000000000000000000000000000000000000000 --- a/infeasible/input.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0292f4c00ff3d43a3467b1c57043d0d67a6d840a9d4ee3440a96c8eef3ac1c1c -size 95476927 diff --git a/test/ACOPF/dual.h5.gz b/test/ACOPF/dual.h5.gz deleted file mode 100644 index 636bd556b77cf1433d3d935342e0fc7c08858572..0000000000000000000000000000000000000000 --- a/test/ACOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a67682e704f7f8e412013c8bab5584b0457d8baab3e9b5673498cbda4f3066d2 -size 3543859596 diff --git a/test/ACOPF/meta.h5.gz b/test/ACOPF/meta.h5.gz deleted file mode 100644 index a08cec7a1da42a1ffd0f66db9eeb4d770479ec54..0000000000000000000000000000000000000000 --- a/test/ACOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4c0782c4e010575e5cccd6d003b722e283730b8fd7b8ffbdd95ff36a4f38c1e5 -size 6327410 diff --git a/test/ACOPF/primal.h5.gz b/test/ACOPF/primal.h5.gz deleted file mode 100644 index 9773b7632ae4d2860cb66b310ee4d0288a17d0e0..0000000000000000000000000000000000000000 --- a/test/ACOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7f80f617974f2216063311e26d6001b507b7c140a304d665251ce3d14b5bea7d -size 1572355744 diff --git a/test/DCOPF/dual.h5.gz b/test/DCOPF/dual.h5.gz deleted file mode 100644 index 7f1c928e5a347fdd3f833bb491d552b9be392361..0000000000000000000000000000000000000000 --- a/test/DCOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0ac70d9acc9669db6e87864352331b72df8296e05b601213788ed828a89d92cf -size 240398305 diff --git a/test/DCOPF/meta.h5.gz b/test/DCOPF/meta.h5.gz deleted file mode 100644 index 4c9fe5893b07f1b23eedf16dfd2a1e6641ea80d3..0000000000000000000000000000000000000000 --- a/test/DCOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6db1467210dc248951f1c6a551202cde37daff415349347a052ee6be03ec1f0d -size 6109310 diff --git a/test/DCOPF/primal.h5.gz b/test/DCOPF/primal.h5.gz deleted file mode 100644 index 2318d88c0f2871232dba5a6f98ace463ccc97646..0000000000000000000000000000000000000000 --- a/test/DCOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fd69dc8bec88c68c1425266f3149976d0be1790f187ab529f22741576b6c26a -size 472636017 diff --git a/test/SOCOPF/dual.h5.gz b/test/SOCOPF/dual.h5.gz deleted file mode 100644 index 58dca30bedc9a62b19fca57fb322c55695913363..0000000000000000000000000000000000000000 --- a/test/SOCOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3e44e635da4fa32a61b322d725549f79ed884d890161e26793192fe35f8176e9 -size 6490917063 diff --git a/test/SOCOPF/meta.h5.gz b/test/SOCOPF/meta.h5.gz deleted file mode 100644 index ff0409f13e743c8d5d7c95a5512a1e6f58ed1759..0000000000000000000000000000000000000000 --- a/test/SOCOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7fac61e5b0adc4d12958c4b5c8e686c35a4b3c7310cdc1b53b8c127fa23385c8 -size 6364788 diff --git a/test/SOCOPF/primal.h5.gz b/test/SOCOPF/primal.h5.gz deleted file mode 100644 index 5e81a31d09d8801e365532e0fe8553055d22b089..0000000000000000000000000000000000000000 --- a/test/SOCOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d3ee517f87cb2ebfbd1c151b1bae35750643809a944ac1c7e9bac5b3a3eacf08 -size 1922756340 diff --git a/test/input.h5.gz b/test/input.h5.gz deleted file mode 100644 index f0cb2b6365ba2d95c8be9df12f68cc4e51963782..0000000000000000000000000000000000000000 --- a/test/input.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2daf2b207d38599a8cc58ae4ae3f447aa98ac91f7be02cd5e8c50169cfacbdc1 -size 262384289 diff --git a/train/ACOPF/dual.h5.gz b/train/ACOPF/dual.h5.gz deleted file mode 100644 index 090aef7ac1887f026e14b14fb979d9fc3843c468..0000000000000000000000000000000000000000 --- a/train/ACOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fa43e7ff695488298344155c197a4a62a1874d49792fac2f248574784710b53b -size 14175507866 diff --git a/train/ACOPF/meta.h5.gz b/train/ACOPF/meta.h5.gz deleted file mode 100644 index f26d7036dac74870bafaf11e1ea90908dbd9f05b..0000000000000000000000000000000000000000 --- a/train/ACOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30e29d547dc55ed0ea70803dbe62d84d4bbd2cb4166fb0578d952472e975d5ee -size 25253859 diff --git a/train/ACOPF/primal.h5.gz b/train/ACOPF/primal.h5.gz deleted file mode 100644 index 40b96ad2d5f68268ff0f679860ce2384e927c88b..0000000000000000000000000000000000000000 --- a/train/ACOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:176ca4a0423b1153d7bf4c8a928a7199256a705859b7135e375869b8c02ff095 -size 6289444215 diff --git a/train/DCOPF/dual.h5.gz b/train/DCOPF/dual.h5.gz deleted file mode 100644 index 34e1551d5eb17a5233f11dedcac471cb6ae2aa3c..0000000000000000000000000000000000000000 --- a/train/DCOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c9e190202ee11e3c56435f09afa3d26243916cf040ea93e2962e519cdcea77b2 -size 960428413 diff --git a/train/DCOPF/meta.h5.gz b/train/DCOPF/meta.h5.gz deleted file mode 100644 index c7da950e718b3483b4f9dd814145bfff88b8ea3c..0000000000000000000000000000000000000000 --- a/train/DCOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a4740dec37c3e9802a18f6b3073c41d3cbd13369ad147fbd5c4540007f6355f6 -size 24377885 diff --git a/train/DCOPF/primal.h5.gz b/train/DCOPF/primal.h5.gz deleted file mode 100644 index 88578df41f02760eda84f647aea5e042dccf9f9e..0000000000000000000000000000000000000000 --- a/train/DCOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8462f613786be66a270eefbe5f322d0d57e99c16ed612e174adf6d3f29163511 -size 1890554669 diff --git a/train/SOCOPF/dual.h5.gz b/train/SOCOPF/dual.h5.gz deleted file mode 100644 index 322d4054d1371d77f04633b1f4b4dda4b4662a27..0000000000000000000000000000000000000000 --- a/train/SOCOPF/dual.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fbafb2559eed4e40f55911cafa227a866ea189190eb1132792460119093fb4f5 -size 25964148702 diff --git a/train/SOCOPF/meta.h5.gz b/train/SOCOPF/meta.h5.gz deleted file mode 100644 index d4c9c35facd8aa267ad82825bb41daa902af67c9..0000000000000000000000000000000000000000 --- a/train/SOCOPF/meta.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7bc0ffb0e3b4f738520924d04196893f6b03b3a375e20805bd540998f89f427d -size 25406623 diff --git a/train/SOCOPF/primal.h5.gz b/train/SOCOPF/primal.h5.gz deleted file mode 100644 index a9a9815823aec0c316f03374a450092da2400c83..0000000000000000000000000000000000000000 --- a/train/SOCOPF/primal.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2f727e9d349bc45edd6280d5a6aa1f026ac9088e2e896c8bdc33ae06dc9cc14 -size 7690962100 diff --git a/train/input.h5.gz b/train/input.h5.gz deleted file mode 100644 index 68fe9ad6fb656ca223c36421844f2ca92397bf28..0000000000000000000000000000000000000000 --- a/train/input.h5.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a20a06c98ca62a8bef3a3c50dc3f6c1e65bf38efab98ddc687ea9e76a54f1dd8 -size 1049502861