% nonogram_simple.dzn % simple test % _ X _ _ % X _ X X % _ X X _ % X _ X X % X _ _ _ % rows = 5; row_rule_len = 2; row_rules = array2d(1..rows, 1..row_rule_len, [ 0,1, 1,2, 0,2, 1,2, 0,1 ]); cols = 4; col_rule_len = 2; col_rules = array2d(1..cols, 1..col_rule_len, [ 1,2, 1,1, 0,3, 1,1, ]);