Search found 15 matches

by LaurentFranckx
6 years ago
Forum: Tools
Topic: Command line use error message "Could not copy GAMS parameter file "
Replies: 6
Views: 12070

Re: Command line use error message "Could not copy GAMS parameter file "

@okaradeniz
I applied the second solution.
So I put all my gms files in one folder, "mymodel". Before calling an individual gms file, I would change directories:
cd C:\mymodel
And then call my gms file, for instance:
gams 01_macro_part1.gms
Can you check whether this works?
by LaurentFranckx
6 years ago
Forum: Tools
Topic: Command line use error message "Could not copy GAMS parameter file "
Replies: 6
Views: 12070

Re: Command line use error message "Could not copy GAMS parameter file "

Problem solved. Apparently, the error was launching GAMS from its installation folder. The correct procedure is to add the installation folder to the PATH variable, and to call GAMS from another folder, for instance the folder containing your GAMS code.
by LaurentFranckx
6 years ago
Forum: Tools
Topic: Command line use error message "Could not copy GAMS parameter file "
Replies: 6
Views: 12070

Command line use error message "Could not copy GAMS parameter file "

Dear all When I run GAMS from the command line, I get the following error message: C:\Program Files (x86)\GAMS22.6>gams C:\Usr\gams\PLANET\pttv_2015\Z_planet_pttv2015 *** Could not copy GAMS parameter file C:\Program Files (x86)\GAMS22.6\gmsprm95.txt -> 225a\gmsprm95.scr The initial idea was that GA...
by LaurentFranckx
6 years ago
Forum: Syntax
Topic: string operations in GAMS
Replies: 6
Views: 7550

Re: string operations in GAMS

Dear Renger
I'll try that one out, thank you.
by LaurentFranckx
6 years ago
Forum: Syntax
Topic: string operations in GAMS
Replies: 6
Views: 7550

string operations in GAMS

Dear all I am new in GAMS, after having spent several years working with R and Python, and I still have the disagreeable habit of trying to implement R/Python approaches in GAMS ;) . My apologies for this. One type of operation that I haven't found yet in GAMS are string manipulations, such as conca...