I had a brief exposure to CP and MiniZinc but I'm no expert.
I have a CP model, which I cannot post here ATM, implemented in MiniZinc. I need to generate all the feasible solution for the problem. We expect to have just a "few" ones, say less than 1000, more than 100.
I tried to solve the model with the -a flag passed to minizinc ver. 1.6 but I notice a lot of solutions being printed are identical.
Here they refer to "projection". In another paper I read they used some "backtracking mechanism".
It's still not clear to me.
My questions then are:
- what is the best way to generate only unique solutions from a CP model?
- Is there a standard mechanism implemented in CP libraries like SCIP or Gecode? Does it have a common name?
- Is it computationally efficient?
- does minizinc support that? How do I access that feature?