Yes, I am using it within an equation
Bandwidth(V,V2,Interfaces)… sum(Demands, DemandBandwidth(Demands)* X(V, V2,Demands, Interfaces) ) =l= LinkRate(V, V2, Interfaces);
I want it be in such a way that the variable X which represents links could be:
X (A, B,Demand1, Interface1) & X (A, B,Demand2, Interface1) & X (A, B,Demand3, Interface1)
So multiple demands can pass through the same link but each link from source A to destination B could only support a single interface at a time.
On Wednesday, June 24, 2015 at 6:50:59 PM UTC+3, Claudio Delpino wrote:
Yousef:
What do you mean by limit ?
It is my understanding that variable instances that don’t appear in any equation will not get “declared” (be part of the model). So, if you use $ conditionals for and within equations I guess you will achieve your purpose. Can you provide a specific example ?
Regards
Claudio
On Tue, Jun 23, 2015 at 6:50 PM, Yousef Rafique wrote:
I have the following 4-D variable X represented as:
X (V , V2, Demands, Interfaces)
For example X could be:
X (A, B, Demand1, Interface1) & X (A, B, Demand2, Interface1)
I want to limit this variable to only one Interface.
so I cannot have X (A, B, Demand1, Interface1) & X (A, B, Demand2, Interface2)
Any ideas? how to limit the 4th element in the variable to just 1?
Thank You,
Yousef
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+unsubscribe@googlegroups.com.
To post to this group, send email to gamsworld@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.