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 a flag to write out models on solve #224

Closed
odow opened this issue Sep 11, 2024 · 3 comments
Closed

Add a flag to write out models on solve #224

odow opened this issue Sep 11, 2024 · 3 comments

Comments

@odow
Copy link
Member

odow commented Sep 11, 2024

As part of https://github.com/jump-dev/open-energy-modeling-benchmarks, I think it would be super useful to be able to write out all models that are solved to MPS files.

Then we don't have to instrument the various packages. We just set a flag in HiGHS.jl and collect them all.

cc @joaquimg @jd-lara

@odow
Copy link
Member Author

odow commented Sep 11, 2024

The value should be a directory, and the filename should be the SHA of the file. So then we don't write out duplicates.

@odow
Copy link
Member Author

odow commented Sep 11, 2024

Actually, I just abused type piracy:
https://github.com/jump-dev/open-energy-modeling-benchmarks/blob/1537ce1f20abe50bbba2dda7a465c8df53d0cf04/GenX/main.jl#L71-L75

I'll wait to see if we actually need this before implementing.

@odow
Copy link
Member Author

odow commented Sep 12, 2024

I'm going to close this for now, but I might come back to it.

@odow odow closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant