Exit code = 6 / Unable to open output file

questions about GAMS' tools
Post Reply
moosavi_69
User
User
Posts: 16
Joined: 2 years ago

Exit code = 6 / Unable to open output file

Post by moosavi_69 » 6 months ago

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
Last edited by moosavi_69 6 months ago, edited 2 times in total.

User avatar
bussieck
Moderator
Moderator
Posts: 345
Joined: 3 years ago

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

Post by bussieck » 4 months ago

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

Post Reply