Hi, I have imported a text file and keep getting a $409 error on the first element of the txt file. Please advise.
Here are the two files.
Tks
–
data.gms (174 Bytes)
NASA_7_Pol1.txt (1.93 KB)
Hi, I have imported a text file and keep getting a $409 error on the first element of the txt file. Please advise.
Here are the two files.
Tks
–
data.gms (174 Bytes)
NASA_7_Pol1.txt (1.93 KB)
Hi Bruno
This is not working as Gams doesn’t know which value of your data belongs to I and j.
You have to write your data like
AH1 AH2 …
O 0.01 0.3 …
…
And the include part like
table polynomialcoeff(i, j)
$include NASA_7_Pol1.txt
;
Hope this helps
Renger
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of Bruno Hannud
Sent: Montag, 31. August 2015 01:11
To: gamsworld
Subject: Can’t find simple mistake
Hi, I have imported a text file and keep getting a $409 error on the first element of the txt file. Please advise.
Here are the two files.
Tks
–
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.
Tks Renger. This worked fine.
On Monday, August 31, 2015 at 8:15:58 AM UTC-3, Renger van Nieuwkoop wrote:
Hi Bruno
This is not working as Gams doesn’t know which value of your data belongs to I and j.
You have to write your data like
AH1 AH2 …
O 0.01 0.3 …
…
And the include part like
table polynomialcoeff(i, j)
$include NASA_7_Pol1.txt
;
Hope this helps
Renger
From: gams...@googlegroups.com [mailto:gams...@googlegroups.com] On Behalf Of Bruno Hannud
Sent: Montag, 31. August 2015 01:11
To: gamsworld
Subject: Can’t find simple mistake
Hi, I have imported a text file and keep getting a $409 error on the first element of the txt file. Please advise.
Here are the two files.
Tks
–
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.
–
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.