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 writePresolvedModel #1729

Closed
jajhall opened this issue Apr 17, 2024 · 2 comments
Closed

Add writePresolvedModel #1729

jajhall opened this issue Apr 17, 2024 · 2 comments
Assignees

Comments

@jajhall
Copy link
Sponsor Member

jajhall commented Apr 17, 2024

If users want to write out the model after the HiGHS presolve, they must extract it using getPresolvedLp, load it into HiGHS, and then call writeModel. Adding writePresolvedModel isn't difficult...

@feldmeier
Copy link
Collaborator

Alternative idea would be having write(filename) as a function of Model rather than the Highs class (and maybe read(filename) as a static function of Model producing a Model object).
The syntax would then be something like getPresolvedLp().write()

@jajhall
Copy link
Sponsor Member Author

jajhall commented May 2, 2024

Closed by #1741

@jajhall jajhall closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants