set i equal to set j

hello everyone,

I have an equation :

calc(k)…
cs( i,k) =e= cd(j,k) + mass/d(j) ;


what I want to do is to have the equation but always i shoud be eqal to j.for example :

cs(‘1’,k) =e= cd(‘1’, k ) + massload/d( ‘1’ ) " i=j=1 "

after that the equations will be "i=j=2 " , " i=j=3 " …

how can I write the equation so that it choose similar i and j?


thank you all in advance

\

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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Hi Mohamad:

Are i and j different sets (and you want to write the cs equation only for when i and j have the same value ) ?

Regards,
Claudio



On Fri, May 10, 2013 at 6:09 AM, Mohamad Dehghani wrote:

hello everyone,

I have an equation :

calc(k)…
cs( i,k) =e= cd(j,k) + mass/d(j) ;


what I want to do is to have the equation but always i shoud be eqal to j.for example :

cs(‘1’,k) =e= cd(‘1’, k ) + massload/d( ‘1’ ) " i=j=1 "

after that the equations will be "i=j=2 " , " i=j=3 " …

how can I write the equation so that it choose similar i and j?


thank you all in advance

\

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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



\

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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\

Hi mohammad
u should this const. similar below:

calc(i,j,k)$(ord(i)=ord(j))… cs( i,k) =e= cd(j,k) + mass/d(j) ;


On Friday, May 10, 2013 1:39:14 PM UTC+4:30, Mohamad Dehghani wrote:

hello everyone,

I have an equation :

calc(k)…
cs( i,k) =e= cd(j,k) + mass/d(j) ;


what I want to do is to have the equation but always i shoud be eqal to j.for example :

cs(‘1’,k) =e= cd(‘1’, k ) + massload/d( ‘1’ ) " i=j=1 "

after that the equations will be "i=j=2 " , " i=j=3 " …

how can I write the equation so that it choose similar i and j?


thank you all in advance

\

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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

\