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

Where is mzn2fzn? Please revive it! #342

Closed
informarte opened this issue Nov 24, 2019 · 2 comments
Closed

Where is mzn2fzn? Please revive it! #342

informarte opened this issue Nov 24, 2019 · 2 comments

Comments

@informarte
Copy link

Past releases of MiniZinc provided a mzn2fzn executable but recent releases do not provide it any more. That's a pity because it provides functionality minizinc does not have: mzn2fzn allows to generate models based on the standard library only while minizinc generates models for a given solver. Moreover, mzn2fzn and minizinc differ in the sematics of the -I command-line option: While mzn2fzn takes everything from the given include path and only falls back to the standard library for stuff not available on the given include path, minizinc behaves the other way around.

mzn2fzn is important for me because I use it in integration testing for my solver Yuck. Fortunately, minizinc still behaves like mzn2fzn when renamed to mzn2fzn or executed via a symbolic link named mzn2fzn. However, I am worried that the functionality might go away in the future.

Please revive mzn2fzn or make its functionality available via the command line of minizinc!

@guidotack
Copy link
Member

You can use minizinc -c --solver org.minizinc.mzn-fzn

@informarte
Copy link
Author

This works, thanks!

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

2 participants