indexed equations

Hi,

set t /t0*t6/;

eq1(t)… c1(t) = c2(t-1)+c3(t-2);

t != t0, t1;

I need to write an index equation by eliminating two indexes(t0,t1) in the equation how to include that.


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.

Dear Rajasekhar,

You need to use the conditional operator “$”.

eq1(t)$(ORD(t) > 2)… c1(t) =E= c2(t-1) + c3(t-2);


Cheers,
Pedro

On Thu, Sep 18, 2014 at 8:50 AM, Rajasekhar Kadambur wrote:

Hi,

set t /t0*t6/;

eq1(t)… c1(t) = c2(t-1)+c3(t-2);

t != t0, t1;

I need to write an index equation by eliminating two indexes(t0,t1) in the equation how to include that.


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.



\

PEDRO JAVIER RAMÍREZ TORREALBA
Ingeniero Civil Eléctrico PUC
MSc en Ingeniería Eléctrica PUC
Londres, REINO UNIDO

Celular: +44-(0)75-8069-3119


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.

Hi Rajasekhar



You could use the ord-operatior



Eq1(t)$(ord(t) > 2)…



Cheers

Renger


\


Modelworks

Gewerbestrasse 15

3600 Thun – Switzerland

+41 79 818 53 73

Info@modelworks.ch

blog.modelworks.ch







From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Rajasekhar Kadambur
Sent: Donnerstag, 18. September 2014 09:50
To: gamsworld@googlegroups.com
Subject: indexed equations



Hi,

set t /t0*t6/;

eq1(t)… c1(t) = c2(t-1)+c3(t-2);

t != t0, t1;

I need to write an index equation by eliminating two indexes(t0,t1) in the equation how to include that.


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.


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.