├── .github ├── actions │ └── build │ │ └── action.yaml ├── coverage.svg └── workflows │ ├── docs.yaml │ └── tests.yaml ├── .gitignore ├── CITATION.cff ├── LICENSE ├── README.md ├── environment.yml ├── environment_cuda.yml ├── ml4opf ├── __init__.py ├── formulations │ ├── __init__.py │ ├── ac │ │ ├── __init__.py │ │ ├── model.py │ │ ├── problem.py │ │ └── violation.py │ ├── dc │ │ ├── __init__.py │ │ ├── model.py │ │ ├── problem.py │ │ └── violation.py │ ├── ed │ │ ├── __init__.py │ │ ├── model.py │ │ ├── problem.py │ │ └── violation.py │ ├── model.py │ ├── problem.py │ ├── soc │ │ ├── __init__.py │ │ ├── model.py │ │ ├── problem.py │ │ └── violation.py │ └── violation.py ├── functional │ ├── __init__.py │ ├── ac.py │ ├── dc.py │ ├── ed.py │ ├── incidence.py │ └── soc.py ├── layers │ ├── __init__.py │ ├── bound_repair.py │ ├── hypersimplex_repair.py │ ├── slackbus_repair.py │ └── voltagedifference_repair.py ├── loss_functions │ ├── __init__.py │ ├── ldf.py │ ├── objective.py │ └── penalty.py ├── models │ ├── __init__.py │ ├── basic_nn │ │ ├── README.md │ │ ├── __init__.py │ │ ├── acopf_basic_nn.py │ │ ├── basic_nn.py │ │ ├── dcopf_basic_nn.py │ │ ├── ed_basic_nn.py │ │ ├── lightning_basic_nn.py │ │ └── socopf_basic_nn.py │ ├── e2elr │ │ ├── README.md │ │ ├── __init__.py │ │ └── e2elr.py │ ├── ldf_nn │ │ ├── README.md │ │ ├── __init__.py │ │ ├── acopf_ldf_nn.py │ │ ├── dcopf_ldf_nn.py │ │ ├── ed_ldf_nn.py │ │ ├── ldf_nn.py │ │ └── socopf_ldf_nn.py │ ├── pca_nn │ │ ├── README.md │ │ ├── __init__.py │ │ └── pca_nn.py │ └── penalty_nn │ │ ├── __init__.py │ │ ├── acopf_penalty_nn.py │ │ ├── dcopf_penalty_nn.py │ │ ├── ed_penalty_nn.py │ │ ├── penalty_nn.py │ │ └── socopf_penalty_nn.py ├── parsers │ ├── __init__.py │ ├── pglearn.py │ └── read_hdf5.py └── viz │ ├── __init__.py │ ├── plot.py │ ├── report │ ├── __init__.py │ └── report.py │ └── table.py ├── pyproject.toml └── tests ├── formulations ├── ac │ ├── test_acopf_model.py │ ├── test_acopf_problem.py │ └── test_acopf_violation.py ├── dc │ ├── test_dcopf_model.py │ ├── test_dcopf_problem.py │ └── test_dcopf_violation.py ├── ed │ ├── test_ed_model.py │ ├── test_ed_problem.py │ └── test_ed_violation.py └── soc │ ├── test_socopf_model.py │ ├── test_socopf_problem.py │ └── test_socopf_violation.py ├── layers ├── test_bound_repair.py ├── test_hypersimplex_repair.py ├── test_slackbus_repair.py └── test_voltagedifference_repair.py ├── loss_functions ├── test_ldf.py └── test_objective.py ├── parsers └── test_pglearn.py ├── test_data └── 89_pegase │ ├── case.json.gz │ ├── config.toml │ ├── infeasible │ ├── ACOPF │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── DCOPF │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── ED │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── EDSoftThermal │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── SOCOPF │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ └── input.h5.gz │ ├── ptdf.h5 │ ├── test │ ├── ACOPF │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── DCOPF │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── ED │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── EDSoftThermal │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ ├── SOCOPF │ │ ├── dual.h5.gz │ │ ├── meta.h5.gz │ │ └── primal.h5.gz │ └── input.h5.gz │ └── train │ ├── ACOPF │ ├── dual.h5.gz │ ├── meta.h5.gz │ └── primal.h5.gz │ ├── DCOPF │ ├── dual.h5.gz │ ├── meta.h5.gz │ └── primal.h5.gz │ ├── ED │ ├── dual.h5.gz │ ├── meta.h5.gz │ └── primal.h5.gz │ ├── EDSoftThermal │ ├── dual.h5.gz │ ├── meta.h5.gz │ └── primal.h5.gz │ ├── SOCOPF │ ├── dual.h5.gz │ ├── meta.h5.gz │ └── primal.h5.gz │ └── input.h5.gz ├── test_docs.py ├── test_import.py ├── test_models.py ├── test_readme.py └── viz └── test_table.py /.github/actions/build/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/.github/actions/build/action.yaml -------------------------------------------------------------------------------- /.github/coverage.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/.github/coverage.svg -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/.gitignore -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/CITATION.cff -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/README.md -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/environment.yml -------------------------------------------------------------------------------- /environment_cuda.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/environment_cuda.yml -------------------------------------------------------------------------------- /ml4opf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/__init__.py -------------------------------------------------------------------------------- /ml4opf/formulations/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/__init__.py -------------------------------------------------------------------------------- /ml4opf/formulations/ac/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ac/__init__.py -------------------------------------------------------------------------------- /ml4opf/formulations/ac/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ac/model.py -------------------------------------------------------------------------------- /ml4opf/formulations/ac/problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ac/problem.py -------------------------------------------------------------------------------- /ml4opf/formulations/ac/violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ac/violation.py -------------------------------------------------------------------------------- /ml4opf/formulations/dc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/dc/__init__.py -------------------------------------------------------------------------------- /ml4opf/formulations/dc/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/dc/model.py -------------------------------------------------------------------------------- /ml4opf/formulations/dc/problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/dc/problem.py -------------------------------------------------------------------------------- /ml4opf/formulations/dc/violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/dc/violation.py -------------------------------------------------------------------------------- /ml4opf/formulations/ed/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ed/__init__.py -------------------------------------------------------------------------------- /ml4opf/formulations/ed/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ed/model.py -------------------------------------------------------------------------------- /ml4opf/formulations/ed/problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ed/problem.py -------------------------------------------------------------------------------- /ml4opf/formulations/ed/violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/ed/violation.py -------------------------------------------------------------------------------- /ml4opf/formulations/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/model.py -------------------------------------------------------------------------------- /ml4opf/formulations/problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/problem.py -------------------------------------------------------------------------------- /ml4opf/formulations/soc/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/soc/__init__.py -------------------------------------------------------------------------------- /ml4opf/formulations/soc/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/soc/model.py -------------------------------------------------------------------------------- /ml4opf/formulations/soc/problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/soc/problem.py -------------------------------------------------------------------------------- /ml4opf/formulations/soc/violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/soc/violation.py -------------------------------------------------------------------------------- /ml4opf/formulations/violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/formulations/violation.py -------------------------------------------------------------------------------- /ml4opf/functional/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/functional/__init__.py -------------------------------------------------------------------------------- /ml4opf/functional/ac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/functional/ac.py -------------------------------------------------------------------------------- /ml4opf/functional/dc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/functional/dc.py -------------------------------------------------------------------------------- /ml4opf/functional/ed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/functional/ed.py -------------------------------------------------------------------------------- /ml4opf/functional/incidence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/functional/incidence.py -------------------------------------------------------------------------------- /ml4opf/functional/soc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/functional/soc.py -------------------------------------------------------------------------------- /ml4opf/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/layers/__init__.py -------------------------------------------------------------------------------- /ml4opf/layers/bound_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/layers/bound_repair.py -------------------------------------------------------------------------------- /ml4opf/layers/hypersimplex_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/layers/hypersimplex_repair.py -------------------------------------------------------------------------------- /ml4opf/layers/slackbus_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/layers/slackbus_repair.py -------------------------------------------------------------------------------- /ml4opf/layers/voltagedifference_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/layers/voltagedifference_repair.py -------------------------------------------------------------------------------- /ml4opf/loss_functions/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/loss_functions/__init__.py -------------------------------------------------------------------------------- /ml4opf/loss_functions/ldf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/loss_functions/ldf.py -------------------------------------------------------------------------------- /ml4opf/loss_functions/objective.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/loss_functions/objective.py -------------------------------------------------------------------------------- /ml4opf/loss_functions/penalty.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/loss_functions/penalty.py -------------------------------------------------------------------------------- /ml4opf/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/__init__.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/README.md -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/__init__.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/acopf_basic_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/acopf_basic_nn.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/basic_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/basic_nn.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/dcopf_basic_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/dcopf_basic_nn.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/ed_basic_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/ed_basic_nn.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/lightning_basic_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/lightning_basic_nn.py -------------------------------------------------------------------------------- /ml4opf/models/basic_nn/socopf_basic_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/basic_nn/socopf_basic_nn.py -------------------------------------------------------------------------------- /ml4opf/models/e2elr/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/e2elr/README.md -------------------------------------------------------------------------------- /ml4opf/models/e2elr/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/e2elr/__init__.py -------------------------------------------------------------------------------- /ml4opf/models/e2elr/e2elr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/e2elr/e2elr.py -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/README.md -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/__init__.py -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/acopf_ldf_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/acopf_ldf_nn.py -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/dcopf_ldf_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/dcopf_ldf_nn.py -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/ed_ldf_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/ed_ldf_nn.py -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/ldf_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/ldf_nn.py -------------------------------------------------------------------------------- /ml4opf/models/ldf_nn/socopf_ldf_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/ldf_nn/socopf_ldf_nn.py -------------------------------------------------------------------------------- /ml4opf/models/pca_nn/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/pca_nn/README.md -------------------------------------------------------------------------------- /ml4opf/models/pca_nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/pca_nn/__init__.py -------------------------------------------------------------------------------- /ml4opf/models/pca_nn/pca_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/pca_nn/pca_nn.py -------------------------------------------------------------------------------- /ml4opf/models/penalty_nn/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/penalty_nn/__init__.py -------------------------------------------------------------------------------- /ml4opf/models/penalty_nn/acopf_penalty_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/penalty_nn/acopf_penalty_nn.py -------------------------------------------------------------------------------- /ml4opf/models/penalty_nn/dcopf_penalty_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/penalty_nn/dcopf_penalty_nn.py -------------------------------------------------------------------------------- /ml4opf/models/penalty_nn/ed_penalty_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/penalty_nn/ed_penalty_nn.py -------------------------------------------------------------------------------- /ml4opf/models/penalty_nn/penalty_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/penalty_nn/penalty_nn.py -------------------------------------------------------------------------------- /ml4opf/models/penalty_nn/socopf_penalty_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/models/penalty_nn/socopf_penalty_nn.py -------------------------------------------------------------------------------- /ml4opf/parsers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/parsers/__init__.py -------------------------------------------------------------------------------- /ml4opf/parsers/pglearn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/parsers/pglearn.py -------------------------------------------------------------------------------- /ml4opf/parsers/read_hdf5.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/parsers/read_hdf5.py -------------------------------------------------------------------------------- /ml4opf/viz/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/viz/__init__.py -------------------------------------------------------------------------------- /ml4opf/viz/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/viz/plot.py -------------------------------------------------------------------------------- /ml4opf/viz/report/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/viz/report/__init__.py -------------------------------------------------------------------------------- /ml4opf/viz/report/report.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/viz/report/report.py -------------------------------------------------------------------------------- /ml4opf/viz/table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/ml4opf/viz/table.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/formulations/ac/test_acopf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/ac/test_acopf_model.py -------------------------------------------------------------------------------- /tests/formulations/ac/test_acopf_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/ac/test_acopf_problem.py -------------------------------------------------------------------------------- /tests/formulations/ac/test_acopf_violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/ac/test_acopf_violation.py -------------------------------------------------------------------------------- /tests/formulations/dc/test_dcopf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/dc/test_dcopf_model.py -------------------------------------------------------------------------------- /tests/formulations/dc/test_dcopf_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/dc/test_dcopf_problem.py -------------------------------------------------------------------------------- /tests/formulations/dc/test_dcopf_violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/dc/test_dcopf_violation.py -------------------------------------------------------------------------------- /tests/formulations/ed/test_ed_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/ed/test_ed_model.py -------------------------------------------------------------------------------- /tests/formulations/ed/test_ed_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/ed/test_ed_problem.py -------------------------------------------------------------------------------- /tests/formulations/ed/test_ed_violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/ed/test_ed_violation.py -------------------------------------------------------------------------------- /tests/formulations/soc/test_socopf_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/soc/test_socopf_model.py -------------------------------------------------------------------------------- /tests/formulations/soc/test_socopf_problem.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/soc/test_socopf_problem.py -------------------------------------------------------------------------------- /tests/formulations/soc/test_socopf_violation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/formulations/soc/test_socopf_violation.py -------------------------------------------------------------------------------- /tests/layers/test_bound_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/layers/test_bound_repair.py -------------------------------------------------------------------------------- /tests/layers/test_hypersimplex_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/layers/test_hypersimplex_repair.py -------------------------------------------------------------------------------- /tests/layers/test_slackbus_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/layers/test_slackbus_repair.py -------------------------------------------------------------------------------- /tests/layers/test_voltagedifference_repair.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/layers/test_voltagedifference_repair.py -------------------------------------------------------------------------------- /tests/loss_functions/test_ldf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/loss_functions/test_ldf.py -------------------------------------------------------------------------------- /tests/loss_functions/test_objective.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/loss_functions/test_objective.py -------------------------------------------------------------------------------- /tests/parsers/test_pglearn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/parsers/test_pglearn.py -------------------------------------------------------------------------------- /tests/test_data/89_pegase/case.json.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/case.json.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/config.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/config.toml -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/ACOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/ACOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/ACOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/ACOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/ACOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/ACOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/DCOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/DCOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/DCOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/DCOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/DCOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/DCOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/ED/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/ED/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/ED/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/ED/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/ED/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/ED/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/EDSoftThermal/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/EDSoftThermal/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/EDSoftThermal/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/EDSoftThermal/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/EDSoftThermal/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/EDSoftThermal/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/SOCOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/SOCOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/SOCOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/SOCOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/SOCOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/SOCOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/infeasible/input.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/infeasible/input.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/ptdf.h5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/ptdf.h5 -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/ACOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/ACOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/ACOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/ACOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/ACOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/ACOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/DCOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/DCOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/DCOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/DCOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/DCOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/DCOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/ED/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/ED/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/ED/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/ED/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/ED/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/ED/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/EDSoftThermal/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/EDSoftThermal/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/EDSoftThermal/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/EDSoftThermal/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/EDSoftThermal/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/EDSoftThermal/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/SOCOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/SOCOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/SOCOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/SOCOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/SOCOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/SOCOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/test/input.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/test/input.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/ACOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/ACOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/ACOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/ACOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/ACOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/ACOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/DCOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/DCOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/DCOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/DCOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/DCOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/DCOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/ED/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/ED/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/ED/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/ED/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/ED/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/ED/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/EDSoftThermal/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/EDSoftThermal/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/EDSoftThermal/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/EDSoftThermal/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/EDSoftThermal/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/EDSoftThermal/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/SOCOPF/dual.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/SOCOPF/dual.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/SOCOPF/meta.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/SOCOPF/meta.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/SOCOPF/primal.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/SOCOPF/primal.h5.gz -------------------------------------------------------------------------------- /tests/test_data/89_pegase/train/input.h5.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_data/89_pegase/train/input.h5.gz -------------------------------------------------------------------------------- /tests/test_docs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_docs.py -------------------------------------------------------------------------------- /tests/test_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_import.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_readme.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/test_readme.py -------------------------------------------------------------------------------- /tests/viz/test_table.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AI4OPT/ML4OPF/HEAD/tests/viz/test_table.py --------------------------------------------------------------------------------