%% Nonogram problem from Gecode: Bear %% http://www.gecode.org/gecode-doc-latest/classNonogram.html %% rows = 8; row_rule_len = 2; row_rules = array2d(1..rows, 1..row_rule_len, [ 0,1, 0,2, 4,4, 0,12, 0,8, 0,9, 3,4, 2,2]); cols = 13; col_rule_len = 2; col_rules = array2d(1..cols, 1..col_rule_len, [ 0,2, 2,1, 3,2, 0,6, 1,4, 0,3, 0,4, 0,4, 0,4, 0,5, 0,4, 1,3, 0,2]);