[AMPL 25017] Error using 'ampl_include'

Dear all.

I can’t seem to be able to use the ampl_include command properly, even after digging through this forum.

My current directory structure has an “Inst_Data” folder which contains “reg_value_1.dat” and a “Solution” folder containing other files.

The following code:

option ampl_include '.\
Inst_Data\
Solution';

param temp;
read temp < reg_value_1.dat;
print temp;

Produces the error below:

ampl .\jamming_traj.run
Error at _cmdno 6 executing "read" command
(file .\jamming_traj.run, line 41, offset 1190):

can't open input file "reg_value_1.dat"

Not sure what is going on …

Thank you in advance for any help!

Best,
Walton.

Hi all.

Sorry, I have overlooked the following thread:

https://groups.google.com/g/ampl/c/wOTuvQPtcvE/m/-ilL7zcRBwAJ

Thank you very much anyway.

Best,
Walton.