Hi,

I want to give limit to variables like below.

Q(i,j,K) is positve variable. But this variable is zero when the

binary variable Z(i,j,k) is zero.

I want to give lower limit but only Z(i,j,k) is not zero.

for exmaple Q.lo(i,j,k)=30 when Z(i,j,k) is not zero…

How can I express in GAMS?

\

Hi

add following constraints:

q >= 30 * z

q= 0 and q= 30 and q wrote:

Hi,

I want to give limit to variables like below.

Q(i,j,K) is positve variable. But this variable is zero when the

binary variable Z(i,j,k) is zero.

I want to give lower limit but only Z(i,j,k) is not zero.

for exmaple Q.lo(i,j,k)=30 when Z(i,j,k) is not zero…

How can I express in GAMS?

–

“gamsworld” group.

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.

– Babak Saleck Pay M.Sc Socio-Economic System Engineering Group of Industrial Engineering University of Tehran Tehran,Iran

Sung,

You may add the following equation to your model:

EQUATION Qmin(i,j,k);

Qmin(i,j,k) …

Q(i,j,k)=30*Z(i,j,k);

MODEL / , Qmin/

I hope this helps.

Destin

On Fri, Feb 3, 2012 at 10:06 PM, Sung Young Kim wrote:

Hi,

I want to give limit to variables like below.

Q(i,j,K) is positve variable. But this variable is zero when the

binary variable Z(i,j,k) is zero.

I want to give lower limit but only Z(i,j,k) is not zero.

for exmaple Q.lo(i,j,k)=30 when Z(i,j,k) is not zero…

How can I express in GAMS?

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.