Closed jonadsimon closed 2 years ago
Added a moderately-efficient version in parameterized_board_generator_fixed_overlaps.mzn
.
For input "couch" w/ packing constant 1.2:
board_cnt
implementation: 28.4sboard_cnt
implementation: 13.6sSo still ~7x slower to even just instantiate, but better than the naive version which was 15x slower
Not worth it, slows things down too much, discard this avenue of inquiry
Add a parallel board object that tracks the number of overlaps in each position
This allows us to easily enforce multiple other types of constraints e.g. distributional, per row/column overlaps, single-word non-overlaps, etc