| Author |
Comment/Response |
Anders Gregersen
|
12/25/06 2:39pm
Hi all.
I tried the following in Mathematica:
---
FindInstance[
x != 1 && x != 2 && x != 3 && x != 4 && x != 5 && x != 6 && x != 7 &&
x != 8 && y != 1 != 2 != 3 != 4 != 5 != 6 && x > 0 && x < 10, {x,
y}, Integers]
---
And it takes forever! Why is that? If I just execute
---
FindInstance[
x != 1 && x != 2 && x != 3 && x != 4 && x != 5 && x != 6 && x != 7 &&
x != 8 && x > 0 && x < 10, x, Integers]
---
it's done right away.
URL: , |
|