Repository navigation
Conversation
zayenz
added this pull request to stack #254
October 10, 2026 18:20
zayenz
force-pushed
the
feature/minizinc-registry
branch
from
October 12, 2026 16:22
7ff1853 to
f1cea6c
Compare
zayenz
force-pushed
the
feature/minizinc-registry
branch
from
October 13, 2026 21:12
e7d9334 to
f70f5f9
Compare
zayenz
marked this pull request as ready for review
October 14, 2026 03:01
zayenz
force-pushed
the
feature/minizinc-registry
branch
from
October 15, 2026 14:08
f70f5f9 to
64152e7
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose native Gecode propagators through standard MiniZinc
fzn_hooks and additional modelling predicates ingecode.mzn.The standard hooks cover count inequalities, conditionals, nondeterministic regular constraints, optional distinctness and scheduling, and set intersection. Builtin expressions also use native extrema, supported float powers, set matrix element and scalar implication.
The Gecode-specific predicates cover distance constraints, arithmetic including array-wide and modular products, offset distinctness, matching counts, optional rectangle non-overlap, and array, channeling and set relations. Typed FlatZinc bindings document their contracts and reification support. Annotations select propagation algorithms and single or per-pair minimum-distance propagators. Fixed-base powers and inverse logarithms use explicit MPFR rounding to preserve exact solutions.
Validation: a release build, all 135 FlatZinc regressions, 131 MiniZinc integration cases, and predicate documentation generation. Focused checks also passed for shared Boolean extrema and conditional compilation and execution.