Page 1 of 1

Exit code = 6 / Unable to open output file

Posted: Thu May 09, 2019 8:40 am
by moosavi_69
Dear friends,

I am solving a multi-echelon supply chain problem with the Benders Decomposition algorithm. When the problem becomes large, I confront with an error shown in the following.

Image

To reduce the size of lst file, I have used two below options:

Code: Select all

Option limrow=0, limcol=0;
Final.solprint = 2;
Using optfile=1, I have set "nodefileind" equal to 3 to let GAMS uses my hard memory rather than my ram memory.

Could you please let me know how I can resolve this problem?

Many thanks

Re: Exit code = 6 / Unable to open output file

Posted: Wed Jun 19, 2019 9:04 pm
by bussieck
Hmmm, unfortunately you did not show enough in the screen shot to see what file GAMS could not access. I guess this is "typical" virus scanner interference. The operating system is made believe the file access is freed but some process (the virus scanner) still holds on to the file and another process (GAMS) has trouble accessing it. You might change your GAMS options to do less disk IO, e.g. solvelink=5, or instruct the virus scanner to leave some directories unchecked (e.g. the project directory).

-Michael