Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an Artifacts.toml? #67

Open
amontoison opened this issue Jul 29, 2024 · 3 comments
Open

Add an Artifacts.toml? #67

amontoison opened this issue Jul 29, 2024 · 3 comments

Comments

@amontoison
Copy link
Contributor

amontoison commented Jul 29, 2024

For some research papers with François Pacaud and Sungho Shin, we rely on an Artifacts.toml to easily test our optimization solvers on ACOPF problems. It can be also useful here.
The content of Artifacts.toml is:

[PGLib_opf]
git-tree-sha1 = "0e8968a89b6ad43910a8eda4ec30656add35cf91"
lazy = false
    [[PGLib_opf.download]]
    sha256 = "f1421ce22f0a7b9de8a8b2111776b496348220192ad24aace392c3bf608706c2"
    url = "https://github.com/power-grid-lib/pglib-opf/archive/refs/tags/v23.07.tar.gz"

In our test, we can afterward do:

pglib_path = joinpath(artifact"PGLib_opf", "pglib-opf-23.07")

using PowerModels
pglib_opf_case78484_epigrids = ac_power_model(joinpath(pglib_path, "pglib_opf_case78484_epigrids.m"))
@odow
Copy link
Collaborator

odow commented Nov 20, 2024

There's https://github.com/noahrhodes/PGLib.jl

import PGLib
filter(endswith(".m"), readdir(PGLib.PGLib_opf; join = true))

cc @noahrhodes

@amontoison
Copy link
Contributor Author

I was not aware of PGLib.jl!
We should maybe use it as a dependency here?
In all cases, a note in the README seems relavant.

@noahrhodes
Copy link

I have done very little advertising for it, but it is quite useful for portable benchmarks like this. And as a post-doc now working with LANL, I can garuntee it will be continue to be supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants