> The first step in tracking down the specific problem in your case would be
> to look for other error messages that appear just prior to "can't open
> at3916.nl" -- they might indicate what the problem is. Also you might get
> more useful messages if, before "solve;", you give the command "write
> btest;" which explicitly directs AMPL to write the file "test.nl" before
> asking the solver to read it.
No there were no other error messages given.
I'm sure it had something to do with peculiar timing issues related to
the opening and closing of file handles under Windows.
The workaround I'm using (based on your advice) is just a simple:
let write_file_name := ('bnlsol\test_SOME_ID_' & time());
write(write_file_name);
solve;
close(write_file_name);
Haven't had the problem since.
Thank you once again. :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To post to this group, send email to
ampl@...
To unsubscribe from this group, send email to
ampl-unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/ampl?hl=en-~----------~----~----~----~------~----~------~--~---