Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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?

share|improve this question
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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.