Sum over time

Hi!

I want to sum over time, but I want to put an upper bound on this summation. I have attached the mathematical expression that I would like to get help with to formulate in GAMS.

Thanks a lot in advance for assisting me!!

Best regards,

Miriam

PhD student at SLU, Sweden

\

question.docx (13.5 KB)

Hi,

You can create a subset whose elements are from 1 to \tau-1. Then sum it over the subset.



Yonas



From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Miriam Munnich Vass
Sent: 10. januar 2014 22:02
To: gamsworld@googlegroups.com
Subject: Sum over time



Hi!



I want to sum over time, but I want to put an upper bound on this summation. I have attached the mathematical expression that I would like to get help with to formulate in GAMS.



Thanks a lot in advance for assisting me!!



Best regards,



Miriam








\

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

alias(t,t1);

constraint(t)(ord(t)>1) .. Z(t) =e= sum(t1 ( ord(t1)>1 and ord(t1) wrote:

Hi!

I want to sum over time, but I want to put an upper bound on this summation. I have attached the mathematical expression that I would like to get help with to formulate in GAMS.

Thanks a lot in advance for assisting me!!

Best regards,

Miriam

PhD student at SLU, Sweden

\

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