I am using PuLP method to optimize a problem. I have a simple conditional statement as:
If A = 0, x = 0
Else if A>0, x = 1
How can I change it into mathematical equation (or a list of equations) if I want to use it as a constraint in optimization using PuLP method?
For PuLP split this into two inequality constraints.