I am trying to solve an equation with a constraint involving not-equal.
For example:
$2 x + 3 y = 5$ with the constraint $2 x + 4 ≠ 2$.
How should I approach this?
Edit 1
I tried the suggestions in the comments. I am actually trying to get Mathematica to return a numerical set of values for each variable (which doesnt seem to work via the suggested methods). Any suggestions on this?
Edit 2:
I should have clarified. What I would like Mathematica to do is to give a range of values for both variables $x$ and $y$.
Reduce[{2 x + 3 y == 5, 2 x + 4 != 2}, {y}, Reals]
gives
(x < -1 || x > -1) && y == 1/3 (5 - 2 x)
So there is x-range, but how to get y-range?
!=
means not equal. $\endgroup$Reduce[{2 x + 3 y == 5, 2 x + 4 != 2}, x]
would be better. $\endgroup$