Linear programming IFF with equality constrain
Yes, this is possible. The main idea is that a binary variable can be used to enable/disable a inequality constraint as follows: given an inequality $a\cdot x\leq b$ and a binary variable $v$, pick a constant $L$ such that $a\cdot x - b\leq L$ is true for all variable assignments. Then the inequality $a\cdot x \leq b+ (1-v)L$ will be equal to $a\cdot x\leq b$ if $v=1$ and will always be true if $v=0$.

So, the constraint $y=1\Rightarrow v=k$ part can be modeled by the two inequalities $v\leq k+(1-y)L$ and $v\geq k - (1-y)L$. For the other part, $v=k\Rightarrow y=1$, we first transform this into $y\neq 1\Rightarrow v\neq k$. We can model the $v\neq k$ condition as $v &lt; k \vee v &gt; k$ and to model the 'or' we introduce a new binary variable $q$. In particular, we want $v&lt;k$ if $q=1$ and $y=0$ and $v&gt;k$ if $q=0$ and $y=0$, so we get $v &lt; k + (1-q+y)L$ and $v &gt; k-(q+y)L$.

In summary, the inequalities $$\begin{align} v&amp;\leq k+(1-y)L\\ v&amp;\geq k - (1-y)L\\ v &amp;&lt; k + (1-q+y)L\\  v &amp;&gt; k-(q+y)L\end{align}$$ model the constraint $y=1 \Leftrightarrow v=k$.