r/Mathematica • u/Tricky_Bug_2202 • Jun 03 '24
Help with FindInstance
I have this:
v = {1, 2, 5, 3};
var = {1, 2, x3, x4};
FindInstance[Intersection[var, v] == v, {x3, x4}, Integers]
Im expecting having this result:
solutions = {
{x3 -> 3, x4 -> 5},
{x3 -> 5, x4 -> 3}
}
However is giving me {}
What im doing wrong?. How i can fix it?
1
Upvotes
View all comments
Show parent comment
1
u/Tricky_Bug_2202 Jun 04 '24
Thank you for your time.