/*** !Test solvers: [gecode, chuffed] expected: !Result solution: !SolutionSet - !Solution y: - [1, 2] - [2, 1] - !Solution y: - [1, 1] - [1, 2] - !Solution y: - [1, 2] - [2, 2] options: all_solutions: true ***/ include "strict_lex2.mzn"; array[1..2, 1..2] of var 1..2: y ::add_to_output; constraint strict_lex2([|2, 2, 3| 2, 3, 1|]); constraint strict_lex2(y); solve satisfy; output ["y = array2d(1..2, 1..2, ", show(y), ");\n"];