I have an optimization problem where
$a_{m,n}\in\{0,1\}$ is a binary variable and $0\le f_{m,n}\le 1$ is a continuous vaiable
I have an Iff-THEN constraint like this
IFF $a_{m,n}=1$, THEN $f_{m,n}>0$
and
IFF $a_{m,n}=0$, THEN $f_{m,n}=0$
How can I linearize them?
I tried as below:
$f>a-1$
$f\le a$
but it is not working