print

Hello again !!!
does anyone know how print a specific element from a table, without printing the entire table?.

Ing. Hernández González Nelly Monserrat
Posgrado de Ingenieria de Sistemas
FIME UANL



\

To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.

As far as the question is to print a single element in a table, you
can do the following:
TableName(‘index1’,‘index2’,‘index3’,…,‘indexn’)
For example, in the following table, to print the element ‘11’, the
gams code would go like this:
Example( ’ i2 ‘,’ j2 ', ’ k ', ’ l ')

Example(i,j,k,l)
k l
i1.j1 4 3
i2.j2 10 11

I hope this helps!


On Jan 10, 11:08 am, Nelly Monserrat Hernández González
wrote:

Hello again !!!
does anyone know how print a specific element from a table, without
printing the entire table?.

Ing. Hernández González Nelly Monserrat
Posgrado de Ingenieria de Sistemas
FIME UANL

\

I think you can use the ‘put’ facility in gams to do this type of thing.

Dewayne

From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Nelly Monserrat Hernández González
Sent: Tuesday, January 10, 2012 5:09 AM
To: gamsworld@googlegroups.com
Subject: print


Hello again !!!
does anyone know how print a specific element from a table, without printing the entire table?.

Ing. Hernández González Nelly Monserrat
Posgrado de Ingenieria de Sistemas
FIME UANL



\

To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.


This e-mail transmission is strictly confidential. It is intended solely for the
addressee. If you are not the addressee, please delete the e-mail and notify us
by return email or by contacting our systems administrator on +44 131 243 4444
forthwith.

Moreover if you are not the addressee, you must not copy, use, act or rely on,
disclose or distribute this e-mail. Wood Mackenzie Limited accepts no
responsibility or liability for any harm to your, or any third party’s, system
or data caused by this e-mail or its attachments or any viruses or similar
contained in it.

Wood Mackenzie Limited may monitor and record e-mails and their content passing
through its network.


To post to this group, send email to gamsworld@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.