Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TooBigContentError
Message:      The JSON file PGLib/Load/ACPPowerModel/pglib_opf_case78484_epigrids.m_ACPPowerModel_load.mof.json is 1041569644 bytes. JSON files larger than 1000000000 bytes are not supported: convert them to JSON Lines (.jsonl) or Parquet.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 150, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 119, in get_rows
                  ds = safe_load_dataset(
                      dataset,
                  ...<4 lines>...
                      download_config=download_config,
                  )
                File "/src/services/worker/src/worker/utils.py", line 573, in safe_load_dataset
                  raise_if_too_big_json_files(builder, split=split)
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/utils.py", line 522, in raise_if_too_big_json_files
                  raise TooBigContentError(
                  ...<3 lines>...
                  )
              libcommon.exceptions.TooBigContentError: The JSON file PGLib/Load/ACPPowerModel/pglib_opf_case78484_epigrids.m_ACPPowerModel_load.mof.json is 1041569644 bytes. JSON files larger than 1000000000 bytes are not supported: convert them to JSON Lines (.jsonl) or Parquet.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

acopf-pglib-loads-mof

What it is

Parametrized AC optimal power flow (AC-OPF) problems, one file per network case, stored in MathOptFormat (.mof.json). Each file encodes the objective, constraints and the load parameters theta of the problem

min_x f(x; theta) s.t. g_i(x; theta) <= 0, A(theta) x = b(theta)

so that instances can be generated by sampling theta.

How it was produced

The networks are the cases of PGLib-OPF (https://github.com/power-grid-lib/pglib-opf), from 14 to about 20,000 buses, formulated with PowerModels (ACPPowerModel) and JuMP, with the nodal loads exposed as parameters. The files contain the problem definition only (no solutions). Instances are produced from them with the samplers of LearningToOptimize.jl (https://github.com/LearningToOptimize/LearningToOptimize.jl).

Structure

PGLib/Load/ACPPowerModel/<case>.m_ACPPowerModel_load.mof.json, 66 files, 0.16 MB to 283 MB (about 4.6 GB in total). In a file: objective (sense and function), variables (parameters appear as variables constrained to a Parameter set), and constraints with their sets.

Uses

Benchmarking solvers and learned optimization proxies; generating instances by sampling loads. Not intended for training general-purpose language or vision models. No personal data.

License

Creative Commons Attribution 4.0 (CC BY 4.0), following the PGLib-OPF data license (https://creativecommons.org/licenses/by/4.0/). The cases were adapted into parametrized form; credit the PGLib-OPF authors. The generating code (LearningToOptimize.jl) is MIT.

Source

Generated with LearningToOptimize.jl; exact commit not recorded for this early upload.

Related

acopf-case300-diffopt-sensitivity-systems, acopf-pegase89-madnlp-spcond-systems, portfolio-markowitz-synthetic-mof (formerly in this repository).

Formerly named Parametric-Optimization-Problems; the Markowitz file that used to be here moved to portfolio-markowitz-synthetic-mof.

Downloads last month
103

Collection including LearningToOptimize/acopf-pglib-loads-mof