I have the following Either/Or constraint, and I want to re-formulate that constraint into other compatible constraints to build a standard linear programming problem. The Either/Or constraint that I have is:
$y=1$, if $x \gt 0$
or
$y=0$, if $x \lt 0 $
Thank you very much.