-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProblem M3.lp
359 lines (358 loc) · 20.7 KB
/
Problem M3.lp
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
\Problem name: ilog.cplex
Minimize
obj: 500.555432543234 Route_1_(4_9_10_12_11_2)
+ 50.0555432543234 Route_2_(4_9_11_2)
+ 60.0521694210452 Route_3_(4_9_10_12_3)
+ 600.521694210452 Route_4_(4_9_11_12_3)
+ 30.0299422341077 Route_5_(4_9_10_5)
+ 60.0316459069539 Route_6_(5_10_12_11_2)
+ 600.316459069538 Route_7_(5_10_9_11_2)
+ 50.0444946802571 Route_8_(5_10_12_3)
+ 500.444946802571 Route_9_(5_10_9_11_12_3)
+ 30.0318636642911 Route_10_(5_10_9_4)
+ 20.0212908085025 Route_11_(6_7_1)
+ 700.784374595785 Route_12_(6_7_9_10_12_11_2)
+ 70.0784374595785 Route_13_(6_7_9_11_2)
+ 700.784374595785 Route_14_(6_8_10_12_11_2)
+ 700.784374595785 Route_15_(6_8_10_9_10_12_11_2)
+ 700.784374595785 Route_16_(6_8_10_9_11_2)
+ 700.699351500718 Route_17_(6_7_9_10_12_3)
+ 700.699351500718 Route_18_(6_7_9_11_12_3)
+ 70.0699351500718 Route_19_(6_8_10_12_3)
+ 700.699351500718 Route_20_(6_8_10_5_10_12_3)
+ 700.699351500718 Route_21_(6_8_10_9_10_12_3)
+ 400.437719014462 Route_22_(6_5_10_9_4)
+ 40.0437719014462 Route_23_(6_7_9_4)
+ 400.437719014462 Route_24_(6_8_10_5_10_9_4)
+ 400.437719014462 Route_25_(6_8_10_9_4)
+ 400.477079631344 Route_26_(6_5)
+ 400.477079631344 Route_27_(6_7_9_10_5)
+ 40.0477079631344 Route_28_(6_8_10_5)
Subject To
Positiveness_Route_22_(6_5_10_9_4): Route_22_(6_5_10_9_4) >= 0
Positiveness_Route_23_(6_7_9_4): Route_23_(6_7_9_4) >= 0
Positiveness_Route_24_(6_8_10_5_10_9_4): Route_24_(6_8_10_5_10_9_4) >= 0
Positiveness_Route_25_(6_8_10_9_4): Route_25_(6_8_10_9_4) >= 0
Positiveness_Route_8_(5_10_12_3): Route_8_(5_10_12_3) >= 0
Positiveness_Route_9_(5_10_9_11_12_3): Route_9_(5_10_9_11_12_3) >= 0
Positiveness_Route_17_(6_7_9_10_12_3): Route_17_(6_7_9_10_12_3) >= 0
Positiveness_Route_18_(6_7_9_11_12_3): Route_18_(6_7_9_11_12_3) >= 0
Positiveness_Route_19_(6_8_10_12_3): Route_19_(6_8_10_12_3) >= 0
Positiveness_Route_20_(6_8_10_5_10_12_3): Route_20_(6_8_10_5_10_12_3) >= 0
Positiveness_Route_21_(6_8_10_9_10_12_3): Route_21_(6_8_10_9_10_12_3) >= 0
Positiveness_Route_12_(6_7_9_10_12_11_2): Route_12_(6_7_9_10_12_11_2) >= 0
Positiveness_Route_13_(6_7_9_11_2): Route_13_(6_7_9_11_2) >= 0
Positiveness_Route_14_(6_8_10_12_11_2): Route_14_(6_8_10_12_11_2) >= 0
Positiveness_Route_15_(6_8_10_9_10_12_11_2): Route_15_(6_8_10_9_10_12_11_2)
>= 0
Positiveness_Route_16_(6_8_10_9_11_2): Route_16_(6_8_10_9_11_2) >= 0
Positiveness_Route_6_(5_10_12_11_2): Route_6_(5_10_12_11_2) >= 0
Positiveness_Route_7_(5_10_9_11_2): Route_7_(5_10_9_11_2) >= 0
Positiveness_Route_26_(6_5): Route_26_(6_5) >= 0
Positiveness_Route_27_(6_7_9_10_5): Route_27_(6_7_9_10_5) >= 0
Positiveness_Route_28_(6_8_10_5): Route_28_(6_8_10_5) >= 0
Positiveness_Route_1_(4_9_10_12_11_2): Route_1_(4_9_10_12_11_2) >= 0
Positiveness_Route_2_(4_9_11_2): Route_2_(4_9_11_2) >= 0
Positiveness_Route_10_(5_10_9_4): Route_10_(5_10_9_4) >= 0
Positiveness_Route_5_(4_9_10_5): Route_5_(4_9_10_5) >= 0
Positiveness_Route_11_(6_7_1): Route_11_(6_7_1) >= 0
Positiveness_Route_3_(4_9_10_12_3): Route_3_(4_9_10_12_3) >= 0
Positiveness_Route_4_(4_9_11_12_3): Route_4_(4_9_11_12_3) >= 0
Link_count_11_12: Route_4_(4_9_11_12_3)
+ Route_9_(5_10_9_11_12_3)
+ Route_18_(6_7_9_11_12_3) >= 270
Link_count_11_12: Route_4_(4_9_11_12_3)
+ Route_9_(5_10_9_11_12_3)
+ Route_18_(6_7_9_11_12_3) <= 330
Link_count_12_3: Route_3_(4_9_10_12_3) + Route_4_(4_9_11_12_3)
+ Route_8_(5_10_12_3)
+ Route_9_(5_10_9_11_12_3)
+ Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3) >= 900
Link_count_12_3: Route_3_(4_9_10_12_3) + Route_4_(4_9_11_12_3)
+ Route_8_(5_10_12_3)
+ Route_9_(5_10_9_11_12_3)
+ Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3) <= 1100
Link_count_4_9: Route_1_(4_9_10_12_11_2) + Route_2_(4_9_11_2)
+ Route_3_(4_9_10_12_3)
+ Route_4_(4_9_11_12_3) + Route_5_(4_9_10_5)
>= 2160
Link_count_4_9: Route_1_(4_9_10_12_11_2) + Route_2_(4_9_11_2)
+ Route_3_(4_9_10_12_3)
+ Route_4_(4_9_11_12_3) + Route_5_(4_9_10_5)
<= 2640
Link_count_6_5: Route_22_(6_5_10_9_4) + Route_26_(6_5) >= 90
Link_count_6_5: Route_22_(6_5_10_9_4) + Route_26_(6_5) <= 110
Link_count_7_9: Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_23_(6_7_9_4) + Route_27_(6_7_9_10_5)
>= 4050
Link_count_7_9: Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_23_(6_7_9_4) + Route_27_(6_7_9_10_5)
<= 4950
Link_count_8_10: Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) + Route_28_(6_8_10_5)
>= 450
Link_count_8_10: Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) + Route_28_(6_8_10_5)
<= 550
Link_count_10_9: Route_7_(5_10_9_11_2)
+ Route_9_(5_10_9_11_12_3)
+ Route_10_(5_10_9_4)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_22_(6_5_10_9_4)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) >= 1350
Link_count_10_9: Route_7_(5_10_9_11_2)
+ Route_9_(5_10_9_11_12_3)
+ Route_10_(5_10_9_4)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_22_(6_5_10_9_4)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) <= 1650
Link_count_5_10: Route_6_(5_10_12_11_2) + Route_7_(5_10_9_11_2)
+ Route_8_(5_10_12_3)
+ Route_9_(5_10_9_11_12_3)
+ Route_10_(5_10_9_4)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_22_(6_5_10_9_4)
+ Route_24_(6_8_10_5_10_9_4) >= 1800
Link_count_5_10: Route_6_(5_10_12_11_2) + Route_7_(5_10_9_11_2)
+ Route_8_(5_10_12_3)
+ Route_9_(5_10_9_11_12_3)
+ Route_10_(5_10_9_4)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_22_(6_5_10_9_4)
+ Route_24_(6_8_10_5_10_9_4) <= 2200
Link_count_10_5: Route_5_(4_9_10_5)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_27_(6_7_9_10_5) + Route_28_(6_8_10_5)
>= 1440
Link_count_10_5: Route_5_(4_9_10_5)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_27_(6_7_9_10_5) + Route_28_(6_8_10_5)
<= 1760
Link_count_6_8: Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) + Route_28_(6_8_10_5)
>= 450
Link_count_6_8: Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) + Route_28_(6_8_10_5)
<= 550
Link_count_11_2: Route_1_(4_9_10_12_11_2) + Route_2_(4_9_11_2)
+ Route_6_(5_10_12_11_2)
+ Route_7_(5_10_9_11_2)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2) >= 4320
Link_count_11_2: Route_1_(4_9_10_12_11_2) + Route_2_(4_9_11_2)
+ Route_6_(5_10_12_11_2)
+ Route_7_(5_10_9_11_2)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2) <= 5280
Link_count_7_1: Route_11_(6_7_1) >= 450
Link_count_7_1: Route_11_(6_7_1) <= 550
Link_count_9_10: Route_1_(4_9_10_12_11_2)
+ Route_3_(4_9_10_12_3) + Route_5_(4_9_10_5)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_27_(6_7_9_10_5) >= 1350
Link_count_9_10: Route_1_(4_9_10_12_11_2)
+ Route_3_(4_9_10_12_3) + Route_5_(4_9_10_5)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_21_(6_8_10_9_10_12_3)
+ Route_27_(6_7_9_10_5) <= 1650
Link_count_12_11: Route_1_(4_9_10_12_11_2)
+ Route_6_(5_10_12_11_2)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2) >= 180
Link_count_12_11: Route_1_(4_9_10_12_11_2)
+ Route_6_(5_10_12_11_2)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2) <= 220
Link_count_6_7: Route_11_(6_7_1) + Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_23_(6_7_9_4) + Route_27_(6_7_9_10_5)
>= 4500
Link_count_6_7: Route_11_(6_7_1) + Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_23_(6_7_9_4) + Route_27_(6_7_9_10_5)
<= 5500
Link_count_9_11: Route_2_(4_9_11_2) + Route_4_(4_9_11_12_3)
+ Route_7_(5_10_9_11_2)
+ Route_9_(5_10_9_11_12_3)
+ Route_13_(6_7_9_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_18_(6_7_9_11_12_3) >= 4410
Link_count_9_11: Route_2_(4_9_11_2) + Route_4_(4_9_11_12_3)
+ Route_7_(5_10_9_11_2)
+ Route_9_(5_10_9_11_12_3)
+ Route_13_(6_7_9_11_2)
+ Route_16_(6_8_10_9_11_2)
+ Route_18_(6_7_9_11_12_3) <= 5390
Link_count_9_4: Route_10_(5_10_9_4) + Route_22_(6_5_10_9_4)
+ Route_23_(6_7_9_4)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) >= 1800
Link_count_9_4: Route_10_(5_10_9_4) + Route_22_(6_5_10_9_4)
+ Route_23_(6_7_9_4)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) <= 2200
Link_count_10_12: Route_1_(4_9_10_12_11_2)
+ Route_3_(4_9_10_12_3)
+ Route_6_(5_10_12_11_2) + Route_8_(5_10_12_3)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3) >= 810
Link_count_10_12: Route_1_(4_9_10_12_11_2)
+ Route_3_(4_9_10_12_3)
+ Route_6_(5_10_12_11_2) + Route_8_(5_10_12_3)
+ Route_12_(6_7_9_10_12_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_17_(6_7_9_10_12_3)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3) <= 990
OD_measurement_6_4: Route_22_(6_5_10_9_4) + Route_23_(6_7_9_4)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) >= 1612.8
OD_measurement_6_4: Route_22_(6_5_10_9_4) + Route_23_(6_7_9_4)
+ Route_24_(6_8_10_5_10_9_4)
+ Route_25_(6_8_10_9_4) <= 2419.2
OD_measurement_6_3: Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3) >= 0
OD_measurement_6_3: Route_17_(6_7_9_10_12_3)
+ Route_18_(6_7_9_11_12_3)
+ Route_19_(6_8_10_12_3)
+ Route_20_(6_8_10_5_10_12_3)
+ Route_21_(6_8_10_9_10_12_3) <= 0
OD_measurement_6_2: Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2) >= 2016
OD_measurement_6_2: Route_12_(6_7_9_10_12_11_2)
+ Route_13_(6_7_9_11_2)
+ Route_14_(6_8_10_12_11_2)
+ Route_15_(6_8_10_9_10_12_11_2)
+ Route_16_(6_8_10_9_11_2) <= 3024
OD_measurement_6_5: Route_26_(6_5) + Route_27_(6_7_9_10_5)
+ Route_28_(6_8_10_5) >= 484
OD_measurement_6_5: Route_26_(6_5) + Route_27_(6_7_9_10_5)
+ Route_28_(6_8_10_5) <= 726
OD_measurement_4_5: Route_5_(4_9_10_5) >= 887.2
OD_measurement_4_5: Route_5_(4_9_10_5) <= 1330.8
OD_measurement_6_1: Route_11_(6_7_1) >= 403.2
OD_measurement_6_1: Route_11_(6_7_1) <= 604.8
OD_measurement_4_2: Route_1_(4_9_10_12_11_2) + Route_2_(4_9_11_2)
>= 644.8
OD_measurement_4_2: Route_1_(4_9_10_12_11_2) + Route_2_(4_9_11_2)
<= 967.2
OD_measurement_4_3: Route_3_(4_9_10_12_3) + Route_4_(4_9_11_12_3)
>= 403.2
OD_measurement_4_3: Route_3_(4_9_10_12_3) + Route_4_(4_9_11_12_3)
<= 604.8
OD_measurement_5_4: Route_10_(5_10_9_4) >= 0
OD_measurement_5_4: Route_10_(5_10_9_4) <= 0
OD_measurement_5_3: Route_8_(5_10_12_3) + Route_9_(5_10_9_11_12_3)
>= 403.2
OD_measurement_5_3: Route_8_(5_10_12_3) + Route_9_(5_10_9_11_12_3)
<= 604.8
OD_measurement_5_2: Route_6_(5_10_12_11_2) + Route_7_(5_10_9_11_2)
>= 1209.6
OD_measurement_5_2: Route_6_(5_10_12_11_2) + Route_7_(5_10_9_11_2)
<= 1814.4
Bounds
0 <= Route_1_(4_9_10_12_11_2) <= 2147483647
0 <= Route_2_(4_9_11_2) <= 2147483647
0 <= Route_3_(4_9_10_12_3) <= 2147483647
0 <= Route_4_(4_9_11_12_3) <= 2147483647
0 <= Route_5_(4_9_10_5) <= 2147483647
0 <= Route_6_(5_10_12_11_2) <= 2147483647
0 <= Route_7_(5_10_9_11_2) <= 2147483647
0 <= Route_8_(5_10_12_3) <= 2147483647
0 <= Route_9_(5_10_9_11_12_3) <= 2147483647
0 <= Route_10_(5_10_9_4) <= 2147483647
0 <= Route_11_(6_7_1) <= 2147483647
0 <= Route_12_(6_7_9_10_12_11_2) <= 2147483647
0 <= Route_13_(6_7_9_11_2) <= 2147483647
0 <= Route_14_(6_8_10_12_11_2) <= 2147483647
0 <= Route_15_(6_8_10_9_10_12_11_2) <= 2147483647
0 <= Route_16_(6_8_10_9_11_2) <= 2147483647
0 <= Route_17_(6_7_9_10_12_3) <= 2147483647
0 <= Route_18_(6_7_9_11_12_3) <= 2147483647
0 <= Route_19_(6_8_10_12_3) <= 2147483647
0 <= Route_20_(6_8_10_5_10_12_3) <= 2147483647
0 <= Route_21_(6_8_10_9_10_12_3) <= 2147483647
0 <= Route_22_(6_5_10_9_4) <= 2147483647
0 <= Route_23_(6_7_9_4) <= 2147483647
0 <= Route_24_(6_8_10_5_10_9_4) <= 2147483647
0 <= Route_25_(6_8_10_9_4) <= 2147483647
0 <= Route_26_(6_5) <= 2147483647
0 <= Route_27_(6_7_9_10_5) <= 2147483647
0 <= Route_28_(6_8_10_5) <= 2147483647
End