Using GAMS on Mac OS X Environment with Wine bottler
Posted: Tue Feb 13, 2018 11:35 am
Hello !!
I am a new user of GAMS and have installed GAMS on my MacBook using Wine & WineBottler.
When I compiled my first code, I got a lot of errors.
I need help in customising the environment for programming with GAMS. One such error log is pasted below:
--- Job Hydro_Optimize_2.gms Start 02/13/18 09:58:37 24.9.2 r64480 WIN-VS8 x86 32bit/MS Windows
GAMS 24.9.2 Copyright (C) 1987-2017 GAMS Development. All rights reserved
Licensee: GAMS Development Corporation, USA G871201/0000CA-ANY
Free Demo, +1 202-342-0180, support@gams.com, www.gams.com DC0000
--- Starting compilation
--- Hydro_Optimize_2.gms(10) 3 Mb
--- call GDXXRW Generator_data.xls set=g RDim=1 rng=DC!a2:a10000 par=Maxgen RDim=1 CDim=1 rng=DC!a1:ct98 par=EnergyLimit RDim=1 CDim=1 rng=DC!a1:cw20 par=Demand RDim=1 rng=Demand!a2:b97
GDXXRW 24.9.2 r64480 Released Nov 14, 2017 VS8 x86 32bit/MS Windows
Cannot create an instance of Excel: Error = OLE error 800401F3, ProgID: "Excel.Application"
Check that Excel is installed correctly.
In case you use the "Click-to-Run" version of Excel, uninstall
this version and install the regular version.
**** Problem opening Excel: Cannot create an instance of Excel: Error = OLE error 800401F3, ProgID: "Excel.Application"
Total time = 52 Ms
--- Hydro_Optimize_2.gms(11) 3 Mb
*** GDXIN failed C:\users\scs\My Documents\gamsdir\projdir\Generator_data.gdx
*** Msg: No such file or directory
--- Hydro_Optimize_2.gms(11) 3 Mb 1 Error
*** Error 510 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Unable to open gdx file for $GDXIN
--- Hydro_Optimize_2.gms(12) 3 Mb 2 Errors
*** Error 502 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
GDXIN file not open - ignore rest of line
--- Hydro_Optimize_2.gms(51) 3 Mb 3 Errors
*** Error 257 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Solve statement not checked because of previous errors
--- Hydro_Optimize_2.gms(55) 3 Mb 6 Errors
*** Error 352 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Set has not been initialized
*** Error 141 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Symbol declared but no values have been assigned. Check for missing
data definition, assignment, data loading or implicit assignment
via a solve statement.
A wild shot: You may have spurious commas in the explanatory
text of a declaration. Check symbol reference list.
*** Error 352 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Set has not been initialized
--- Hydro_Optimize_2.gms(58) 3 Mb 6 Errors
*** Status: Compilation error(s)
--- Job Hydro_Optimize_2.gms Stop 02/13/18 09:58:38 elapsed 0:00:00.742
Exit code = 2
I am a new user of GAMS and have installed GAMS on my MacBook using Wine & WineBottler.
When I compiled my first code, I got a lot of errors.
I need help in customising the environment for programming with GAMS. One such error log is pasted below:
--- Job Hydro_Optimize_2.gms Start 02/13/18 09:58:37 24.9.2 r64480 WIN-VS8 x86 32bit/MS Windows
GAMS 24.9.2 Copyright (C) 1987-2017 GAMS Development. All rights reserved
Licensee: GAMS Development Corporation, USA G871201/0000CA-ANY
Free Demo, +1 202-342-0180, support@gams.com, www.gams.com DC0000
--- Starting compilation
--- Hydro_Optimize_2.gms(10) 3 Mb
--- call GDXXRW Generator_data.xls set=g RDim=1 rng=DC!a2:a10000 par=Maxgen RDim=1 CDim=1 rng=DC!a1:ct98 par=EnergyLimit RDim=1 CDim=1 rng=DC!a1:cw20 par=Demand RDim=1 rng=Demand!a2:b97
GDXXRW 24.9.2 r64480 Released Nov 14, 2017 VS8 x86 32bit/MS Windows
Cannot create an instance of Excel: Error = OLE error 800401F3, ProgID: "Excel.Application"
Check that Excel is installed correctly.
In case you use the "Click-to-Run" version of Excel, uninstall
this version and install the regular version.
**** Problem opening Excel: Cannot create an instance of Excel: Error = OLE error 800401F3, ProgID: "Excel.Application"
Total time = 52 Ms
--- Hydro_Optimize_2.gms(11) 3 Mb
*** GDXIN failed C:\users\scs\My Documents\gamsdir\projdir\Generator_data.gdx
*** Msg: No such file or directory
--- Hydro_Optimize_2.gms(11) 3 Mb 1 Error
*** Error 510 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Unable to open gdx file for $GDXIN
--- Hydro_Optimize_2.gms(12) 3 Mb 2 Errors
*** Error 502 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
GDXIN file not open - ignore rest of line
--- Hydro_Optimize_2.gms(51) 3 Mb 3 Errors
*** Error 257 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Solve statement not checked because of previous errors
--- Hydro_Optimize_2.gms(55) 3 Mb 6 Errors
*** Error 352 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Set has not been initialized
*** Error 141 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Symbol declared but no values have been assigned. Check for missing
data definition, assignment, data loading or implicit assignment
via a solve statement.
A wild shot: You may have spurious commas in the explanatory
text of a declaration. Check symbol reference list.
*** Error 352 in C:\users\scs\My Documents\gamsdir\projdir\Hydro\Hydro_Optimize_2.gms
Set has not been initialized
--- Hydro_Optimize_2.gms(58) 3 Mb 6 Errors
*** Status: Compilation error(s)
--- Job Hydro_Optimize_2.gms Stop 02/13/18 09:58:38 elapsed 0:00:00.742
Exit code = 2