Skip to content

Instantly share code, notes, and snippets.

View mattorb's full-sized avatar
🎯
Always trying to find more time for reading and experiments.

Matt Smith mattorb

🎯
Always trying to find more time for reading and experiments.
View GitHub Profile
@pholser
pholser / regex-crossword.mzn
Created March 17, 2021 02:27
MiniZinc model to solve a regex crossword
% https://jimbly.github.io/regex-crossword/
enum LETTER = {
A, B, C, D, E, F, G, H, I, J, K, L, M,
N, O, P, Q, R, S, T, U, V, W, X, Y, Z
};
array[1..7] of var LETTER: row1;
array[1..8] of var LETTER: row2;
array[1..9] of var LETTER: row3;