hello everybody, i am new in gams, my problem that i am interfacing with delphi and i need to calculate some parameter with gams so i have to read in gams from csv file and put the results into csv file too but it doesn’t work !! i don’t hnow how to include my data from csv to gams,help me please!
–
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 Soumia
The following code works fine. I can’t check for the additions “lo=%gams.lo% gdx=input†in $call as I don’t have the input.gdx file.
$onecho > csv2gms.gms
parameter val(i,j) /
$ondelim offlisting
$include input.csv
$offdelim onlisting
/;
$offecho
$call gams csv2gms
Cheers
Renger
From: gamsworld@googlegroups.com [mailto:gamsworld@googlegroups.com] On Behalf Of soumia Bouchenine
Sent: Montag, 27. April 2015 14:01
To: gamsworld@googlegroups.com
Subject: csv to gams
hello everybody, i am new in gams, my problem that i am interfacing with delphi and i need to calculate some parameter with gams so i have to read in gams from csv file and put the results into csv file too but it doesn’t work !! i don’t hnow how to include my data from csv to gams,help me please ;
this is my gams File
–
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.