Is there a shortcut way to find the number of counterexamples to a check? I'm considering using Alloy for some evolutionary computation experiments. However, that requires massive computation. To be able to say one model is better than another, even though both are wrong, I'm looking at using the number of counterexamples. I'm trying to figure out if this is feasible, or am I going to burn up far too much computer time attempting to tally counterexamples?
Ken Horne
Michigan State University
Hi: Unfortunately no. As we display each solution, we modify
the constraint problem behind the scene to make it
more constrained (so as to rule out the solution just displayed).
So we cannot know the exact number until we solve it to the end.
Also, as the problem becomes more and more constrained, it becomes
slower and harder to solve. So the last mile can be difficult.
the constraint problem behind the scene to make it
more constrained (so as to rule out the solution just displayed).
So we cannot know the exact number until we solve it to the end.
Also, as the problem becomes more and more constrained, it becomes
slower and harder to solve. So the last mile can be difficult.