I found a way to finding all the solutions using the way described in this link.
This is working fine, but it is slow. As it recalculates the constraints from the start i_e doesn't take advantage of the previous computations.
Now, I saw in this link, that there is a more efficient way to find all the solutions using MiniSat as library. But the way is not described there.
Can you point me to right documentation for finding all the SAT solutions efficiently?
Thanks.