I am still in trouble with AMPL.
You told me to write the f variable in open format in mod file, I did but unfortunately now AMPL says that all d in for f variable are not defined.
As an example.
ampl: model C:\Users\BURCU\Desktop\Tez\AMPL_TEZ\Facility-ba2.mod
C:\Users\BURCU\Desktop\Tez\AMPL_TEZ\Facility-ba2.mod, line 52 (offset 3272):
d1 is undefined
context: subject to flow1for01: >>> f[d1,d1] <<< =0;
I am attaching the files:mod , dat and word document of my model.
I will be glad if you can help me to come over these problems with AMPL.