On Ubuntu 22.04.2 LTS. The following model is unsat, but `fzn-gecode` finds several wrong solutions: ``` var -5 .. 5: A; var -5 .. 5: B; constraint A mod B=B; solve :: int_search([A,B], input_order, indomain_median) satisfy; ```
Activity
Correctly unshare variables for div and mod constraints. Fixes #170.
zayenz commentedon Jul 13, 2026
Fixed on
main. Variables are now unshared before posting the FlatZincdivandmodconstraints, correcting the reported solutions.