I am solving an integer programming problem with the condition
if a=0 then b=0 else b=1
where a is integer while b is binary
I looked on previous question similar to this but could not find solution. please help to define constraint equation in integer programming for above conditions.