I have a constraint that makes the optimization problem nonlinear. The constraint of interest is:
If (a-b)>=0
then c=(a-b)
else
c=0
where $a$, $b$ and $c$ are variables. How to linearize this constraint to convert the problem to linear form?