I have a problem where I have a continuous decision variable (let's call it $m$) that is bounded between $(0, T]$ where $T>0$ is a predefined parameter. I also have another binary decision variable (let's call it $x$) that I want to use to represent whether $m > Z$ for $Z \in (0, T)$.
So in summary, if $m < Z$, then $x = 0$ and if $m\ge Z$, then $x=1$.
How can I enforce such relation in my program?