I have a binary variable $b\in\{0,1\}$ and three real variables $x,y,z$.
If $b=0$ then I want $x=y$ and if $b=1$ then I want $x=z$.
Is this possible with mixed linear integer programming?
Is this possible at least with mixed integer programming with convex constraints and objective?
You need just 4 constraints and a sufficiently large constant $M$: $$x \geq y - bM$$ $$x \leq y + bM$$ $$x \geq z - (1-b)M$$ $$x \leq z + (1-b)M$$