Hi all,
Plz, can any one tell me how to import data from Excel to GAMS?
--
You received this message because you are subscribed to the Google Groups "gamsworld" group.
To post to this group, send email to gams...@googlegroups.com.
To unsubscribe from this group, send email to gamsworld+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gamsworld?hl=en.
Hi all,
Plz, can any one tell me how to import data from Excel to GAMS?
Hi
What about the gdxutils.pdf manual (p. 13/14)… or searching the mailing lists…
RDIM is the number of indices you have in your columns
e.g.
Start End Value
A B 10
…
This would be RDIM = 2, CDIM = 1
Gams now knows when it reads the parameter results(Start,End,*), that the table in Excel is formatted with in the first two columns the first two sets (Start, End) and in the row the third index.
Renger
Dim = integer
The total dimension for the symbol
Cdim = Integer
Column dimension: the number of rows in the data range that will be used to define the labels for
the columns. The first Cdim rows of the data range will be used for labels.
Rdim = Integer
Row dimension: the number of columns in the data range that will be used to define the labels for
the rows. The first Rdim columns of the data range will be used for the labels.
Von: gams...@googlegroups.com [mailto:gams...@googlegroups.com]
Im Auftrag von Pablo Sepúlveda Gutiérrez
Gesendet: Dienstag, 2. April 2013 17:03
An: gams...@googlegroups.com
Betreff: Re: import data from Excel to GAMS
Hi Alireza Bahari !!!!
Thanks for your help, but i have a question. ¿what's the meaning of "DIM" and "RDIM" values of your *.xls* file? I was trying to compile the file without that values, but the model gave me some errors.
Thank for all.
Cheers!
El martes, 10 de abril de 2012 13:09:03 UTC-3, Alireza Bahari escribió:
Hi
Download the latest version of gams from www.gams.com
First locate the *.xls* file in the following path:
E:\Data\MatrixInputs.XLS
Now its ready to run.
Have a look at the sheet named "index" and at the 17 first rows of my cod To know how importing data fromexcel is performed.
the 5 last rows export data to Excel
Close the excel file when GAMS is runing.
--
You received this message because you are subscribed to the Google Groups "gamsworld" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to
gams...@googlegroups.com.
Visit this group at
http://groups.google.com/group/gamsworld?hl=en.
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+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "gamsworld" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gamsworld/ujx7tWY6X94/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gamsworld+...@googlegroups.com.
To post to this group, send email to gams...@googlegroups.com.
Visit this group at http://groups.google.com/group/gamsworld.
For more options, visit https://groups.google.com/d/optout.
Profesora de Cátedra en el área de Cadena de Suministro