User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gams:execute_other_programs_within_gams [2021/05/06 21:47]
Atharv Bhosekar removed
— (current)
Line 1: Line 1:
-====== How do I execute other Programs within GAMS? ====== 
-You can either call external executables at compilation using the ''​$call''​ statement, e.g.: 
-$call run.exe 
-or at execution time using the ''​execute''​ statement, e.g.:  
-execute '​run.exe';​ 
-The examples above assumes that ''​run.exe''​ is located in your project directory or callable through your path. 
-Please also visit the chapter "​Executing an external program"​ of the McCarl User Guide (''​Help''​ -->''​Expanded McCarl User Guide''​) for more information.