Change a table value if a set value equals to...

Hi

Please see my statement below:

$if posmax(phi,K,L1) == “YES” Cost(K,L1,D1,‘3’) = 0;

posmax is a set and Cost is a table.

What I want to do is that if any posmax value is “YES” then I want the regarding Cost table’s value is zero.

Any idea is appreciated guiding me how to do this.

Thanks…


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 Caglar,

Cost(K,L1,D1,‘3’)$(posmax(phi,K,L)) = 0;

Cheers,
Pedro



On Friday, April 3, 2015, Caglar Utku Guler wrote:

Hi

Please see my statement below:

$if posmax(phi,K,L1) == “YES” Cost(K,L1,D1,‘3’) = 0;

posmax is a set and Cost is a table.

What I want to do is that if any posmax value is “YES” then I want the regarding Cost table’s value is zero.

Any idea is appreciated guiding me how to do this.

Thanks…


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.

Thank you! It worked.

On Monday, April 6, 2015 at 3:02:46 PM UTC+3, PowerChile wrote:

Hi Caglar,

Cost(K,L1,D1,‘3’)$(posmax(phi,K,L)) = 0;

Cheers,
Pedro



On Friday, April 3, 2015, Caglar Utku Guler wrote:

Hi

Please see my statement below:

$if posmax(phi,K,L1) == “YES” Cost(K,L1,D1,‘3’) = 0;

posmax is a set and Cost is a table.

What I want to do is that if any posmax value is “YES” then I want the regarding Cost table’s value is zero.

Any idea is appreciated guiding me how to do this.

Thanks…


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 Pedro, te escribo para ver si me puedes colaborar con algo, estoy trabajando en el planteamiento de un problema de despacho hidrotermico DDP (dos generadores térmicos y una hidro de embalse) pero estoy parado en la implentación en GAMS de los cortes de benders, quería saber si tienes un ejemplo pequeño o si estas en Chile y si tienes tiempo me puedes ayudar y yo te transmito mis dudas ?? gracias mi correo es jose.gonzalez18@outlook.com gracias de nuevo

El lunes, 6 de abril de 2015, 9:02:46 (UTC-3), PowerChile escribió:

Hi Caglar,

Cost(K,L1,D1,‘3’)$(posmax(phi,K,L)) = 0;

Cheers,
Pedro



On Friday, April 3, 2015, Caglar Utku Guler wrote:

Hi

Please see my statement below:

$if posmax(phi,K,L1) == “YES” Cost(K,L1,D1,‘3’) = 0;

posmax is a set and Cost is a table.

What I want to do is that if any posmax value is “YES” then I want the regarding Cost table’s value is zero.

Any idea is appreciated guiding me how to do this.

Thanks…


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.