/
mtrmcp_inc.gms
148 lines (108 loc) · 3.06 KB
/
mtrmcp_inc.gms
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
* -------------------------------------------------------------------- *
*
* Program code generated by Grapical Interface Converter
*
* Workstep : Simulation
* Task : Simulation
* User : bob
* Time and date : 2014-06-25 15:00:01
*
* -------------------------------------------------------------------- *
$SETGLOBAL task Simulation
$SETGLOBAL workStep Simulation
$ONTEXT
Directory settings from ini file
$OFFTEXT
$SETGLOBAL curdir
$SETGLOBAL curdirR '..'
$SETGLOBAL resdir '..results\run'
$SETGLOBAL resdirR '..\results\run'
$SETGLOBAL datdir '..\data'
$SETGLOBAL datdirR '..//data'
$SETGLOBAL restartdir '..\restart'
$SETGLOBAL restartdirR '..//restart'
$ONTEXT
GAMS options
$OFFTEXT
$SETGLOBAL gamsPath C:\GAMS\win64\24.1\
$SETGLOBAL gamsArg
$SETGLOBAL rExe
$SETGLOBAL generateRefExpFile ON
$SETGLOBAL gamsDocDir ..\expRefDir
$SETGLOBAL gamsDocName ..\expRefDir\Simulation
$SETGLOBAL NoCPU 0
$SETGLOBAL procSpeedRelative 100
$SETGLOBAL time
$SETGLOBAL date
$SETGLOBAL JAVA ON
$ONTEXT
All settings stored as textual information in s_META set
$OFFTEXT
SET s_META /
'Workstep' 'Simulation'
'Task' 'Simulation'
'Date and time' ''
'User' 'bob'
'Gams version' 'GAMS.%system.GamsRelease%'
'Scenario' 'gas-2'
'Input file with GTAP data (*.gdx)' 'main_data_out'
'Solution algorithm' 'MCP'
'Market structure for labour' 'Mobile'
'Market structure for skilled labour' 'Mobile'
'Market structure for capital' 'Mobile'
'Market structure for resources' 'Mobile'
'Market structure for land' 'Mobile'
'Print gams code to listing' 'offListing [default]'
'Symbol list' 'offSymList [default]'
'Symbol list with cross references' 'offSymxRef [default]'
'Solprint' 'On'
'Limrow' '0.0'
'Limcol' '0.0'
/;
$ONTEXT
------------------ General settings-------------------------------------------
$OFFTEXT
$SETGLOBAL shock shock_out_prod
$SETGLOBAL ds main_data_out
$SETGLOBAL modeltype MCP
$ONTEXT
------------------ Model------------------------------------------------------
$OFFTEXT
$SETGLOBAL LabMarket Mobile
$SETGLOBAL sklMarket Mobile
$SETGLOBAL capitalMarket Mobile
$SETGLOBAL resMarket Mobile
$SETGLOBAL lndMarket Mobile
$ONTEXT
------------------ GAMS-------------------------------------------------------
$OFFTEXT
* ---- Options for listing
$offListing
$offSymList
$offSymxRef
* ---- Options for solve outputs
option solprint = On;
option limrow = 0.0;
option limcol = 0.0;
* ---------------------------------
* Setting for executing the task in batch file mode
* ---------------------------------
$ONTEXT
task =Simulation
Scenario = gas-2
Input file with GTAP data (*.gdx) = 3region57sectors5factors
Solution algorithm = MCP
Market structure for labour = Mobile
Market structure for skilled labour = Mobile
Market structure for capital = Mobile
Market structure for resources = Mobile
Market structure for land = Mobile
Print gams code to listing = offListing
Symbol list = offSymList
Symbol list with cross references = offSymxRef
Solprint = On
Limrow = 0.0
Limcol = 0.0
execute=gamsrun
$OFFTEXT
* end batch execution file