git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
18 lines
254 B
MiniZinc
18 lines
254 B
MiniZinc
/***
|
|
!Test
|
|
expected:
|
|
- !Result
|
|
status: SATISFIED
|
|
solution: !Solution
|
|
x: 1
|
|
- !Result
|
|
status: SATISFIED
|
|
solution: !Solution
|
|
x: 10
|
|
***/
|
|
|
|
var 1..10: x :: add_to_output;
|
|
constraint not( let { var 1..10: y = x + 1 } in x = y );
|
|
solve satisfy;
|
|
|