after downloading GAMS Studio on the PC and acquiring DEMO license, we encountered the problem with MPSGE solver.
For some reasons when you run a model in equation format the GAMS runs well and delivers a solution. However, while using a code that requires MPSGE solver, we get MPSGE problem.pdf (122 KB)
the error 282 in C:\GAMS\38\mpsgeset
Unable to open include file. Hint: does the filename need to be…
The same code is run with no errors on other machines. I guess the problem boils down to this PC on which the error is generated. Could you please help to find a solution. Many thanks.
the log indicates that the first error is a missing include file. You can find further details about which include file cannot be found in the lst file.
I assume because the file that is missing in your machine exists on the other machine.
The problematic line
$include %hdr%
encodes the file name through a compile time variable hdr. This must be set either somewhere in your code (e.g. via $set hdr someFileName) or when you start the GAMS Job you have to provide a corresponding double dash parameter --hdr=someFileName.
All this depends on the content of your model. So if the problem persists, please share your log file, your lst file and all your code and data files such that other forum users can try to reproduce what you are doing. Otherwise it is difficult to provide help.
thank you very much for your response. The files are attached. m1_mp.gms (2.06 KB) m1_mp.log (2.69 KB) m1_mplst.gms (5.24 KB)
Listing file is stored as gms file, because for some reasons .lst files were not possible to upload. Thank you.