HELLO !

Archive of Gamsworld Google Group
Post Reply
Archiver
User
User
Posts: 7876
Joined: 7 years ago

HELLO !

Post by Archiver »



Hi all

I need to import these equations in my problem

if u(i,j)=0 then x(i,j)=x(i,j-1)+1 & y(i,j)=0

else y(i,j)=y(i,j-1)+1 & x(i,j)=0

which u is a binary variable and x,y are integer.

please help me !

Best regards.

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Archiver
User
User
Posts: 7876
Joined: 7 years ago

Re: HELLO !

Post by Archiver »



Erwin Kalvelagen to me

This is easily modeled with Cplex indicator constraints, otherwise a
big-M formulation is not too difficult.

http://yetanothermathprogrammingconsult ... tions.html


----------------------------------------------------------------
Erwin Kalvelagen
Amsterdam Optimization Modeling Group
erwin.kalvelagen@gmail.com
http://amsterdamoptimization.com
.....................................................................
Ali Akbar Rashidi to Erwin

Thank you very much MR.Kalvelagen for your helps
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to gamsworld@googlegroups.com
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en
-~----------~----~----~----~------~----~------~--~---


Post Reply