Hi CDAC

If you want help for a question like this, you would increase the chance on an answer if you would send a minimal example that runs.

You canâ€™t expect that people will code this example themselves (guessing definition of sets, parameters and variables).

Cheers

Renger

Von: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] Im Auftrag von C.D.A.C

Gesendet: Dienstag, 7. Juli 2015 20:37

An: gamsworld@googlegroups.com

Betreff: Re: filtering indices

On Thursday, July 2, 2015 at 3:39:05 AM UTC-3, cesar dario alvarez cruz wrote:

Hi Im trying to write down this equation on GAMS but I dont know how to do the filtering of indices and how to deal with the t - Tau(k,i), can somebody help me??? Im new at this…

tau is a table parameter with dimensions NxN. k,i,j belong to the same set.

this is what i got …

equilibrio(i,t,v) … sum( j , x(i,j,t,v) + y(i,j,t,v) ) + m(i,t,v) + y(i,i,t-1,v) =e= sum( k$((ord(k) ord(i)) and (t > tau(k,i)) , x(k,i,(t - tau(k,i)),v) + y(k,i,(t - tau(k,i)),v) );

DOES ANYONE HAVE A DYNAMIC MODEL I CAN TAKE A LOOK AT???, EVEN IF DIFFERENT IT COULD HELP, PLEASE…

–

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.