AMPL command line can't find run file

Hello everyone I’m new to AMPL and I’m running it from the command line,
I cannot figure out why it can’t find my nfg.run file which is in the same directory as the shell.
It is able to correctly find the .dat and .mod file, its just the .run file which is unable to be found.

Thanks again.

1 Like

Hi @Fedelisk,

In the column Type it says “Text Document”. Your run file seems to have a “.txt” extension.

Please try:include nfg.run.txt

thanks a lot, that worked!

1 Like