jonadsimon / wonder-words-generator

Generates WonderWords puzzles
Apache License 2.0
2 stars 0 forks source link

Add constraint to force puzzle to include diagonals #21

Closed jonadsimon closed 2 years ago

jonadsimon commented 2 years ago

Some puzzles have no diagonals at all, e.g. "number sequence" (score_cutoff=0.0, packing_constant=1.05)

jonadsimon commented 2 years ago

Can recast as optimization problem, so that this isn't a hard constraint but gets optimized for after at least a basic solution has been found

jonadsimon commented 2 years ago

Not worthwhile, requires logic similar to that added in parameterized_board_generator_fixed_overlaps.mzn which slows things down by ~7x. Naturally arises from dense packings, so focus on that.