-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
enhancementNew feature or requestNew feature or requestoptionNew option of the solverNew option of the solver
Description
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"=>[],
# ...
))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestoptionNew option of the solverNew option of the solver