04-01-2021, 09:38 PM (This post was last modified: 04-01-2021, 09:44 PM by Antti-L.)
Post the listing file here (*.lst, zipped please). It is in the work folder (apparently GAMS_WrkTIMES\Base\DemoS_007). The listing file will reveal much more clearly what is going on.
04-01-2021, 09:58 PM (This post was last modified: 04-01-2021, 10:01 PM by Mahmoud.)
Thank you Antti for your quick answer.
Here's my LST file:
GAMS 28.2.0 r750fa45 Released Aug 19, 2019 WEX-WEI x86 64bit/MS Windows 01/04/21 17:27:05 Page 1
TIMES -- VERSION 4.1.0
C o m p i l a t i o n
2 OPTION PROFILE=1, SOLVEOPT=REPLACE;
3 OPTION RESLIM=50000, ITERLIM=999999, LIMROW=0, LIMCOL=0, SOLPRINT=OFF;
4
5
6 option LP=CPLEX;
7
8
9 *--If you want to use an optimizer other than cplex/xpress, enter it here:
10 *OPTION LP=MyOptimizer;
11
66 $ BATINCLUDE initsys.mod
**** $282
**** LINE 55 INPUT C:\VEDA\GAMS_WrkTIMES\Base\DemoS_007\DemoS_007.RUN
69 $ BATINCLUDE initmty.mod
**** $282
**** LINE 58 INPUT C:\VEDA\GAMS_WrkTIMES\Base\DemoS_007\DemoS_007.RUN
71 $Abort "You need to use TIMES v2.3.1 or higher"
**** $343
**** LINE 60 INPUT C:\VEDA\GAMS_WrkTIMES\Base\DemoS_007\DemoS_007.RUN
GAMS 28.2.0 r750fa45 Released Aug 19, 2019 WEX-WEI x86 64bit/MS Windows 01/04/21 17:27:05 Page 2
TIMES -- VERSION 4.1.0
Error Messages
282 Unable to open include file
343 Abort triggered by above statement
**** 3 ERROR(S) 0 WARNING(S)
GAMS 28.2.0 r750fa45 Released Aug 19, 2019 WEX-WEI x86 64bit/MS Windows 01/04/21 17:27:05 Page 3
TIMES -- VERSION 4.1.0
Include File Summary
As you can see, the fatal GAMS errors are: 282 Unable to open include file
GAMS is thus not able to read the TIMES source code. This is typically caused by the TIMES source code not being properly extracted into the folder where it is supposed to be (in your case GAMS_SrcTIMES.v.4.4.2). So please check.
Thanks Antti. Indeed, by installing the last version of veda2.0 i got 2 version of times in the same directory ; which created confusion. Just delet the older version of TIMES code and everythin is back to BAU