tests/spec/unit/compilation/clause_disable_hr.mzn
raw| 1 | /*** |
| 2 | !Test |
| 3 | type: compile |
| 4 | solvers: [gecode] |
| 5 | expected: !FlatZinc clause_disable_hr.fzn |
| 6 | ***/ |
| 7 | |
| 8 | % Disable half-reification of clause through compiler option |
| 9 | mzn_half_reify_clause = false; |
| 10 | |
| 11 | var -10..10: x; |
| 12 | var bool: c; |
| 13 | var bool: d; |
| 14 | |
| 15 | constraint c -> (x >= 0 /\ (d -> x <= 0)); |