| 1 |
/*** |
| 2 |
!Test |
| 3 |
expected: |
| 4 |
- !Result |
| 5 |
solution: !Solution |
| 6 |
xs: [1, null, 2] |
| 7 |
***/ |
| 8 |
|
| 9 |
include "strictly_increasing.mzn"; |
| 10 |
|
| 11 |
array[1..3] of var opt 1..2: xs; |
| 12 |
|
| 13 |
constraint occurs(xs[1]) /\ occurs(xs[3]); |
| 14 |
constraint strictly_increasing(xs); |