text in gams

Dear group members,

I have to transfer some data from a text file into GAMS which will
act as parameters there . Is there any way to do this ? I searched it
on manual but couldn’t find any solution.

\

Hossien,

Rename the text file appending .INC into the name. Then, you can use the following function.
$INCLUDE TextFileName.INC

But you need to first make the text file readable by GAMS.

Hope it helps.

Destin

On Mon, Feb 27, 2012 at 9:05 PM, hossein karimi wrote:

Dear group members,

I have to transfer some data from a text file into GAMS which will
act as parameters there . Is there any way to do this ? I searched it
on manual but couldn’t find any solution.


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.

\

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.