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

feature request: Support max version required #872

Open
CervEdin opened this issue Jan 17, 2025 · 0 comments
Open

feature request: Support max version required #872

CervEdin opened this issue Jan 17, 2025 · 0 comments

Comments

@CervEdin
Copy link

I recently discovered that it is possible to specify a minimum version required by a MiniZinc model
https://docs.minizinc.dev/en/stable/lib-stdlib-language.html#mzn-ref-stdlib-language-mzn-min-version-required

For example

mzn_min_version_required = 2 * 10000
                         + 8 * 1000
                         + 5;

Very neat!

But sometimes newer versions of the compiler may introduce subtle bugs and if someone is using snap or similar to install the latest release it may be too new.
I think it would make sense to additionally support a mzn_max_version_required.

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

1 participant