For checking the unicity of a model (e.g. Sudoku) - or in general testing a model - it would be great if it it was possible to restrict the number of solutions to a certain number, here 2. Perhaps using the all_solution option for option_with_attributes or maybe better: a new option n_solutions.
E.,g. something like:
model = Model(optimizer_with_attributes(CS.Optimizer,
# "all_solutions"=> 2,
"n_solutions"=> 2,
"logging"=>[],
# ...
))
For checking the unicity of a model (e.g. Sudoku) - or in general testing a model - it would be great if it it was possible to restrict the number of solutions to a certain number, here 2. Perhaps using the
all_solutionoption foroption_with_attributesor maybe better: a new optionn_solutions.E.,g. something like: