How to write elseif into linear programming

63 Views Asked by At

Given:

If a < 0 and c < 0:
  d = 1
else:
 d = 0

I was wondering how to write it into statement of linear statement?