1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

21 lines
381 B
MiniZinc

/***
!Test
expected: !Result
status: SATISFIED
solution: !Solution
b: true
***/
% Regression test for a problem in mzn2fzn where failure of the
% where clause was incorrectly being treated as equivalent to
% model unsatisfiability.
var bool: b :: add_to_output = true;
constraint
forall(c in 1..5 where forall([c mod 2 = 0])) (
c >= 0
);
solve satisfy;