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

Minizinc print #504

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Minizinc print #504

merged 2 commits into from
Jul 18, 2024

Conversation

ThomSerg
Copy link
Collaborator

When working on the XCSP3 competition, I needed to access the Minizinc and Flatzinc models to debug our decompositions. @IgnaceBleukx explained to me how I should access the underlying native solve and how to print the models. It is not that straight forward, especially for flatzinc due to the _TemporaryFileWrapper that the minizinc library returns. I thought it might be useful to add the retrieval of these "minizinc model strings" as a build-in method of the minizinc solver object.

@Wout4
Copy link
Collaborator

Wout4 commented Jul 18, 2024

Very convenient indeed, looks good!

@Wout4 Wout4 merged commit 07f6edf into master Jul 18, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants