Problems¶
NUCS comes with a few pre-defined problems:
- nucs.problems.latin_square_problem.LatinSquareProblem(...)[source]¶
A simple model for latin squares.
- nucs.problems.latin_square_problem.LatinSquareRCProblem(...)[source]¶
A full model for latin squares with 3 kinds of variables: - n*n variables for the values (aka colors), these variables are indexed by rows then columns - n*n variables for the rows, these variables are indexed by colors then columns - n*n variables for the columns, these variables are indexed by rows then colors