-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_prep.LPT
210 lines (209 loc) · 5.53 KB
/
_prep.LPT
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
\Problem name:
Minimize
obj: 10 x0 + 5 x1 + 11 x2 + 4 x3 + 12 x4 + 3 x5 + 9 x6 + 5 x7 + 8 x8 + 8 x10
+ 6 x11 + 5 x12 + 4 x13 + 7 x14 + 6 x15 + 9 x16 + 8 x17 + 10 x18 + 11 x19 + 8 x20
+ 10 x21 + 8 x22 + 12 x23 + 500 x24 + 600 x25 + 500 x26 + 600 x27 + 500 x28 + 600 x29 + 500 x30
+ 600 x31 + 500 x32 + 500 x34 + 600 x35 + 500 x36 + 600 x37 + 500 x38 + 600 x39 + 500 x40 + 600 x41
+ 500 x42 + 600 x43 + 500 x44 + 600 x45 + 500 x46 + 600 x47 + 20000 x48 + 400000 x49 + 20000 x50 + 400000 x51
+ 20000 x52 + 400000 x53 + 20000 x54 + 400000 x55 + 20000 x56 + 400000 x57 + 20000 x58 + 400000 x59 + 20000 x60 + 400000 x61
+ 20000 x62 + 400000 x63 + 20000 x64 + 400000 x65 + 20000 x66 + 400000 x67 + 20000 x68 + 400000 x69 + 20000 x70 + 400000 x71
Subject To
cons0: x0 + x1 = 120000
cons1: x2 + x3 = 100000
cons2: x4 + x5 = 130000
cons3: x6 + x7 = 130000
cons4: x8 + x9 = 140000
cons5: x10 + x11 = 130000
cons6: x12 + x13 = 150000
cons7: x14 + x15 = 170000
cons8: x16 + x17 = 200000
cons9: x18 + x19 = 190000
cons10: x20 + x21 = 140000
cons11: x22 + x23 = 100000
cons12: - x0 + 20000 x24 <= -0
cons13: - x1 + 20000 x25 <= -0
cons14: - x2 + 20000 x26 <= -0
cons15: - x3 + 20000 x27 <= -0
cons16: - x4 + 20000 x28 <= -0
cons17: - x5 + 20000 x29 <= -0
cons18: - x6 + 20000 x30 <= -0
cons19: - x7 + 20000 x31 <= -0
cons20: - x8 + 20000 x32 <= -0
cons21: - x9 <= -0
cons22: - x10 + 20000 x34 <= -0
cons23: - x11 + 20000 x35 <= -0
cons24: - x12 + 20000 x36 <= -0
cons25: - x13 + 20000 x37 <= -0
cons26: - x14 + 20000 x38 <= -0
cons27: - x15 + 20000 x39 <= -0
cons28: - x16 + 20000 x40 <= -0
cons29: - x17 + 20000 x41 <= -0
cons30: - x18 + 20000 x42 <= -0
cons31: - x19 + 20000 x43 <= -0
cons32: - x20 + 20000 x44 <= -0
cons33: - x21 + 20000 x45 <= -0
cons34: - x22 + 20000 x46 <= -0
cons35: - x23 + 20000 x47 <= -0
cons36: x0 -100000 x24 <= 0
cons37: x1 -50000 x25 <= 0
cons38: x2 -110000 x26 <= 0
cons39: x3 -55000 x27 <= 0
cons40: x4 -120000 x28 <= 0
cons41: x5 -60000 x29 <= 0
cons42: x6 -145000 x30 <= 0
cons43: x7 -100000 x31 <= 0
cons44: x8 -160000 x32 <= 0
cons45: x9 <= 0
cons46: x10 -140000 x34 <= 0
cons47: x11 -70000 x35 <= 0
cons48: x12 -155000 x36 <= 0
cons49: x13 -60000 x37 <= 0
cons50: x14 -200000 x38 <= 0
cons51: x15 -100000 x39 <= 0
cons52: x16 -210000 x40 <= 0
cons53: x17 -100000 x41 <= 0
cons54: x18 -197000 x42 <= 0
cons55: x19 -100000 x43 <= 0
cons56: x20 -80000 x44 <= 0
cons57: x21 -120000 x45 <= 0
cons58: x22 -150000 x46 <= 0
cons59: x23 -150000 x47 <= 0
cons60: x9 = 0
cons61: x33 = 0
cons62: x24 - x48 = 0
cons63: x25 - x49 = 0
cons64: x24 - x26 + x50 <= -0
cons65: x25 - x27 + x51 <= -0
cons66: x26 - x28 + x52 <= -0
cons67: x27 - x29 + x53 <= -0
cons68: x28 - x30 + x54 <= -0
cons69: x29 - x31 + x55 <= -0
cons70: x30 - x32 + x56 <= -0
cons71: x31 - x33 + x57 <= -0
cons72: x32 - x34 + x58 <= -0
cons73: x33 - x35 + x59 <= -0
cons74: x34 - x36 + x60 <= -0
cons75: x35 - x37 + x61 <= -0
cons76: x36 - x38 + x62 <= -0
cons77: x37 - x39 + x63 <= -0
cons78: x38 - x40 + x64 <= -0
cons79: x39 - x41 + x65 <= -0
cons80: x40 - x42 + x66 <= -0
cons81: x41 - x43 + x67 <= -0
cons82: x42 - x44 + x68 <= -0
cons83: x43 - x45 + x69 <= -0
cons84: x44 - x46 + x70 <= -0
cons85: x45 - x47 + x71 <= -0
cons86: - x24 - x50 <= -1
cons87: - x25 - x51 <= -1
cons88: - x26 - x52 <= -1
cons89: - x27 - x53 <= -1
cons90: - x28 - x54 <= -1
cons91: - x29 - x55 <= -1
cons92: - x30 - x56 <= -1
cons93: - x31 - x57 <= -1
cons94: - x32 - x58 <= -1
cons95: - x33 - x59 <= -1
cons96: - x34 - x60 <= -1
cons97: - x35 - x61 <= -1
cons98: - x36 - x62 <= -1
cons99: - x37 - x63 <= -1
cons100: - x38 - x64 <= -1
cons101: - x39 - x65 <= -1
cons102: - x40 - x66 <= -1
cons103: - x41 - x67 <= -1
cons104: - x42 - x68 <= -1
cons105: - x43 - x69 <= -1
cons106: - x44 - x70 <= -1
cons107: - x45 - x71 <= -1
cons108: x26 - x50 <= 0
cons109: x27 - x51 <= 0
cons110: x28 - x52 <= 0
cons111: x29 - x53 <= 0
cons112: x30 - x54 <= 0
cons113: x31 - x55 <= 0
cons114: x32 - x56 <= 0
cons115: x33 - x57 <= 0
cons116: x34 - x58 <= 0
cons117: x35 - x59 <= 0
cons118: x36 - x60 <= 0
cons119: x37 - x61 <= 0
cons120: x38 - x62 <= 0
cons121: x39 - x63 <= 0
cons122: x40 - x64 <= 0
cons123: x41 - x65 <= 0
cons124: x42 - x66 <= 0
cons125: x43 - x67 <= 0
cons126: x44 - x68 <= 0
cons127: x45 - x69 <= 0
cons128: x46 - x70 <= 0
cons129: x47 - x71 <= 0
Bounds
0 <= x0 <= 100000
0 <= x1 <= 50000
0 <= x2 <= 100000
0 <= x3 <= 55000
0 <= x4 <= 120000
0 <= x5 <= 60000
0 <= x6 <= 130000
0 <= x7 <= 100000
140000 <= x8 <= 140000
0 <= x9 <= 0
0 <= x24 <= 1
0 <= x25 <= 1
0 <= x26 <= 1
0 <= x27 <= 1
0 <= x28 <= 1
0 <= x29 <= 1
0 <= x30 <= 1
0 <= x31 <= 1
1 <= x32 <= 1
0 <= x33 <= 1
1 <= x34 <= 1
0 <= x35 <= 1
1 <= x36 <= 1
0 <= x37 <= 1
1 <= x38 <= 1
0 <= x39 <= 1
1 <= x40 <= 1
0 <= x41 <= 1
1 <= x42 <= 1
0 <= x43 <= 1
1 <= x44 <= 1
0 <= x45 <= 1
1 <= x46 <= 1
0 <= x47 <= 1
0 <= x48 <= 1
0 <= x49 <= 1
0 <= x50 <= 1
0 <= x51 <= 1
0 <= x52 <= 1
0 <= x53 <= 1
0 <= x54 <= 1
0 <= x55 <= 1
0 <= x56 <= 1
0 <= x57 <= 1
0 <= x58 <= 0
0 <= x59 <= 1
0 <= x60 <= 0
0 <= x61 <= 1
0 <= x62 <= 0
0 <= x63 <= 1
0 <= x64 <= 0
0 <= x65 <= 1
0 <= x66 <= 0
0 <= x67 <= 1
0 <= x68 <= 0
0 <= x69 <= 1
0 <= x70 <= 0
0 <= x71 <= 1
Integers
x0 x1 x2 x3 x4 x5 x6 x7 x8 x9
x10 x11 x12 x13 x14 x15 x16 x17 x18 x19
x20 x21 x22 x23 x24 x25 x26 x27 x28 x29
x30 x31 x32 x33 x34 x35 x36 x37 x38 x39
x40 x41 x42 x43 x44 x45 x46 x47 x48 x49
x50 x51 x52 x53 x54 x55 x56 x57 x58 x59
x60 x61 x62 x63 x64 x65 x66 x67 x68 x69
x70 x71
End