# How to formulate or statment in integer programming

I need to formulate below statement in integer linear programming.

if x+y=2 then (a+b<c or c+g<a)


Can you help me please?

-
are x,y,a,b,c,g integers –  Amr Nov 10 '12 at 21:49
You need either-or and if-then constraints. –  Daryl Nov 10 '12 at 22:49
yes all of them are integers. –  SunyGirl Nov 10 '12 at 23:09
Thanks a lot Daryl –  SunyGirl Nov 10 '12 at 23:11