guruby 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/guruby.rb +5 -0
- data/lib/guruby/constr.rb +12 -0
- data/lib/guruby/env.rb +25 -0
- data/lib/guruby/expr.rb +35 -0
- data/lib/guruby/ext.rb +8 -0
- data/lib/guruby/ext/constants.rb +1899 -0
- data/lib/guruby/ext/gurobi.rb +37 -0
- data/lib/guruby/model.rb +121 -0
- data/lib/guruby/var.rb +88 -0
- metadata +67 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b85c5fc8881ff43224999ebb2a998e0726fe7010
|
4
|
+
data.tar.gz: 11467803a852daf27f2df22d702a1b074fabd219
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5c581e0e56675d30511262796f90149f1a5a8a6edd635f4a8219e34431350b386cf53bf5dcb8e5ca76af9842be999f99c3158a3f8a544ab396ac8ef32faa4e68
|
7
|
+
data.tar.gz: 78823294b27b58b7b1bd0260ca08d435d68b30834b4e166f1fe59913098f48f889fb6496d7f9bf847e80043cd3aa6bc60b3ea424f0b5a9b8f19f8300cbe7c8a2
|
data/lib/guruby.rb
ADDED
data/lib/guruby/env.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require_relative 'ext'
|
2
|
+
|
3
|
+
module Guruby
|
4
|
+
class Environment
|
5
|
+
attr_reader :ptr
|
6
|
+
|
7
|
+
def initialize
|
8
|
+
# Create a new environment object
|
9
|
+
@ptr = FFI::MemoryPointer.new :pointer
|
10
|
+
Gurobi.GRBloadenv @ptr, nil
|
11
|
+
@ptr = @ptr.read_pointer
|
12
|
+
|
13
|
+
# Disable output
|
14
|
+
Gurobi.GRBsetintparam @ptr, GRB_INT_PAR_OUTPUTFLAG, 0
|
15
|
+
|
16
|
+
# Ensure the environment is freed
|
17
|
+
ObjectSpace.define_finalizer self, self.class.finalize(@ptr)
|
18
|
+
end
|
19
|
+
|
20
|
+
# Free the environment
|
21
|
+
def self.finalize(ptr)
|
22
|
+
proc { Gurobi.GRBfreeenv ptr }
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
data/lib/guruby/expr.rb
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
module Guruby
|
2
|
+
class LinExpr
|
3
|
+
attr_reader :terms
|
4
|
+
|
5
|
+
def initialize(terms = {})
|
6
|
+
@terms = terms
|
7
|
+
end
|
8
|
+
|
9
|
+
# Add two {LinExpr}s
|
10
|
+
def +(other)
|
11
|
+
case other
|
12
|
+
when LinExpr
|
13
|
+
# Add the terms of two expressions
|
14
|
+
# For now, this assumes variables are not duplicated
|
15
|
+
LinExpr.new(@terms.merge(other.terms) { |_, c1, c2| c1 + c2 })
|
16
|
+
when Variable
|
17
|
+
# Add the variable to the expression
|
18
|
+
self + other * 1.0
|
19
|
+
else
|
20
|
+
fail TypeError unless other.is_a? LinExpr
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
# Produce a string representing the expression
|
25
|
+
def inspect
|
26
|
+
@terms.map do |var, coeff|
|
27
|
+
# Skip if the coefficient is zero or the value is zero
|
28
|
+
value = var.value
|
29
|
+
next if coeff == 0 || value == 0 || value == false
|
30
|
+
|
31
|
+
coeff == 1 ? var.name : "#{var.name} * #{coeff}"
|
32
|
+
end.compact.join(' + ')
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
data/lib/guruby/ext.rb
ADDED
@@ -0,0 +1,1899 @@
|
|
1
|
+
begin
|
2
|
+
if( ! defined?(_GUROBI_C_H) || _GUROBI_C_H.nil? ) # 3
|
3
|
+
_GUROBI_C_H = nil # 4
|
4
|
+
begin
|
5
|
+
if( defined?((_WIN64) && !defined(WIN64)) && ! (_WIN64) && !defined(WIN64).nil? ) # 11
|
6
|
+
WIN64 = nil # 12
|
7
|
+
end
|
8
|
+
rescue NameError => e
|
9
|
+
raise e if( $DEBUG )
|
10
|
+
end # 13
|
11
|
+
begin
|
12
|
+
if( defined?((_WIN32) && !defined(_WIN64) && !defined(WIN32)) && ! (_WIN32) && !defined(_WIN64) && !defined(WIN32).nil? ) # 15
|
13
|
+
WIN32 = nil # 16
|
14
|
+
end
|
15
|
+
rescue NameError => e
|
16
|
+
raise e if( $DEBUG )
|
17
|
+
end # 17
|
18
|
+
begin
|
19
|
+
if( !defined?((WIN32) && !defined(WIN64)) && ! (WIN32) && !defined(WIN64).nil? ) # 19
|
20
|
+
__cdecl = nil # 20
|
21
|
+
__stdcall = nil # 21
|
22
|
+
end
|
23
|
+
rescue NameError => e
|
24
|
+
raise e if( $DEBUG )
|
25
|
+
end # 22
|
26
|
+
begin
|
27
|
+
GRB_VERSION_MAJOR = 5
|
28
|
+
rescue NameError => e
|
29
|
+
raise e if( $DEBUG )
|
30
|
+
end # 26
|
31
|
+
begin
|
32
|
+
GRB_VERSION_MINOR = 6
|
33
|
+
rescue NameError => e
|
34
|
+
raise e if( $DEBUG )
|
35
|
+
end # 27
|
36
|
+
begin
|
37
|
+
GRB_VERSION_TECHNICAL = 3
|
38
|
+
rescue NameError => e
|
39
|
+
raise e if( $DEBUG )
|
40
|
+
end # 28
|
41
|
+
begin
|
42
|
+
DEFAULT_CS_PRIORITY = 0
|
43
|
+
rescue NameError => e
|
44
|
+
raise e if( $DEBUG )
|
45
|
+
end # 32
|
46
|
+
begin
|
47
|
+
MAX_CS_PRIORITY = 100
|
48
|
+
rescue NameError => e
|
49
|
+
raise e if( $DEBUG )
|
50
|
+
end # 33
|
51
|
+
begin
|
52
|
+
DEFAULT_CS_PORT = 61000
|
53
|
+
rescue NameError => e
|
54
|
+
raise e if( $DEBUG )
|
55
|
+
end # 37
|
56
|
+
begin
|
57
|
+
GRB_ERROR_OUT_OF_MEMORY = 10001
|
58
|
+
rescue NameError => e
|
59
|
+
raise e if( $DEBUG )
|
60
|
+
end # 41
|
61
|
+
begin
|
62
|
+
GRB_ERROR_NULL_ARGUMENT = 10002
|
63
|
+
rescue NameError => e
|
64
|
+
raise e if( $DEBUG )
|
65
|
+
end # 42
|
66
|
+
begin
|
67
|
+
GRB_ERROR_INVALID_ARGUMENT = 10003
|
68
|
+
rescue NameError => e
|
69
|
+
raise e if( $DEBUG )
|
70
|
+
end # 43
|
71
|
+
begin
|
72
|
+
GRB_ERROR_UNKNOWN_ATTRIBUTE = 10004
|
73
|
+
rescue NameError => e
|
74
|
+
raise e if( $DEBUG )
|
75
|
+
end # 44
|
76
|
+
begin
|
77
|
+
GRB_ERROR_DATA_NOT_AVAILABLE = 10005
|
78
|
+
rescue NameError => e
|
79
|
+
raise e if( $DEBUG )
|
80
|
+
end # 45
|
81
|
+
begin
|
82
|
+
GRB_ERROR_INDEX_OUT_OF_RANGE = 10006
|
83
|
+
rescue NameError => e
|
84
|
+
raise e if( $DEBUG )
|
85
|
+
end # 46
|
86
|
+
begin
|
87
|
+
GRB_ERROR_UNKNOWN_PARAMETER = 10007
|
88
|
+
rescue NameError => e
|
89
|
+
raise e if( $DEBUG )
|
90
|
+
end # 47
|
91
|
+
begin
|
92
|
+
GRB_ERROR_VALUE_OUT_OF_RANGE = 10008
|
93
|
+
rescue NameError => e
|
94
|
+
raise e if( $DEBUG )
|
95
|
+
end # 48
|
96
|
+
begin
|
97
|
+
GRB_ERROR_NO_LICENSE = 10009
|
98
|
+
rescue NameError => e
|
99
|
+
raise e if( $DEBUG )
|
100
|
+
end # 49
|
101
|
+
begin
|
102
|
+
GRB_ERROR_SIZE_LIMIT_EXCEEDED = 10010
|
103
|
+
rescue NameError => e
|
104
|
+
raise e if( $DEBUG )
|
105
|
+
end # 50
|
106
|
+
begin
|
107
|
+
GRB_ERROR_CALLBACK = 10011
|
108
|
+
rescue NameError => e
|
109
|
+
raise e if( $DEBUG )
|
110
|
+
end # 51
|
111
|
+
begin
|
112
|
+
GRB_ERROR_FILE_READ = 10012
|
113
|
+
rescue NameError => e
|
114
|
+
raise e if( $DEBUG )
|
115
|
+
end # 52
|
116
|
+
begin
|
117
|
+
GRB_ERROR_FILE_WRITE = 10013
|
118
|
+
rescue NameError => e
|
119
|
+
raise e if( $DEBUG )
|
120
|
+
end # 53
|
121
|
+
begin
|
122
|
+
GRB_ERROR_NUMERIC = 10014
|
123
|
+
rescue NameError => e
|
124
|
+
raise e if( $DEBUG )
|
125
|
+
end # 54
|
126
|
+
begin
|
127
|
+
GRB_ERROR_IIS_NOT_INFEASIBLE = 10015
|
128
|
+
rescue NameError => e
|
129
|
+
raise e if( $DEBUG )
|
130
|
+
end # 55
|
131
|
+
begin
|
132
|
+
GRB_ERROR_NOT_FOR_MIP = 10016
|
133
|
+
rescue NameError => e
|
134
|
+
raise e if( $DEBUG )
|
135
|
+
end # 56
|
136
|
+
begin
|
137
|
+
GRB_ERROR_OPTIMIZATION_IN_PROGRESS = 10017
|
138
|
+
rescue NameError => e
|
139
|
+
raise e if( $DEBUG )
|
140
|
+
end # 57
|
141
|
+
begin
|
142
|
+
GRB_ERROR_DUPLICATES = 10018
|
143
|
+
rescue NameError => e
|
144
|
+
raise e if( $DEBUG )
|
145
|
+
end # 58
|
146
|
+
begin
|
147
|
+
GRB_ERROR_NODEFILE = 10019
|
148
|
+
rescue NameError => e
|
149
|
+
raise e if( $DEBUG )
|
150
|
+
end # 59
|
151
|
+
begin
|
152
|
+
GRB_ERROR_Q_NOT_PSD = 10020
|
153
|
+
rescue NameError => e
|
154
|
+
raise e if( $DEBUG )
|
155
|
+
end # 60
|
156
|
+
begin
|
157
|
+
GRB_ERROR_QCP_EQUALITY_CONSTRAINT = 10021
|
158
|
+
rescue NameError => e
|
159
|
+
raise e if( $DEBUG )
|
160
|
+
end # 61
|
161
|
+
begin
|
162
|
+
GRB_ERROR_NETWORK = 10022
|
163
|
+
rescue NameError => e
|
164
|
+
raise e if( $DEBUG )
|
165
|
+
end # 62
|
166
|
+
begin
|
167
|
+
GRB_ERROR_JOB_REJECTED = 10023
|
168
|
+
rescue NameError => e
|
169
|
+
raise e if( $DEBUG )
|
170
|
+
end # 63
|
171
|
+
begin
|
172
|
+
GRB_ERROR_NOT_SUPPORTED = 10024
|
173
|
+
rescue NameError => e
|
174
|
+
raise e if( $DEBUG )
|
175
|
+
end # 64
|
176
|
+
begin
|
177
|
+
GRB_LESS_EQUAL = '<'
|
178
|
+
rescue NameError => e
|
179
|
+
raise e if( $DEBUG )
|
180
|
+
end # 68
|
181
|
+
begin
|
182
|
+
GRB_GREATER_EQUAL = '>'
|
183
|
+
rescue NameError => e
|
184
|
+
raise e if( $DEBUG )
|
185
|
+
end # 69
|
186
|
+
begin
|
187
|
+
GRB_EQUAL = '='
|
188
|
+
rescue NameError => e
|
189
|
+
raise e if( $DEBUG )
|
190
|
+
end # 70
|
191
|
+
begin
|
192
|
+
GRB_CONTINUOUS = 'C'
|
193
|
+
rescue NameError => e
|
194
|
+
raise e if( $DEBUG )
|
195
|
+
end # 74
|
196
|
+
begin
|
197
|
+
GRB_BINARY = 'B'
|
198
|
+
rescue NameError => e
|
199
|
+
raise e if( $DEBUG )
|
200
|
+
end # 75
|
201
|
+
begin
|
202
|
+
GRB_INTEGER = 'I'
|
203
|
+
rescue NameError => e
|
204
|
+
raise e if( $DEBUG )
|
205
|
+
end # 76
|
206
|
+
begin
|
207
|
+
GRB_SEMICONT = 'S'
|
208
|
+
rescue NameError => e
|
209
|
+
raise e if( $DEBUG )
|
210
|
+
end # 77
|
211
|
+
begin
|
212
|
+
GRB_SEMIINT = 'N'
|
213
|
+
rescue NameError => e
|
214
|
+
raise e if( $DEBUG )
|
215
|
+
end # 78
|
216
|
+
begin
|
217
|
+
GRB_MINIMIZE = 1
|
218
|
+
rescue NameError => e
|
219
|
+
raise e if( $DEBUG )
|
220
|
+
end # 82
|
221
|
+
begin
|
222
|
+
GRB_MAXIMIZE = -1
|
223
|
+
rescue NameError => e
|
224
|
+
raise e if( $DEBUG )
|
225
|
+
end # 83
|
226
|
+
begin
|
227
|
+
GRB_SOS_TYPE1 = 1
|
228
|
+
rescue NameError => e
|
229
|
+
raise e if( $DEBUG )
|
230
|
+
end # 87
|
231
|
+
begin
|
232
|
+
GRB_SOS_TYPE2 = 2
|
233
|
+
rescue NameError => e
|
234
|
+
raise e if( $DEBUG )
|
235
|
+
end # 88
|
236
|
+
begin
|
237
|
+
GRB_INFINITY = 1e100
|
238
|
+
rescue NameError => e
|
239
|
+
raise e if( $DEBUG )
|
240
|
+
end # 92
|
241
|
+
begin
|
242
|
+
GRB_UNDEFINED = 1e101
|
243
|
+
rescue NameError => e
|
244
|
+
raise e if( $DEBUG )
|
245
|
+
end # 93
|
246
|
+
begin
|
247
|
+
GRB_MAXINT = 2000000000
|
248
|
+
rescue NameError => e
|
249
|
+
raise e if( $DEBUG )
|
250
|
+
end # 94
|
251
|
+
begin
|
252
|
+
GRB_MAX_NAMELEN = 255
|
253
|
+
rescue NameError => e
|
254
|
+
raise e if( $DEBUG )
|
255
|
+
end # 98
|
256
|
+
begin
|
257
|
+
GRB_MAX_STRLEN = 512
|
258
|
+
rescue NameError => e
|
259
|
+
raise e if( $DEBUG )
|
260
|
+
end # 99
|
261
|
+
begin
|
262
|
+
GRB_MAX_CONCURRENT = 16
|
263
|
+
rescue NameError => e
|
264
|
+
raise e if( $DEBUG )
|
265
|
+
end # 100
|
266
|
+
begin
|
267
|
+
CB_ARGS = nil # GRBmodel *model, void *cbdata, int where, void *usrdata
|
268
|
+
rescue NameError => e
|
269
|
+
raise e if( $DEBUG )
|
270
|
+
end # 196
|
271
|
+
begin
|
272
|
+
GRB_INT_ATTR_NUMCONSTRS = "NumConstrs"
|
273
|
+
rescue NameError => e
|
274
|
+
raise e if( $DEBUG )
|
275
|
+
end # 228
|
276
|
+
begin
|
277
|
+
GRB_INT_ATTR_NUMVARS = "NumVars"
|
278
|
+
rescue NameError => e
|
279
|
+
raise e if( $DEBUG )
|
280
|
+
end # 229
|
281
|
+
begin
|
282
|
+
GRB_INT_ATTR_NUMSOS = "NumSOS"
|
283
|
+
rescue NameError => e
|
284
|
+
raise e if( $DEBUG )
|
285
|
+
end # 230
|
286
|
+
begin
|
287
|
+
GRB_INT_ATTR_NUMQCONSTRS = "NumQConstrs"
|
288
|
+
rescue NameError => e
|
289
|
+
raise e if( $DEBUG )
|
290
|
+
end # 231
|
291
|
+
begin
|
292
|
+
GRB_INT_ATTR_NUMNZS = "NumNZs"
|
293
|
+
rescue NameError => e
|
294
|
+
raise e if( $DEBUG )
|
295
|
+
end # 232
|
296
|
+
begin
|
297
|
+
GRB_INT_ATTR_NUMQNZS = "NumQNZs"
|
298
|
+
rescue NameError => e
|
299
|
+
raise e if( $DEBUG )
|
300
|
+
end # 233
|
301
|
+
begin
|
302
|
+
GRB_INT_ATTR_NUMQCNZS = "NumQCNZs"
|
303
|
+
rescue NameError => e
|
304
|
+
raise e if( $DEBUG )
|
305
|
+
end # 234
|
306
|
+
begin
|
307
|
+
GRB_INT_ATTR_NUMINTVARS = "NumIntVars"
|
308
|
+
rescue NameError => e
|
309
|
+
raise e if( $DEBUG )
|
310
|
+
end # 235
|
311
|
+
begin
|
312
|
+
GRB_INT_ATTR_NUMBINVARS = "NumBinVars"
|
313
|
+
rescue NameError => e
|
314
|
+
raise e if( $DEBUG )
|
315
|
+
end # 236
|
316
|
+
begin
|
317
|
+
GRB_STR_ATTR_MODELNAME = "ModelName"
|
318
|
+
rescue NameError => e
|
319
|
+
raise e if( $DEBUG )
|
320
|
+
end # 237
|
321
|
+
begin
|
322
|
+
GRB_INT_ATTR_MODELSENSE = "ModelSense"
|
323
|
+
rescue NameError => e
|
324
|
+
raise e if( $DEBUG )
|
325
|
+
end # 238
|
326
|
+
begin
|
327
|
+
GRB_DBL_ATTR_OBJCON = "ObjCon"
|
328
|
+
rescue NameError => e
|
329
|
+
raise e if( $DEBUG )
|
330
|
+
end # 239
|
331
|
+
begin
|
332
|
+
GRB_INT_ATTR_IS_MIP = "IsMIP"
|
333
|
+
rescue NameError => e
|
334
|
+
raise e if( $DEBUG )
|
335
|
+
end # 240
|
336
|
+
begin
|
337
|
+
GRB_INT_ATTR_IS_QP = "IsQP"
|
338
|
+
rescue NameError => e
|
339
|
+
raise e if( $DEBUG )
|
340
|
+
end # 241
|
341
|
+
begin
|
342
|
+
GRB_INT_ATTR_IS_QCP = "IsQCP"
|
343
|
+
rescue NameError => e
|
344
|
+
raise e if( $DEBUG )
|
345
|
+
end # 242
|
346
|
+
begin
|
347
|
+
GRB_STR_ATTR_SERVER = "Server"
|
348
|
+
rescue NameError => e
|
349
|
+
raise e if( $DEBUG )
|
350
|
+
end # 243
|
351
|
+
begin
|
352
|
+
GRB_DBL_ATTR_LB = "LB"
|
353
|
+
rescue NameError => e
|
354
|
+
raise e if( $DEBUG )
|
355
|
+
end # 247
|
356
|
+
begin
|
357
|
+
GRB_DBL_ATTR_UB = "UB"
|
358
|
+
rescue NameError => e
|
359
|
+
raise e if( $DEBUG )
|
360
|
+
end # 248
|
361
|
+
begin
|
362
|
+
GRB_DBL_ATTR_OBJ = "Obj"
|
363
|
+
rescue NameError => e
|
364
|
+
raise e if( $DEBUG )
|
365
|
+
end # 249
|
366
|
+
begin
|
367
|
+
GRB_CHAR_ATTR_VTYPE = "VType"
|
368
|
+
rescue NameError => e
|
369
|
+
raise e if( $DEBUG )
|
370
|
+
end # 250
|
371
|
+
begin
|
372
|
+
GRB_DBL_ATTR_START = "Start"
|
373
|
+
rescue NameError => e
|
374
|
+
raise e if( $DEBUG )
|
375
|
+
end # 251
|
376
|
+
begin
|
377
|
+
GRB_DBL_ATTR_PSTART = "PStart"
|
378
|
+
rescue NameError => e
|
379
|
+
raise e if( $DEBUG )
|
380
|
+
end # 252
|
381
|
+
begin
|
382
|
+
GRB_INT_ATTR_BRANCHPRIORITY = "BranchPriority"
|
383
|
+
rescue NameError => e
|
384
|
+
raise e if( $DEBUG )
|
385
|
+
end # 253
|
386
|
+
begin
|
387
|
+
GRB_STR_ATTR_VARNAME = "VarName"
|
388
|
+
rescue NameError => e
|
389
|
+
raise e if( $DEBUG )
|
390
|
+
end # 254
|
391
|
+
begin
|
392
|
+
GRB_DBL_ATTR_RHS = "RHS"
|
393
|
+
rescue NameError => e
|
394
|
+
raise e if( $DEBUG )
|
395
|
+
end # 258
|
396
|
+
begin
|
397
|
+
GRB_DBL_ATTR_DSTART = "DStart"
|
398
|
+
rescue NameError => e
|
399
|
+
raise e if( $DEBUG )
|
400
|
+
end # 259
|
401
|
+
begin
|
402
|
+
GRB_CHAR_ATTR_SENSE = "Sense"
|
403
|
+
rescue NameError => e
|
404
|
+
raise e if( $DEBUG )
|
405
|
+
end # 260
|
406
|
+
begin
|
407
|
+
GRB_STR_ATTR_CONSTRNAME = "ConstrName"
|
408
|
+
rescue NameError => e
|
409
|
+
raise e if( $DEBUG )
|
410
|
+
end # 261
|
411
|
+
begin
|
412
|
+
GRB_DBL_ATTR_QCRHS = "QCRHS"
|
413
|
+
rescue NameError => e
|
414
|
+
raise e if( $DEBUG )
|
415
|
+
end # 265
|
416
|
+
begin
|
417
|
+
GRB_CHAR_ATTR_QCSENSE = "QCSense"
|
418
|
+
rescue NameError => e
|
419
|
+
raise e if( $DEBUG )
|
420
|
+
end # 266
|
421
|
+
begin
|
422
|
+
GRB_STR_ATTR_QCNAME = "QCName"
|
423
|
+
rescue NameError => e
|
424
|
+
raise e if( $DEBUG )
|
425
|
+
end # 267
|
426
|
+
begin
|
427
|
+
GRB_DBL_ATTR_MAX_COEFF = "MaxCoeff"
|
428
|
+
rescue NameError => e
|
429
|
+
raise e if( $DEBUG )
|
430
|
+
end # 271
|
431
|
+
begin
|
432
|
+
GRB_DBL_ATTR_MIN_COEFF = "MinCoeff"
|
433
|
+
rescue NameError => e
|
434
|
+
raise e if( $DEBUG )
|
435
|
+
end # 272
|
436
|
+
begin
|
437
|
+
GRB_DBL_ATTR_MAX_BOUND = "MaxBound"
|
438
|
+
rescue NameError => e
|
439
|
+
raise e if( $DEBUG )
|
440
|
+
end # 273
|
441
|
+
begin
|
442
|
+
GRB_DBL_ATTR_MIN_BOUND = "MinBound"
|
443
|
+
rescue NameError => e
|
444
|
+
raise e if( $DEBUG )
|
445
|
+
end # 274
|
446
|
+
begin
|
447
|
+
GRB_DBL_ATTR_MAX_OBJ_COEFF = "MaxObjCoeff"
|
448
|
+
rescue NameError => e
|
449
|
+
raise e if( $DEBUG )
|
450
|
+
end # 275
|
451
|
+
begin
|
452
|
+
GRB_DBL_ATTR_MIN_OBJ_COEFF = "MinObjCoeff"
|
453
|
+
rescue NameError => e
|
454
|
+
raise e if( $DEBUG )
|
455
|
+
end # 276
|
456
|
+
begin
|
457
|
+
GRB_DBL_ATTR_MAX_RHS = "MaxRHS"
|
458
|
+
rescue NameError => e
|
459
|
+
raise e if( $DEBUG )
|
460
|
+
end # 277
|
461
|
+
begin
|
462
|
+
GRB_DBL_ATTR_MIN_RHS = "MinRHS"
|
463
|
+
rescue NameError => e
|
464
|
+
raise e if( $DEBUG )
|
465
|
+
end # 278
|
466
|
+
begin
|
467
|
+
GRB_DBL_ATTR_RUNTIME = "Runtime"
|
468
|
+
rescue NameError => e
|
469
|
+
raise e if( $DEBUG )
|
470
|
+
end # 282
|
471
|
+
begin
|
472
|
+
GRB_INT_ATTR_STATUS = "Status"
|
473
|
+
rescue NameError => e
|
474
|
+
raise e if( $DEBUG )
|
475
|
+
end # 283
|
476
|
+
begin
|
477
|
+
GRB_DBL_ATTR_OBJVAL = "ObjVal"
|
478
|
+
rescue NameError => e
|
479
|
+
raise e if( $DEBUG )
|
480
|
+
end # 284
|
481
|
+
begin
|
482
|
+
GRB_DBL_ATTR_OBJBOUND = "ObjBound"
|
483
|
+
rescue NameError => e
|
484
|
+
raise e if( $DEBUG )
|
485
|
+
end # 285
|
486
|
+
begin
|
487
|
+
GRB_DBL_ATTR_MIPGAP = "MIPGap"
|
488
|
+
rescue NameError => e
|
489
|
+
raise e if( $DEBUG )
|
490
|
+
end # 286
|
491
|
+
begin
|
492
|
+
GRB_INT_ATTR_SOLCOUNT = "SolCount"
|
493
|
+
rescue NameError => e
|
494
|
+
raise e if( $DEBUG )
|
495
|
+
end # 287
|
496
|
+
begin
|
497
|
+
GRB_DBL_ATTR_ITERCOUNT = "IterCount"
|
498
|
+
rescue NameError => e
|
499
|
+
raise e if( $DEBUG )
|
500
|
+
end # 288
|
501
|
+
begin
|
502
|
+
GRB_INT_ATTR_BARITERCOUNT = "BarIterCount"
|
503
|
+
rescue NameError => e
|
504
|
+
raise e if( $DEBUG )
|
505
|
+
end # 289
|
506
|
+
begin
|
507
|
+
GRB_DBL_ATTR_NODECOUNT = "NodeCount"
|
508
|
+
rescue NameError => e
|
509
|
+
raise e if( $DEBUG )
|
510
|
+
end # 290
|
511
|
+
begin
|
512
|
+
GRB_INT_ATTR_HASDUALNORM = "HasDualNorm"
|
513
|
+
rescue NameError => e
|
514
|
+
raise e if( $DEBUG )
|
515
|
+
end # 291
|
516
|
+
begin
|
517
|
+
GRB_DBL_ATTR_X = "X"
|
518
|
+
rescue NameError => e
|
519
|
+
raise e if( $DEBUG )
|
520
|
+
end # 297
|
521
|
+
begin
|
522
|
+
GRB_DBL_ATTR_Xn = "Xn"
|
523
|
+
rescue NameError => e
|
524
|
+
raise e if( $DEBUG )
|
525
|
+
end # 298
|
526
|
+
begin
|
527
|
+
GRB_DBL_ATTR_RC = "RC"
|
528
|
+
rescue NameError => e
|
529
|
+
raise e if( $DEBUG )
|
530
|
+
end # 299
|
531
|
+
begin
|
532
|
+
GRB_DBL_ATTR_VDUALNORM = "VDualNorm"
|
533
|
+
rescue NameError => e
|
534
|
+
raise e if( $DEBUG )
|
535
|
+
end # 300
|
536
|
+
begin
|
537
|
+
GRB_INT_ATTR_VBASIS = "VBasis"
|
538
|
+
rescue NameError => e
|
539
|
+
raise e if( $DEBUG )
|
540
|
+
end # 301
|
541
|
+
begin
|
542
|
+
GRB_DBL_ATTR_PI = "Pi"
|
543
|
+
rescue NameError => e
|
544
|
+
raise e if( $DEBUG )
|
545
|
+
end # 305
|
546
|
+
begin
|
547
|
+
GRB_DBL_ATTR_QCPI = "QCPi"
|
548
|
+
rescue NameError => e
|
549
|
+
raise e if( $DEBUG )
|
550
|
+
end # 306
|
551
|
+
begin
|
552
|
+
GRB_DBL_ATTR_SLACK = "Slack"
|
553
|
+
rescue NameError => e
|
554
|
+
raise e if( $DEBUG )
|
555
|
+
end # 307
|
556
|
+
begin
|
557
|
+
GRB_DBL_ATTR_QCSLACK = "QCSlack"
|
558
|
+
rescue NameError => e
|
559
|
+
raise e if( $DEBUG )
|
560
|
+
end # 308
|
561
|
+
begin
|
562
|
+
GRB_DBL_ATTR_CDUALNORM = "CDualNorm"
|
563
|
+
rescue NameError => e
|
564
|
+
raise e if( $DEBUG )
|
565
|
+
end # 309
|
566
|
+
begin
|
567
|
+
GRB_INT_ATTR_CBASIS = "CBasis"
|
568
|
+
rescue NameError => e
|
569
|
+
raise e if( $DEBUG )
|
570
|
+
end # 310
|
571
|
+
begin
|
572
|
+
GRB_DBL_ATTR_BOUND_VIO = "BoundVio"
|
573
|
+
rescue NameError => e
|
574
|
+
raise e if( $DEBUG )
|
575
|
+
end # 314
|
576
|
+
begin
|
577
|
+
GRB_DBL_ATTR_BOUND_SVIO = "BoundSVio"
|
578
|
+
rescue NameError => e
|
579
|
+
raise e if( $DEBUG )
|
580
|
+
end # 315
|
581
|
+
begin
|
582
|
+
GRB_INT_ATTR_BOUND_VIO_INDEX = "BoundVioIndex"
|
583
|
+
rescue NameError => e
|
584
|
+
raise e if( $DEBUG )
|
585
|
+
end # 316
|
586
|
+
begin
|
587
|
+
GRB_INT_ATTR_BOUND_SVIO_INDEX = "BoundSVioIndex"
|
588
|
+
rescue NameError => e
|
589
|
+
raise e if( $DEBUG )
|
590
|
+
end # 317
|
591
|
+
begin
|
592
|
+
GRB_DBL_ATTR_BOUND_VIO_SUM = "BoundVioSum"
|
593
|
+
rescue NameError => e
|
594
|
+
raise e if( $DEBUG )
|
595
|
+
end # 318
|
596
|
+
begin
|
597
|
+
GRB_DBL_ATTR_BOUND_SVIO_SUM = "BoundSVioSum"
|
598
|
+
rescue NameError => e
|
599
|
+
raise e if( $DEBUG )
|
600
|
+
end # 319
|
601
|
+
begin
|
602
|
+
GRB_DBL_ATTR_CONSTR_VIO = "ConstrVio"
|
603
|
+
rescue NameError => e
|
604
|
+
raise e if( $DEBUG )
|
605
|
+
end # 320
|
606
|
+
begin
|
607
|
+
GRB_DBL_ATTR_CONSTR_SVIO = "ConstrSVio"
|
608
|
+
rescue NameError => e
|
609
|
+
raise e if( $DEBUG )
|
610
|
+
end # 321
|
611
|
+
begin
|
612
|
+
GRB_INT_ATTR_CONSTR_VIO_INDEX = "ConstrVioIndex"
|
613
|
+
rescue NameError => e
|
614
|
+
raise e if( $DEBUG )
|
615
|
+
end # 322
|
616
|
+
begin
|
617
|
+
GRB_INT_ATTR_CONSTR_SVIO_INDEX = "ConstrSVioIndex"
|
618
|
+
rescue NameError => e
|
619
|
+
raise e if( $DEBUG )
|
620
|
+
end # 323
|
621
|
+
begin
|
622
|
+
GRB_DBL_ATTR_CONSTR_VIO_SUM = "ConstrVioSum"
|
623
|
+
rescue NameError => e
|
624
|
+
raise e if( $DEBUG )
|
625
|
+
end # 324
|
626
|
+
begin
|
627
|
+
GRB_DBL_ATTR_CONSTR_SVIO_SUM = "ConstrSVioSum"
|
628
|
+
rescue NameError => e
|
629
|
+
raise e if( $DEBUG )
|
630
|
+
end # 325
|
631
|
+
begin
|
632
|
+
GRB_DBL_ATTR_CONSTR_RESIDUAL = "ConstrResidual"
|
633
|
+
rescue NameError => e
|
634
|
+
raise e if( $DEBUG )
|
635
|
+
end # 326
|
636
|
+
begin
|
637
|
+
GRB_DBL_ATTR_CONSTR_SRESIDUAL = "ConstrSResidual"
|
638
|
+
rescue NameError => e
|
639
|
+
raise e if( $DEBUG )
|
640
|
+
end # 327
|
641
|
+
begin
|
642
|
+
GRB_INT_ATTR_CONSTR_RESIDUAL_INDEX = "ConstrResidualIndex"
|
643
|
+
rescue NameError => e
|
644
|
+
raise e if( $DEBUG )
|
645
|
+
end # 328
|
646
|
+
begin
|
647
|
+
GRB_INT_ATTR_CONSTR_SRESIDUAL_INDEX = "ConstrSResidualIndex"
|
648
|
+
rescue NameError => e
|
649
|
+
raise e if( $DEBUG )
|
650
|
+
end # 329
|
651
|
+
begin
|
652
|
+
GRB_DBL_ATTR_CONSTR_RESIDUAL_SUM = "ConstrResidualSum"
|
653
|
+
rescue NameError => e
|
654
|
+
raise e if( $DEBUG )
|
655
|
+
end # 330
|
656
|
+
begin
|
657
|
+
GRB_DBL_ATTR_CONSTR_SRESIDUAL_SUM = "ConstrSResidualSum"
|
658
|
+
rescue NameError => e
|
659
|
+
raise e if( $DEBUG )
|
660
|
+
end # 331
|
661
|
+
begin
|
662
|
+
GRB_DBL_ATTR_DUAL_VIO = "DualVio"
|
663
|
+
rescue NameError => e
|
664
|
+
raise e if( $DEBUG )
|
665
|
+
end # 332
|
666
|
+
begin
|
667
|
+
GRB_DBL_ATTR_DUAL_SVIO = "DualSVio"
|
668
|
+
rescue NameError => e
|
669
|
+
raise e if( $DEBUG )
|
670
|
+
end # 333
|
671
|
+
begin
|
672
|
+
GRB_INT_ATTR_DUAL_VIO_INDEX = "DualVioIndex"
|
673
|
+
rescue NameError => e
|
674
|
+
raise e if( $DEBUG )
|
675
|
+
end # 334
|
676
|
+
begin
|
677
|
+
GRB_INT_ATTR_DUAL_SVIO_INDEX = "DualSVioIndex"
|
678
|
+
rescue NameError => e
|
679
|
+
raise e if( $DEBUG )
|
680
|
+
end # 335
|
681
|
+
begin
|
682
|
+
GRB_DBL_ATTR_DUAL_VIO_SUM = "DualVioSum"
|
683
|
+
rescue NameError => e
|
684
|
+
raise e if( $DEBUG )
|
685
|
+
end # 336
|
686
|
+
begin
|
687
|
+
GRB_DBL_ATTR_DUAL_SVIO_SUM = "DualSVioSum"
|
688
|
+
rescue NameError => e
|
689
|
+
raise e if( $DEBUG )
|
690
|
+
end # 337
|
691
|
+
begin
|
692
|
+
GRB_DBL_ATTR_DUAL_RESIDUAL = "DualResidual"
|
693
|
+
rescue NameError => e
|
694
|
+
raise e if( $DEBUG )
|
695
|
+
end # 338
|
696
|
+
begin
|
697
|
+
GRB_DBL_ATTR_DUAL_SRESIDUAL = "DualSResidual"
|
698
|
+
rescue NameError => e
|
699
|
+
raise e if( $DEBUG )
|
700
|
+
end # 339
|
701
|
+
begin
|
702
|
+
GRB_INT_ATTR_DUAL_RESIDUAL_INDEX = "DualResidualIndex"
|
703
|
+
rescue NameError => e
|
704
|
+
raise e if( $DEBUG )
|
705
|
+
end # 340
|
706
|
+
begin
|
707
|
+
GRB_INT_ATTR_DUAL_SRESIDUAL_INDEX = "DualSResidualIndex"
|
708
|
+
rescue NameError => e
|
709
|
+
raise e if( $DEBUG )
|
710
|
+
end # 341
|
711
|
+
begin
|
712
|
+
GRB_DBL_ATTR_DUAL_RESIDUAL_SUM = "DualResidualSum"
|
713
|
+
rescue NameError => e
|
714
|
+
raise e if( $DEBUG )
|
715
|
+
end # 342
|
716
|
+
begin
|
717
|
+
GRB_DBL_ATTR_DUAL_SRESIDUAL_SUM = "DualSResidualSum"
|
718
|
+
rescue NameError => e
|
719
|
+
raise e if( $DEBUG )
|
720
|
+
end # 343
|
721
|
+
begin
|
722
|
+
GRB_DBL_ATTR_INT_VIO = "IntVio"
|
723
|
+
rescue NameError => e
|
724
|
+
raise e if( $DEBUG )
|
725
|
+
end # 344
|
726
|
+
begin
|
727
|
+
GRB_INT_ATTR_INT_VIO_INDEX = "IntVioIndex"
|
728
|
+
rescue NameError => e
|
729
|
+
raise e if( $DEBUG )
|
730
|
+
end # 345
|
731
|
+
begin
|
732
|
+
GRB_DBL_ATTR_INT_VIO_SUM = "IntVioSum"
|
733
|
+
rescue NameError => e
|
734
|
+
raise e if( $DEBUG )
|
735
|
+
end # 346
|
736
|
+
begin
|
737
|
+
GRB_DBL_ATTR_COMPL_VIO = "ComplVio"
|
738
|
+
rescue NameError => e
|
739
|
+
raise e if( $DEBUG )
|
740
|
+
end # 347
|
741
|
+
begin
|
742
|
+
GRB_INT_ATTR_COMPL_VIO_INDEX = "ComplVioIndex"
|
743
|
+
rescue NameError => e
|
744
|
+
raise e if( $DEBUG )
|
745
|
+
end # 348
|
746
|
+
begin
|
747
|
+
GRB_DBL_ATTR_COMPL_VIO_SUM = "ComplVioSum"
|
748
|
+
rescue NameError => e
|
749
|
+
raise e if( $DEBUG )
|
750
|
+
end # 349
|
751
|
+
begin
|
752
|
+
GRB_DBL_ATTR_KAPPA = "Kappa"
|
753
|
+
rescue NameError => e
|
754
|
+
raise e if( $DEBUG )
|
755
|
+
end # 350
|
756
|
+
begin
|
757
|
+
GRB_DBL_ATTR_KAPPA_EXACT = "KappaExact"
|
758
|
+
rescue NameError => e
|
759
|
+
raise e if( $DEBUG )
|
760
|
+
end # 351
|
761
|
+
begin
|
762
|
+
GRB_DBL_ATTR_N2KAPPA = "N2Kappa"
|
763
|
+
rescue NameError => e
|
764
|
+
raise e if( $DEBUG )
|
765
|
+
end # 352
|
766
|
+
begin
|
767
|
+
GRB_DBL_ATTR_SA_OBJLOW = "SAObjLow"
|
768
|
+
rescue NameError => e
|
769
|
+
raise e if( $DEBUG )
|
770
|
+
end # 356
|
771
|
+
begin
|
772
|
+
GRB_DBL_ATTR_SA_OBJUP = "SAObjUp"
|
773
|
+
rescue NameError => e
|
774
|
+
raise e if( $DEBUG )
|
775
|
+
end # 357
|
776
|
+
begin
|
777
|
+
GRB_DBL_ATTR_SA_LBLOW = "SALBLow"
|
778
|
+
rescue NameError => e
|
779
|
+
raise e if( $DEBUG )
|
780
|
+
end # 358
|
781
|
+
begin
|
782
|
+
GRB_DBL_ATTR_SA_LBUP = "SALBUp"
|
783
|
+
rescue NameError => e
|
784
|
+
raise e if( $DEBUG )
|
785
|
+
end # 359
|
786
|
+
begin
|
787
|
+
GRB_DBL_ATTR_SA_UBLOW = "SAUBLow"
|
788
|
+
rescue NameError => e
|
789
|
+
raise e if( $DEBUG )
|
790
|
+
end # 360
|
791
|
+
begin
|
792
|
+
GRB_DBL_ATTR_SA_UBUP = "SAUBUp"
|
793
|
+
rescue NameError => e
|
794
|
+
raise e if( $DEBUG )
|
795
|
+
end # 361
|
796
|
+
begin
|
797
|
+
GRB_DBL_ATTR_SA_RHSLOW = "SARHSLow"
|
798
|
+
rescue NameError => e
|
799
|
+
raise e if( $DEBUG )
|
800
|
+
end # 362
|
801
|
+
begin
|
802
|
+
GRB_DBL_ATTR_SA_RHSUP = "SARHSUp"
|
803
|
+
rescue NameError => e
|
804
|
+
raise e if( $DEBUG )
|
805
|
+
end # 363
|
806
|
+
begin
|
807
|
+
GRB_INT_ATTR_IIS_MINIMAL = "IISMinimal"
|
808
|
+
rescue NameError => e
|
809
|
+
raise e if( $DEBUG )
|
810
|
+
end # 367
|
811
|
+
begin
|
812
|
+
GRB_INT_ATTR_IIS_LB = "IISLB"
|
813
|
+
rescue NameError => e
|
814
|
+
raise e if( $DEBUG )
|
815
|
+
end # 368
|
816
|
+
begin
|
817
|
+
GRB_INT_ATTR_IIS_UB = "IISUB"
|
818
|
+
rescue NameError => e
|
819
|
+
raise e if( $DEBUG )
|
820
|
+
end # 369
|
821
|
+
begin
|
822
|
+
GRB_INT_ATTR_IIS_CONSTR = "IISConstr"
|
823
|
+
rescue NameError => e
|
824
|
+
raise e if( $DEBUG )
|
825
|
+
end # 370
|
826
|
+
begin
|
827
|
+
GRB_INT_ATTR_IIS_SOS = "IISSOS"
|
828
|
+
rescue NameError => e
|
829
|
+
raise e if( $DEBUG )
|
830
|
+
end # 371
|
831
|
+
begin
|
832
|
+
GRB_INT_ATTR_IIS_QCONSTR = "IISQConstr"
|
833
|
+
rescue NameError => e
|
834
|
+
raise e if( $DEBUG )
|
835
|
+
end # 372
|
836
|
+
begin
|
837
|
+
GRB_INT_ATTR_TUNE_RESULTCOUNT = "TuneResultCount"
|
838
|
+
rescue NameError => e
|
839
|
+
raise e if( $DEBUG )
|
840
|
+
end # 376
|
841
|
+
begin
|
842
|
+
GRB_DBL_ATTR_FARKASDUAL = "FarkasDual"
|
843
|
+
rescue NameError => e
|
844
|
+
raise e if( $DEBUG )
|
845
|
+
end # 380
|
846
|
+
begin
|
847
|
+
GRB_DBL_ATTR_FARKASPROOF = "FarkasProof"
|
848
|
+
rescue NameError => e
|
849
|
+
raise e if( $DEBUG )
|
850
|
+
end # 381
|
851
|
+
begin
|
852
|
+
GRB_DBL_ATTR_UNBDRAY = "UnbdRay"
|
853
|
+
rescue NameError => e
|
854
|
+
raise e if( $DEBUG )
|
855
|
+
end # 382
|
856
|
+
begin
|
857
|
+
GRB_INT_ATTR_INFEASVAR = "InfeasVar"
|
858
|
+
rescue NameError => e
|
859
|
+
raise e if( $DEBUG )
|
860
|
+
end # 383
|
861
|
+
begin
|
862
|
+
GRB_INT_ATTR_UNBDVAR = "UnbdVar"
|
863
|
+
rescue NameError => e
|
864
|
+
raise e if( $DEBUG )
|
865
|
+
end # 384
|
866
|
+
begin
|
867
|
+
GRB_INT_ATTR_VARPRESTAT = "VarPreStat"
|
868
|
+
rescue NameError => e
|
869
|
+
raise e if( $DEBUG )
|
870
|
+
end # 388
|
871
|
+
begin
|
872
|
+
GRB_DBL_ATTR_PREFIXVAL = "PreFixVal"
|
873
|
+
rescue NameError => e
|
874
|
+
raise e if( $DEBUG )
|
875
|
+
end # 389
|
876
|
+
begin
|
877
|
+
GRB_CB_POLLING = 0
|
878
|
+
rescue NameError => e
|
879
|
+
raise e if( $DEBUG )
|
880
|
+
end # 397
|
881
|
+
begin
|
882
|
+
GRB_CB_PRESOLVE = 1
|
883
|
+
rescue NameError => e
|
884
|
+
raise e if( $DEBUG )
|
885
|
+
end # 398
|
886
|
+
begin
|
887
|
+
GRB_CB_SIMPLEX = 2
|
888
|
+
rescue NameError => e
|
889
|
+
raise e if( $DEBUG )
|
890
|
+
end # 399
|
891
|
+
begin
|
892
|
+
GRB_CB_MIP = 3
|
893
|
+
rescue NameError => e
|
894
|
+
raise e if( $DEBUG )
|
895
|
+
end # 400
|
896
|
+
begin
|
897
|
+
GRB_CB_MIPSOL = 4
|
898
|
+
rescue NameError => e
|
899
|
+
raise e if( $DEBUG )
|
900
|
+
end # 401
|
901
|
+
begin
|
902
|
+
GRB_CB_MIPNODE = 5
|
903
|
+
rescue NameError => e
|
904
|
+
raise e if( $DEBUG )
|
905
|
+
end # 402
|
906
|
+
begin
|
907
|
+
GRB_CB_MESSAGE = 6
|
908
|
+
rescue NameError => e
|
909
|
+
raise e if( $DEBUG )
|
910
|
+
end # 403
|
911
|
+
begin
|
912
|
+
GRB_CB_BARRIER = 7
|
913
|
+
rescue NameError => e
|
914
|
+
raise e if( $DEBUG )
|
915
|
+
end # 404
|
916
|
+
begin
|
917
|
+
GRB_CB_PRE_COLDEL = 1000
|
918
|
+
rescue NameError => e
|
919
|
+
raise e if( $DEBUG )
|
920
|
+
end # 408
|
921
|
+
begin
|
922
|
+
GRB_CB_PRE_ROWDEL = 1001
|
923
|
+
rescue NameError => e
|
924
|
+
raise e if( $DEBUG )
|
925
|
+
end # 409
|
926
|
+
begin
|
927
|
+
GRB_CB_PRE_SENCHG = 1002
|
928
|
+
rescue NameError => e
|
929
|
+
raise e if( $DEBUG )
|
930
|
+
end # 410
|
931
|
+
begin
|
932
|
+
GRB_CB_PRE_BNDCHG = 1003
|
933
|
+
rescue NameError => e
|
934
|
+
raise e if( $DEBUG )
|
935
|
+
end # 411
|
936
|
+
begin
|
937
|
+
GRB_CB_PRE_COECHG = 1004
|
938
|
+
rescue NameError => e
|
939
|
+
raise e if( $DEBUG )
|
940
|
+
end # 412
|
941
|
+
begin
|
942
|
+
GRB_CB_SPX_ITRCNT = 2000
|
943
|
+
rescue NameError => e
|
944
|
+
raise e if( $DEBUG )
|
945
|
+
end # 414
|
946
|
+
begin
|
947
|
+
GRB_CB_SPX_OBJVAL = 2001
|
948
|
+
rescue NameError => e
|
949
|
+
raise e if( $DEBUG )
|
950
|
+
end # 415
|
951
|
+
begin
|
952
|
+
GRB_CB_SPX_PRIMINF = 2002
|
953
|
+
rescue NameError => e
|
954
|
+
raise e if( $DEBUG )
|
955
|
+
end # 416
|
956
|
+
begin
|
957
|
+
GRB_CB_SPX_DUALINF = 2003
|
958
|
+
rescue NameError => e
|
959
|
+
raise e if( $DEBUG )
|
960
|
+
end # 417
|
961
|
+
begin
|
962
|
+
GRB_CB_SPX_ISPERT = 2004
|
963
|
+
rescue NameError => e
|
964
|
+
raise e if( $DEBUG )
|
965
|
+
end # 418
|
966
|
+
begin
|
967
|
+
GRB_CB_MIP_OBJBST = 3000
|
968
|
+
rescue NameError => e
|
969
|
+
raise e if( $DEBUG )
|
970
|
+
end # 420
|
971
|
+
begin
|
972
|
+
GRB_CB_MIP_OBJBND = 3001
|
973
|
+
rescue NameError => e
|
974
|
+
raise e if( $DEBUG )
|
975
|
+
end # 421
|
976
|
+
begin
|
977
|
+
GRB_CB_MIP_NODCNT = 3002
|
978
|
+
rescue NameError => e
|
979
|
+
raise e if( $DEBUG )
|
980
|
+
end # 422
|
981
|
+
begin
|
982
|
+
GRB_CB_MIP_SOLCNT = 3003
|
983
|
+
rescue NameError => e
|
984
|
+
raise e if( $DEBUG )
|
985
|
+
end # 423
|
986
|
+
begin
|
987
|
+
GRB_CB_MIP_CUTCNT = 3004
|
988
|
+
rescue NameError => e
|
989
|
+
raise e if( $DEBUG )
|
990
|
+
end # 424
|
991
|
+
begin
|
992
|
+
GRB_CB_MIP_NODLFT = 3005
|
993
|
+
rescue NameError => e
|
994
|
+
raise e if( $DEBUG )
|
995
|
+
end # 425
|
996
|
+
begin
|
997
|
+
GRB_CB_MIP_ITRCNT = 3006
|
998
|
+
rescue NameError => e
|
999
|
+
raise e if( $DEBUG )
|
1000
|
+
end # 426
|
1001
|
+
begin
|
1002
|
+
GRB_CB_MIPSOL_SOL = 4001
|
1003
|
+
rescue NameError => e
|
1004
|
+
raise e if( $DEBUG )
|
1005
|
+
end # 428
|
1006
|
+
begin
|
1007
|
+
GRB_CB_MIPSOL_OBJ = 4002
|
1008
|
+
rescue NameError => e
|
1009
|
+
raise e if( $DEBUG )
|
1010
|
+
end # 429
|
1011
|
+
begin
|
1012
|
+
GRB_CB_MIPSOL_OBJBST = 4003
|
1013
|
+
rescue NameError => e
|
1014
|
+
raise e if( $DEBUG )
|
1015
|
+
end # 430
|
1016
|
+
begin
|
1017
|
+
GRB_CB_MIPSOL_OBJBND = 4004
|
1018
|
+
rescue NameError => e
|
1019
|
+
raise e if( $DEBUG )
|
1020
|
+
end # 431
|
1021
|
+
begin
|
1022
|
+
GRB_CB_MIPSOL_NODCNT = 4005
|
1023
|
+
rescue NameError => e
|
1024
|
+
raise e if( $DEBUG )
|
1025
|
+
end # 432
|
1026
|
+
begin
|
1027
|
+
GRB_CB_MIPSOL_SOLCNT = 4006
|
1028
|
+
rescue NameError => e
|
1029
|
+
raise e if( $DEBUG )
|
1030
|
+
end # 433
|
1031
|
+
begin
|
1032
|
+
GRB_CB_MIPNODE_STATUS = 5001
|
1033
|
+
rescue NameError => e
|
1034
|
+
raise e if( $DEBUG )
|
1035
|
+
end # 435
|
1036
|
+
begin
|
1037
|
+
GRB_CB_MIPNODE_REL = 5002
|
1038
|
+
rescue NameError => e
|
1039
|
+
raise e if( $DEBUG )
|
1040
|
+
end # 436
|
1041
|
+
begin
|
1042
|
+
GRB_CB_MIPNODE_OBJBST = 5003
|
1043
|
+
rescue NameError => e
|
1044
|
+
raise e if( $DEBUG )
|
1045
|
+
end # 437
|
1046
|
+
begin
|
1047
|
+
GRB_CB_MIPNODE_OBJBND = 5004
|
1048
|
+
rescue NameError => e
|
1049
|
+
raise e if( $DEBUG )
|
1050
|
+
end # 438
|
1051
|
+
begin
|
1052
|
+
GRB_CB_MIPNODE_NODCNT = 5005
|
1053
|
+
rescue NameError => e
|
1054
|
+
raise e if( $DEBUG )
|
1055
|
+
end # 439
|
1056
|
+
begin
|
1057
|
+
GRB_CB_MIPNODE_SOLCNT = 5006
|
1058
|
+
rescue NameError => e
|
1059
|
+
raise e if( $DEBUG )
|
1060
|
+
end # 440
|
1061
|
+
begin
|
1062
|
+
GRB_CB_MIPNODE_BRVAR = 5007
|
1063
|
+
rescue NameError => e
|
1064
|
+
raise e if( $DEBUG )
|
1065
|
+
end # 441
|
1066
|
+
begin
|
1067
|
+
GRB_CB_MSG_STRING = 6001
|
1068
|
+
rescue NameError => e
|
1069
|
+
raise e if( $DEBUG )
|
1070
|
+
end # 443
|
1071
|
+
begin
|
1072
|
+
GRB_CB_RUNTIME = 6002
|
1073
|
+
rescue NameError => e
|
1074
|
+
raise e if( $DEBUG )
|
1075
|
+
end # 444
|
1076
|
+
begin
|
1077
|
+
GRB_CB_BARRIER_ITRCNT = 7001
|
1078
|
+
rescue NameError => e
|
1079
|
+
raise e if( $DEBUG )
|
1080
|
+
end # 446
|
1081
|
+
begin
|
1082
|
+
GRB_CB_BARRIER_PRIMOBJ = 7002
|
1083
|
+
rescue NameError => e
|
1084
|
+
raise e if( $DEBUG )
|
1085
|
+
end # 447
|
1086
|
+
begin
|
1087
|
+
GRB_CB_BARRIER_DUALOBJ = 7003
|
1088
|
+
rescue NameError => e
|
1089
|
+
raise e if( $DEBUG )
|
1090
|
+
end # 448
|
1091
|
+
begin
|
1092
|
+
GRB_CB_BARRIER_PRIMINF = 7004
|
1093
|
+
rescue NameError => e
|
1094
|
+
raise e if( $DEBUG )
|
1095
|
+
end # 449
|
1096
|
+
begin
|
1097
|
+
GRB_CB_BARRIER_DUALINF = 7005
|
1098
|
+
rescue NameError => e
|
1099
|
+
raise e if( $DEBUG )
|
1100
|
+
end # 450
|
1101
|
+
begin
|
1102
|
+
GRB_CB_BARRIER_COMPL = 7006
|
1103
|
+
rescue NameError => e
|
1104
|
+
raise e if( $DEBUG )
|
1105
|
+
end # 451
|
1106
|
+
begin
|
1107
|
+
GRB_FEASRELAX_LINEAR = 0
|
1108
|
+
rescue NameError => e
|
1109
|
+
raise e if( $DEBUG )
|
1110
|
+
end # 453
|
1111
|
+
begin
|
1112
|
+
GRB_FEASRELAX_QUADRATIC = 1
|
1113
|
+
rescue NameError => e
|
1114
|
+
raise e if( $DEBUG )
|
1115
|
+
end # 454
|
1116
|
+
begin
|
1117
|
+
GRB_FEASRELAX_CARDINALITY = 2
|
1118
|
+
rescue NameError => e
|
1119
|
+
raise e if( $DEBUG )
|
1120
|
+
end # 455
|
1121
|
+
begin
|
1122
|
+
GRB_LOADED = 1
|
1123
|
+
rescue NameError => e
|
1124
|
+
raise e if( $DEBUG )
|
1125
|
+
end # 622
|
1126
|
+
begin
|
1127
|
+
GRB_OPTIMAL = 2
|
1128
|
+
rescue NameError => e
|
1129
|
+
raise e if( $DEBUG )
|
1130
|
+
end # 623
|
1131
|
+
begin
|
1132
|
+
GRB_INFEASIBLE = 3
|
1133
|
+
rescue NameError => e
|
1134
|
+
raise e if( $DEBUG )
|
1135
|
+
end # 624
|
1136
|
+
begin
|
1137
|
+
GRB_INF_OR_UNBD = 4
|
1138
|
+
rescue NameError => e
|
1139
|
+
raise e if( $DEBUG )
|
1140
|
+
end # 625
|
1141
|
+
begin
|
1142
|
+
GRB_UNBOUNDED = 5
|
1143
|
+
rescue NameError => e
|
1144
|
+
raise e if( $DEBUG )
|
1145
|
+
end # 626
|
1146
|
+
begin
|
1147
|
+
GRB_CUTOFF = 6
|
1148
|
+
rescue NameError => e
|
1149
|
+
raise e if( $DEBUG )
|
1150
|
+
end # 627
|
1151
|
+
begin
|
1152
|
+
GRB_ITERATION_LIMIT = 7
|
1153
|
+
rescue NameError => e
|
1154
|
+
raise e if( $DEBUG )
|
1155
|
+
end # 628
|
1156
|
+
begin
|
1157
|
+
GRB_NODE_LIMIT = 8
|
1158
|
+
rescue NameError => e
|
1159
|
+
raise e if( $DEBUG )
|
1160
|
+
end # 629
|
1161
|
+
begin
|
1162
|
+
GRB_TIME_LIMIT = 9
|
1163
|
+
rescue NameError => e
|
1164
|
+
raise e if( $DEBUG )
|
1165
|
+
end # 630
|
1166
|
+
begin
|
1167
|
+
GRB_SOLUTION_LIMIT = 10
|
1168
|
+
rescue NameError => e
|
1169
|
+
raise e if( $DEBUG )
|
1170
|
+
end # 631
|
1171
|
+
begin
|
1172
|
+
GRB_INTERRUPTED = 11
|
1173
|
+
rescue NameError => e
|
1174
|
+
raise e if( $DEBUG )
|
1175
|
+
end # 632
|
1176
|
+
begin
|
1177
|
+
GRB_NUMERIC = 12
|
1178
|
+
rescue NameError => e
|
1179
|
+
raise e if( $DEBUG )
|
1180
|
+
end # 633
|
1181
|
+
begin
|
1182
|
+
GRB_SUBOPTIMAL = 13
|
1183
|
+
rescue NameError => e
|
1184
|
+
raise e if( $DEBUG )
|
1185
|
+
end # 634
|
1186
|
+
begin
|
1187
|
+
GRB_INPROGRESS = 14
|
1188
|
+
rescue NameError => e
|
1189
|
+
raise e if( $DEBUG )
|
1190
|
+
end # 635
|
1191
|
+
begin
|
1192
|
+
GRB_BASIC = 0
|
1193
|
+
rescue NameError => e
|
1194
|
+
raise e if( $DEBUG )
|
1195
|
+
end # 639
|
1196
|
+
begin
|
1197
|
+
GRB_NONBASIC_LOWER = -1
|
1198
|
+
rescue NameError => e
|
1199
|
+
raise e if( $DEBUG )
|
1200
|
+
end # 640
|
1201
|
+
begin
|
1202
|
+
GRB_NONBASIC_UPPER = -2
|
1203
|
+
rescue NameError => e
|
1204
|
+
raise e if( $DEBUG )
|
1205
|
+
end # 641
|
1206
|
+
begin
|
1207
|
+
GRB_SUPERBASIC = -3
|
1208
|
+
rescue NameError => e
|
1209
|
+
raise e if( $DEBUG )
|
1210
|
+
end # 642
|
1211
|
+
begin
|
1212
|
+
GRB_INT_PAR_BARITERLIMIT = "BarIterLimit"
|
1213
|
+
rescue NameError => e
|
1214
|
+
raise e if( $DEBUG )
|
1215
|
+
end # 660
|
1216
|
+
begin
|
1217
|
+
GRB_DBL_PAR_CUTOFF = "Cutoff"
|
1218
|
+
rescue NameError => e
|
1219
|
+
raise e if( $DEBUG )
|
1220
|
+
end # 661
|
1221
|
+
begin
|
1222
|
+
GRB_DBL_PAR_ITERATIONLIMIT = "IterationLimit"
|
1223
|
+
rescue NameError => e
|
1224
|
+
raise e if( $DEBUG )
|
1225
|
+
end # 662
|
1226
|
+
begin
|
1227
|
+
GRB_DBL_PAR_NODELIMIT = "NodeLimit"
|
1228
|
+
rescue NameError => e
|
1229
|
+
raise e if( $DEBUG )
|
1230
|
+
end # 663
|
1231
|
+
begin
|
1232
|
+
GRB_INT_PAR_SOLUTIONLIMIT = "SolutionLimit"
|
1233
|
+
rescue NameError => e
|
1234
|
+
raise e if( $DEBUG )
|
1235
|
+
end # 664
|
1236
|
+
begin
|
1237
|
+
GRB_DBL_PAR_TIMELIMIT = "TimeLimit"
|
1238
|
+
rescue NameError => e
|
1239
|
+
raise e if( $DEBUG )
|
1240
|
+
end # 665
|
1241
|
+
begin
|
1242
|
+
GRB_DBL_PAR_FEASIBILITYTOL = "FeasibilityTol"
|
1243
|
+
rescue NameError => e
|
1244
|
+
raise e if( $DEBUG )
|
1245
|
+
end # 669
|
1246
|
+
begin
|
1247
|
+
GRB_DBL_PAR_INTFEASTOL = "IntFeasTol"
|
1248
|
+
rescue NameError => e
|
1249
|
+
raise e if( $DEBUG )
|
1250
|
+
end # 670
|
1251
|
+
begin
|
1252
|
+
GRB_DBL_PAR_MARKOWITZTOL = "MarkowitzTol"
|
1253
|
+
rescue NameError => e
|
1254
|
+
raise e if( $DEBUG )
|
1255
|
+
end # 671
|
1256
|
+
begin
|
1257
|
+
GRB_DBL_PAR_MIPGAP = "MIPGap"
|
1258
|
+
rescue NameError => e
|
1259
|
+
raise e if( $DEBUG )
|
1260
|
+
end # 672
|
1261
|
+
begin
|
1262
|
+
GRB_DBL_PAR_MIPGAPABS = "MIPGapAbs"
|
1263
|
+
rescue NameError => e
|
1264
|
+
raise e if( $DEBUG )
|
1265
|
+
end # 673
|
1266
|
+
begin
|
1267
|
+
GRB_DBL_PAR_OPTIMALITYTOL = "OptimalityTol"
|
1268
|
+
rescue NameError => e
|
1269
|
+
raise e if( $DEBUG )
|
1270
|
+
end # 674
|
1271
|
+
begin
|
1272
|
+
GRB_DBL_PAR_PSDTOL = "PSDTol"
|
1273
|
+
rescue NameError => e
|
1274
|
+
raise e if( $DEBUG )
|
1275
|
+
end # 675
|
1276
|
+
begin
|
1277
|
+
GRB_INT_PAR_METHOD = "Method"
|
1278
|
+
rescue NameError => e
|
1279
|
+
raise e if( $DEBUG )
|
1280
|
+
end # 679
|
1281
|
+
begin
|
1282
|
+
GRB_DBL_PAR_PERTURBVALUE = "PerturbValue"
|
1283
|
+
rescue NameError => e
|
1284
|
+
raise e if( $DEBUG )
|
1285
|
+
end # 680
|
1286
|
+
begin
|
1287
|
+
GRB_DBL_PAR_OBJSCALE = "ObjScale"
|
1288
|
+
rescue NameError => e
|
1289
|
+
raise e if( $DEBUG )
|
1290
|
+
end # 681
|
1291
|
+
begin
|
1292
|
+
GRB_INT_PAR_SCALEFLAG = "ScaleFlag"
|
1293
|
+
rescue NameError => e
|
1294
|
+
raise e if( $DEBUG )
|
1295
|
+
end # 682
|
1296
|
+
begin
|
1297
|
+
GRB_INT_PAR_SIMPLEXPRICING = "SimplexPricing"
|
1298
|
+
rescue NameError => e
|
1299
|
+
raise e if( $DEBUG )
|
1300
|
+
end # 683
|
1301
|
+
begin
|
1302
|
+
GRB_INT_PAR_QUAD = "Quad"
|
1303
|
+
rescue NameError => e
|
1304
|
+
raise e if( $DEBUG )
|
1305
|
+
end # 684
|
1306
|
+
begin
|
1307
|
+
GRB_INT_PAR_NORMADJUST = "NormAdjust"
|
1308
|
+
rescue NameError => e
|
1309
|
+
raise e if( $DEBUG )
|
1310
|
+
end # 685
|
1311
|
+
begin
|
1312
|
+
GRB_INT_PAR_SIFTING = "Sifting"
|
1313
|
+
rescue NameError => e
|
1314
|
+
raise e if( $DEBUG )
|
1315
|
+
end # 686
|
1316
|
+
begin
|
1317
|
+
GRB_INT_PAR_SIFTMETHOD = "SiftMethod"
|
1318
|
+
rescue NameError => e
|
1319
|
+
raise e if( $DEBUG )
|
1320
|
+
end # 687
|
1321
|
+
begin
|
1322
|
+
GRB_DBL_PAR_BARCONVTOL = "BarConvTol"
|
1323
|
+
rescue NameError => e
|
1324
|
+
raise e if( $DEBUG )
|
1325
|
+
end # 691
|
1326
|
+
begin
|
1327
|
+
GRB_INT_PAR_BARCORRECTORS = "BarCorrectors"
|
1328
|
+
rescue NameError => e
|
1329
|
+
raise e if( $DEBUG )
|
1330
|
+
end # 692
|
1331
|
+
begin
|
1332
|
+
GRB_INT_PAR_BARHOMOGENEOUS = "BarHomogeneous"
|
1333
|
+
rescue NameError => e
|
1334
|
+
raise e if( $DEBUG )
|
1335
|
+
end # 693
|
1336
|
+
begin
|
1337
|
+
GRB_INT_PAR_BARORDER = "BarOrder"
|
1338
|
+
rescue NameError => e
|
1339
|
+
raise e if( $DEBUG )
|
1340
|
+
end # 694
|
1341
|
+
begin
|
1342
|
+
GRB_DBL_PAR_BARQCPCONVTOL = "BarQCPConvTol"
|
1343
|
+
rescue NameError => e
|
1344
|
+
raise e if( $DEBUG )
|
1345
|
+
end # 695
|
1346
|
+
begin
|
1347
|
+
GRB_INT_PAR_CROSSOVER = "Crossover"
|
1348
|
+
rescue NameError => e
|
1349
|
+
raise e if( $DEBUG )
|
1350
|
+
end # 696
|
1351
|
+
begin
|
1352
|
+
GRB_INT_PAR_CROSSOVERBASIS = "CrossoverBasis"
|
1353
|
+
rescue NameError => e
|
1354
|
+
raise e if( $DEBUG )
|
1355
|
+
end # 697
|
1356
|
+
begin
|
1357
|
+
GRB_INT_PAR_BRANCHDIR = "BranchDir"
|
1358
|
+
rescue NameError => e
|
1359
|
+
raise e if( $DEBUG )
|
1360
|
+
end # 701
|
1361
|
+
begin
|
1362
|
+
GRB_INT_PAR_DISCONNECTED = "Disconnected"
|
1363
|
+
rescue NameError => e
|
1364
|
+
raise e if( $DEBUG )
|
1365
|
+
end # 702
|
1366
|
+
begin
|
1367
|
+
GRB_DBL_PAR_HEURISTICS = "Heuristics"
|
1368
|
+
rescue NameError => e
|
1369
|
+
raise e if( $DEBUG )
|
1370
|
+
end # 703
|
1371
|
+
begin
|
1372
|
+
GRB_DBL_PAR_IMPROVESTARTGAP = "ImproveStartGap"
|
1373
|
+
rescue NameError => e
|
1374
|
+
raise e if( $DEBUG )
|
1375
|
+
end # 704
|
1376
|
+
begin
|
1377
|
+
GRB_DBL_PAR_IMPROVESTARTTIME = "ImproveStartTime"
|
1378
|
+
rescue NameError => e
|
1379
|
+
raise e if( $DEBUG )
|
1380
|
+
end # 705
|
1381
|
+
begin
|
1382
|
+
GRB_DBL_PAR_IMPROVESTARTNODES = "ImproveStartNodes"
|
1383
|
+
rescue NameError => e
|
1384
|
+
raise e if( $DEBUG )
|
1385
|
+
end # 706
|
1386
|
+
begin
|
1387
|
+
GRB_INT_PAR_MINRELNODES = "MinRelNodes"
|
1388
|
+
rescue NameError => e
|
1389
|
+
raise e if( $DEBUG )
|
1390
|
+
end # 707
|
1391
|
+
begin
|
1392
|
+
GRB_INT_PAR_MIPFOCUS = "MIPFocus"
|
1393
|
+
rescue NameError => e
|
1394
|
+
raise e if( $DEBUG )
|
1395
|
+
end # 708
|
1396
|
+
begin
|
1397
|
+
GRB_STR_PAR_NODEFILEDIR = "NodefileDir"
|
1398
|
+
rescue NameError => e
|
1399
|
+
raise e if( $DEBUG )
|
1400
|
+
end # 709
|
1401
|
+
begin
|
1402
|
+
GRB_DBL_PAR_NODEFILESTART = "NodefileStart"
|
1403
|
+
rescue NameError => e
|
1404
|
+
raise e if( $DEBUG )
|
1405
|
+
end # 710
|
1406
|
+
begin
|
1407
|
+
GRB_INT_PAR_NODEMETHOD = "NodeMethod"
|
1408
|
+
rescue NameError => e
|
1409
|
+
raise e if( $DEBUG )
|
1410
|
+
end # 711
|
1411
|
+
begin
|
1412
|
+
GRB_INT_PAR_NORELHEURISTIC = "NoRelHeuristic"
|
1413
|
+
rescue NameError => e
|
1414
|
+
raise e if( $DEBUG )
|
1415
|
+
end # 712
|
1416
|
+
begin
|
1417
|
+
GRB_INT_PAR_PUMPPASSES = "PumpPasses"
|
1418
|
+
rescue NameError => e
|
1419
|
+
raise e if( $DEBUG )
|
1420
|
+
end # 713
|
1421
|
+
begin
|
1422
|
+
GRB_INT_PAR_RINS = "RINS"
|
1423
|
+
rescue NameError => e
|
1424
|
+
raise e if( $DEBUG )
|
1425
|
+
end # 714
|
1426
|
+
begin
|
1427
|
+
GRB_INT_PAR_SUBMIPNODES = "SubMIPNodes"
|
1428
|
+
rescue NameError => e
|
1429
|
+
raise e if( $DEBUG )
|
1430
|
+
end # 715
|
1431
|
+
begin
|
1432
|
+
GRB_INT_PAR_SYMMETRY = "Symmetry"
|
1433
|
+
rescue NameError => e
|
1434
|
+
raise e if( $DEBUG )
|
1435
|
+
end # 716
|
1436
|
+
begin
|
1437
|
+
GRB_INT_PAR_VARBRANCH = "VarBranch"
|
1438
|
+
rescue NameError => e
|
1439
|
+
raise e if( $DEBUG )
|
1440
|
+
end # 717
|
1441
|
+
begin
|
1442
|
+
GRB_INT_PAR_SOLUTIONNUMBER = "SolutionNumber"
|
1443
|
+
rescue NameError => e
|
1444
|
+
raise e if( $DEBUG )
|
1445
|
+
end # 718
|
1446
|
+
begin
|
1447
|
+
GRB_INT_PAR_ZEROOBJNODES = "ZeroObjNodes"
|
1448
|
+
rescue NameError => e
|
1449
|
+
raise e if( $DEBUG )
|
1450
|
+
end # 719
|
1451
|
+
begin
|
1452
|
+
GRB_INT_PAR_CUTS = "Cuts"
|
1453
|
+
rescue NameError => e
|
1454
|
+
raise e if( $DEBUG )
|
1455
|
+
end # 723
|
1456
|
+
begin
|
1457
|
+
GRB_INT_PAR_CLIQUECUTS = "CliqueCuts"
|
1458
|
+
rescue NameError => e
|
1459
|
+
raise e if( $DEBUG )
|
1460
|
+
end # 725
|
1461
|
+
begin
|
1462
|
+
GRB_INT_PAR_COVERCUTS = "CoverCuts"
|
1463
|
+
rescue NameError => e
|
1464
|
+
raise e if( $DEBUG )
|
1465
|
+
end # 726
|
1466
|
+
begin
|
1467
|
+
GRB_INT_PAR_FLOWCOVERCUTS = "FlowCoverCuts"
|
1468
|
+
rescue NameError => e
|
1469
|
+
raise e if( $DEBUG )
|
1470
|
+
end # 727
|
1471
|
+
begin
|
1472
|
+
GRB_INT_PAR_FLOWPATHCUTS = "FlowPathCuts"
|
1473
|
+
rescue NameError => e
|
1474
|
+
raise e if( $DEBUG )
|
1475
|
+
end # 728
|
1476
|
+
begin
|
1477
|
+
GRB_INT_PAR_GUBCOVERCUTS = "GUBCoverCuts"
|
1478
|
+
rescue NameError => e
|
1479
|
+
raise e if( $DEBUG )
|
1480
|
+
end # 729
|
1481
|
+
begin
|
1482
|
+
GRB_INT_PAR_IMPLIEDCUTS = "ImpliedCuts"
|
1483
|
+
rescue NameError => e
|
1484
|
+
raise e if( $DEBUG )
|
1485
|
+
end # 730
|
1486
|
+
begin
|
1487
|
+
GRB_INT_PAR_MIPSEPCUTS = "MIPSepCuts"
|
1488
|
+
rescue NameError => e
|
1489
|
+
raise e if( $DEBUG )
|
1490
|
+
end # 731
|
1491
|
+
begin
|
1492
|
+
GRB_INT_PAR_MIRCUTS = "MIRCuts"
|
1493
|
+
rescue NameError => e
|
1494
|
+
raise e if( $DEBUG )
|
1495
|
+
end # 732
|
1496
|
+
begin
|
1497
|
+
GRB_INT_PAR_MODKCUTS = "ModKCuts"
|
1498
|
+
rescue NameError => e
|
1499
|
+
raise e if( $DEBUG )
|
1500
|
+
end # 733
|
1501
|
+
begin
|
1502
|
+
GRB_INT_PAR_ZEROHALFCUTS = "ZeroHalfCuts"
|
1503
|
+
rescue NameError => e
|
1504
|
+
raise e if( $DEBUG )
|
1505
|
+
end # 734
|
1506
|
+
begin
|
1507
|
+
GRB_INT_PAR_NETWORKCUTS = "NetworkCuts"
|
1508
|
+
rescue NameError => e
|
1509
|
+
raise e if( $DEBUG )
|
1510
|
+
end # 735
|
1511
|
+
begin
|
1512
|
+
GRB_INT_PAR_SUBMIPCUTS = "SubMIPCuts"
|
1513
|
+
rescue NameError => e
|
1514
|
+
raise e if( $DEBUG )
|
1515
|
+
end # 736
|
1516
|
+
begin
|
1517
|
+
GRB_INT_PAR_CUTAGGPASSES = "CutAggPasses"
|
1518
|
+
rescue NameError => e
|
1519
|
+
raise e if( $DEBUG )
|
1520
|
+
end # 738
|
1521
|
+
begin
|
1522
|
+
GRB_INT_PAR_CUTPASSES = "CutPasses"
|
1523
|
+
rescue NameError => e
|
1524
|
+
raise e if( $DEBUG )
|
1525
|
+
end # 739
|
1526
|
+
begin
|
1527
|
+
GRB_INT_PAR_GOMORYPASSES = "GomoryPasses"
|
1528
|
+
rescue NameError => e
|
1529
|
+
raise e if( $DEBUG )
|
1530
|
+
end # 740
|
1531
|
+
begin
|
1532
|
+
GRB_STR_PAR_SERVERPOOL = "ServerPool"
|
1533
|
+
rescue NameError => e
|
1534
|
+
raise e if( $DEBUG )
|
1535
|
+
end # 744
|
1536
|
+
begin
|
1537
|
+
GRB_STR_PAR_SERVERPASSWORD = "ServerPassword"
|
1538
|
+
rescue NameError => e
|
1539
|
+
raise e if( $DEBUG )
|
1540
|
+
end # 745
|
1541
|
+
begin
|
1542
|
+
GRB_INT_PAR_AGGREGATE = "Aggregate"
|
1543
|
+
rescue NameError => e
|
1544
|
+
raise e if( $DEBUG )
|
1545
|
+
end # 749
|
1546
|
+
begin
|
1547
|
+
GRB_INT_PAR_AGGFILL = "AggFill"
|
1548
|
+
rescue NameError => e
|
1549
|
+
raise e if( $DEBUG )
|
1550
|
+
end # 750
|
1551
|
+
begin
|
1552
|
+
GRB_INT_PAR_CONCURRENTMIP = "ConcurrentMIP"
|
1553
|
+
rescue NameError => e
|
1554
|
+
raise e if( $DEBUG )
|
1555
|
+
end # 751
|
1556
|
+
begin
|
1557
|
+
GRB_INT_PAR_CONCURRENTMIPJOBS = "ConcurrentMIPJobs"
|
1558
|
+
rescue NameError => e
|
1559
|
+
raise e if( $DEBUG )
|
1560
|
+
end # 752
|
1561
|
+
begin
|
1562
|
+
GRB_INT_PAR_DISPLAYINTERVAL = "DisplayInterval"
|
1563
|
+
rescue NameError => e
|
1564
|
+
raise e if( $DEBUG )
|
1565
|
+
end # 753
|
1566
|
+
begin
|
1567
|
+
GRB_INT_PAR_DUALREDUCTIONS = "DualReductions"
|
1568
|
+
rescue NameError => e
|
1569
|
+
raise e if( $DEBUG )
|
1570
|
+
end # 754
|
1571
|
+
begin
|
1572
|
+
GRB_DBL_PAR_FEASRELAXBIGM = "FeasRelaxBigM"
|
1573
|
+
rescue NameError => e
|
1574
|
+
raise e if( $DEBUG )
|
1575
|
+
end # 755
|
1576
|
+
begin
|
1577
|
+
GRB_INT_PAR_IISMETHOD = "IISMethod"
|
1578
|
+
rescue NameError => e
|
1579
|
+
raise e if( $DEBUG )
|
1580
|
+
end # 756
|
1581
|
+
begin
|
1582
|
+
GRB_INT_PAR_INFUNBDINFO = "InfUnbdInfo"
|
1583
|
+
rescue NameError => e
|
1584
|
+
raise e if( $DEBUG )
|
1585
|
+
end # 757
|
1586
|
+
begin
|
1587
|
+
GRB_INT_PAR_LAZYCONSTRAINTS = "LazyConstraints"
|
1588
|
+
rescue NameError => e
|
1589
|
+
raise e if( $DEBUG )
|
1590
|
+
end # 758
|
1591
|
+
begin
|
1592
|
+
GRB_STR_PAR_LOGFILE = "LogFile"
|
1593
|
+
rescue NameError => e
|
1594
|
+
raise e if( $DEBUG )
|
1595
|
+
end # 759
|
1596
|
+
begin
|
1597
|
+
GRB_INT_PAR_LOGTOCONSOLE = "LogToConsole"
|
1598
|
+
rescue NameError => e
|
1599
|
+
raise e if( $DEBUG )
|
1600
|
+
end # 760
|
1601
|
+
begin
|
1602
|
+
GRB_INT_PAR_MIQCPMETHOD = "MIQCPMethod"
|
1603
|
+
rescue NameError => e
|
1604
|
+
raise e if( $DEBUG )
|
1605
|
+
end # 761
|
1606
|
+
begin
|
1607
|
+
GRB_INT_PAR_NUMERICFOCUS = "NumericFocus"
|
1608
|
+
rescue NameError => e
|
1609
|
+
raise e if( $DEBUG )
|
1610
|
+
end # 762
|
1611
|
+
begin
|
1612
|
+
GRB_INT_PAR_NONBLOCKING = "NonBlocking"
|
1613
|
+
rescue NameError => e
|
1614
|
+
raise e if( $DEBUG )
|
1615
|
+
end # 763
|
1616
|
+
begin
|
1617
|
+
GRB_INT_PAR_OUTPUTFLAG = "OutputFlag"
|
1618
|
+
rescue NameError => e
|
1619
|
+
raise e if( $DEBUG )
|
1620
|
+
end # 764
|
1621
|
+
begin
|
1622
|
+
GRB_INT_PAR_PRECRUSH = "PreCrush"
|
1623
|
+
rescue NameError => e
|
1624
|
+
raise e if( $DEBUG )
|
1625
|
+
end # 765
|
1626
|
+
begin
|
1627
|
+
GRB_INT_PAR_PREDEPROW = "PreDepRow"
|
1628
|
+
rescue NameError => e
|
1629
|
+
raise e if( $DEBUG )
|
1630
|
+
end # 766
|
1631
|
+
begin
|
1632
|
+
GRB_INT_PAR_PREDUAL = "PreDual"
|
1633
|
+
rescue NameError => e
|
1634
|
+
raise e if( $DEBUG )
|
1635
|
+
end # 767
|
1636
|
+
begin
|
1637
|
+
GRB_INT_PAR_PREPASSES = "PrePasses"
|
1638
|
+
rescue NameError => e
|
1639
|
+
raise e if( $DEBUG )
|
1640
|
+
end # 768
|
1641
|
+
begin
|
1642
|
+
GRB_INT_PAR_PREQLINEARIZE = "PreQLinearize"
|
1643
|
+
rescue NameError => e
|
1644
|
+
raise e if( $DEBUG )
|
1645
|
+
end # 769
|
1646
|
+
begin
|
1647
|
+
GRB_INT_PAR_PRESOLVE = "Presolve"
|
1648
|
+
rescue NameError => e
|
1649
|
+
raise e if( $DEBUG )
|
1650
|
+
end # 770
|
1651
|
+
begin
|
1652
|
+
GRB_DBL_PAR_PRESOS1BIGM = "PreSOS1BigM"
|
1653
|
+
rescue NameError => e
|
1654
|
+
raise e if( $DEBUG )
|
1655
|
+
end # 771
|
1656
|
+
begin
|
1657
|
+
GRB_DBL_PAR_PRESOS2BIGM = "PreSOS2BigM"
|
1658
|
+
rescue NameError => e
|
1659
|
+
raise e if( $DEBUG )
|
1660
|
+
end # 772
|
1661
|
+
begin
|
1662
|
+
GRB_INT_PAR_PRESPARSIFY = "PreSparsify"
|
1663
|
+
rescue NameError => e
|
1664
|
+
raise e if( $DEBUG )
|
1665
|
+
end # 773
|
1666
|
+
begin
|
1667
|
+
GRB_INT_PAR_QCPDUAL = "QCPDual"
|
1668
|
+
rescue NameError => e
|
1669
|
+
raise e if( $DEBUG )
|
1670
|
+
end # 774
|
1671
|
+
begin
|
1672
|
+
GRB_STR_PAR_RESULTFILE = "ResultFile"
|
1673
|
+
rescue NameError => e
|
1674
|
+
raise e if( $DEBUG )
|
1675
|
+
end # 775
|
1676
|
+
begin
|
1677
|
+
GRB_INT_PAR_SEED = "Seed"
|
1678
|
+
rescue NameError => e
|
1679
|
+
raise e if( $DEBUG )
|
1680
|
+
end # 776
|
1681
|
+
begin
|
1682
|
+
GRB_INT_PAR_THREADS = "Threads"
|
1683
|
+
rescue NameError => e
|
1684
|
+
raise e if( $DEBUG )
|
1685
|
+
end # 777
|
1686
|
+
begin
|
1687
|
+
GRB_DBL_PAR_TUNETIMELIMIT = "TuneTimeLimit"
|
1688
|
+
rescue NameError => e
|
1689
|
+
raise e if( $DEBUG )
|
1690
|
+
end # 778
|
1691
|
+
begin
|
1692
|
+
GRB_INT_PAR_TUNERESULTS = "TuneResults"
|
1693
|
+
rescue NameError => e
|
1694
|
+
raise e if( $DEBUG )
|
1695
|
+
end # 779
|
1696
|
+
begin
|
1697
|
+
GRB_INT_PAR_TUNETRIALS = "TuneTrials"
|
1698
|
+
rescue NameError => e
|
1699
|
+
raise e if( $DEBUG )
|
1700
|
+
end # 780
|
1701
|
+
begin
|
1702
|
+
GRB_INT_PAR_TUNEOUTPUT = "TuneOutput"
|
1703
|
+
rescue NameError => e
|
1704
|
+
raise e if( $DEBUG )
|
1705
|
+
end # 781
|
1706
|
+
begin
|
1707
|
+
GRB_INT_PAR_TUNEJOBS = "TuneJobs"
|
1708
|
+
rescue NameError => e
|
1709
|
+
raise e if( $DEBUG )
|
1710
|
+
end # 782
|
1711
|
+
begin
|
1712
|
+
GRB_STR_PAR_DUMMY = "Dummy"
|
1713
|
+
rescue NameError => e
|
1714
|
+
raise e if( $DEBUG )
|
1715
|
+
end # 783
|
1716
|
+
begin
|
1717
|
+
GRB_CUTS_AUTO = -1
|
1718
|
+
rescue NameError => e
|
1719
|
+
raise e if( $DEBUG )
|
1720
|
+
end # 788
|
1721
|
+
begin
|
1722
|
+
GRB_CUTS_OFF = 0
|
1723
|
+
rescue NameError => e
|
1724
|
+
raise e if( $DEBUG )
|
1725
|
+
end # 789
|
1726
|
+
begin
|
1727
|
+
GRB_CUTS_CONSERVATIVE = 1
|
1728
|
+
rescue NameError => e
|
1729
|
+
raise e if( $DEBUG )
|
1730
|
+
end # 790
|
1731
|
+
begin
|
1732
|
+
GRB_CUTS_AGGRESSIVE = 2
|
1733
|
+
rescue NameError => e
|
1734
|
+
raise e if( $DEBUG )
|
1735
|
+
end # 791
|
1736
|
+
begin
|
1737
|
+
GRB_CUTS_VERYAGGRESSIVE = 3
|
1738
|
+
rescue NameError => e
|
1739
|
+
raise e if( $DEBUG )
|
1740
|
+
end # 792
|
1741
|
+
begin
|
1742
|
+
GRB_PRESOLVE_AUTO = -1
|
1743
|
+
rescue NameError => e
|
1744
|
+
raise e if( $DEBUG )
|
1745
|
+
end # 794
|
1746
|
+
begin
|
1747
|
+
GRB_PRESOLVE_OFF = 0
|
1748
|
+
rescue NameError => e
|
1749
|
+
raise e if( $DEBUG )
|
1750
|
+
end # 795
|
1751
|
+
begin
|
1752
|
+
GRB_PRESOLVE_CONSERVATIVE = 1
|
1753
|
+
rescue NameError => e
|
1754
|
+
raise e if( $DEBUG )
|
1755
|
+
end # 796
|
1756
|
+
begin
|
1757
|
+
GRB_PRESOLVE_AGGRESSIVE = 2
|
1758
|
+
rescue NameError => e
|
1759
|
+
raise e if( $DEBUG )
|
1760
|
+
end # 797
|
1761
|
+
begin
|
1762
|
+
GRB_METHOD_AUTO = -1
|
1763
|
+
rescue NameError => e
|
1764
|
+
raise e if( $DEBUG )
|
1765
|
+
end # 799
|
1766
|
+
begin
|
1767
|
+
GRB_METHOD_PRIMAL = 0
|
1768
|
+
rescue NameError => e
|
1769
|
+
raise e if( $DEBUG )
|
1770
|
+
end # 800
|
1771
|
+
begin
|
1772
|
+
GRB_METHOD_DUAL = 1
|
1773
|
+
rescue NameError => e
|
1774
|
+
raise e if( $DEBUG )
|
1775
|
+
end # 801
|
1776
|
+
begin
|
1777
|
+
GRB_METHOD_BARRIER = 2
|
1778
|
+
rescue NameError => e
|
1779
|
+
raise e if( $DEBUG )
|
1780
|
+
end # 802
|
1781
|
+
begin
|
1782
|
+
GRB_METHOD_CONCURRENT = 3
|
1783
|
+
rescue NameError => e
|
1784
|
+
raise e if( $DEBUG )
|
1785
|
+
end # 803
|
1786
|
+
begin
|
1787
|
+
GRB_METHOD_DETERMINISTIC_CONCURRENT = 4
|
1788
|
+
rescue NameError => e
|
1789
|
+
raise e if( $DEBUG )
|
1790
|
+
end # 804
|
1791
|
+
begin
|
1792
|
+
GRB_BARHOMOGENEOUS_AUTO = -1
|
1793
|
+
rescue NameError => e
|
1794
|
+
raise e if( $DEBUG )
|
1795
|
+
end # 806
|
1796
|
+
begin
|
1797
|
+
GRB_BARHOMOGENEOUS_OFF = 0
|
1798
|
+
rescue NameError => e
|
1799
|
+
raise e if( $DEBUG )
|
1800
|
+
end # 807
|
1801
|
+
begin
|
1802
|
+
GRB_BARHOMOGENEOUS_ON = 1
|
1803
|
+
rescue NameError => e
|
1804
|
+
raise e if( $DEBUG )
|
1805
|
+
end # 808
|
1806
|
+
begin
|
1807
|
+
GRB_MIPFOCUS_BALANCED = 0
|
1808
|
+
rescue NameError => e
|
1809
|
+
raise e if( $DEBUG )
|
1810
|
+
end # 810
|
1811
|
+
begin
|
1812
|
+
GRB_MIPFOCUS_FEASIBILITY = 1
|
1813
|
+
rescue NameError => e
|
1814
|
+
raise e if( $DEBUG )
|
1815
|
+
end # 811
|
1816
|
+
begin
|
1817
|
+
GRB_MIPFOCUS_OPTIMALITY = 2
|
1818
|
+
rescue NameError => e
|
1819
|
+
raise e if( $DEBUG )
|
1820
|
+
end # 812
|
1821
|
+
begin
|
1822
|
+
GRB_MIPFOCUS_BESTBOUND = 3
|
1823
|
+
rescue NameError => e
|
1824
|
+
raise e if( $DEBUG )
|
1825
|
+
end # 813
|
1826
|
+
begin
|
1827
|
+
GRB_BARORDER_AUTOMATIC = -1
|
1828
|
+
rescue NameError => e
|
1829
|
+
raise e if( $DEBUG )
|
1830
|
+
end # 815
|
1831
|
+
begin
|
1832
|
+
GRB_BARORDER_AMD = 0
|
1833
|
+
rescue NameError => e
|
1834
|
+
raise e if( $DEBUG )
|
1835
|
+
end # 816
|
1836
|
+
begin
|
1837
|
+
GRB_BARORDER_NESTEDDISSECTION = 1
|
1838
|
+
rescue NameError => e
|
1839
|
+
raise e if( $DEBUG )
|
1840
|
+
end # 817
|
1841
|
+
begin
|
1842
|
+
GRB_SIMPLEXPRICING_AUTO = -1
|
1843
|
+
rescue NameError => e
|
1844
|
+
raise e if( $DEBUG )
|
1845
|
+
end # 819
|
1846
|
+
begin
|
1847
|
+
GRB_SIMPLEXPRICING_PARTIAL = 0
|
1848
|
+
rescue NameError => e
|
1849
|
+
raise e if( $DEBUG )
|
1850
|
+
end # 820
|
1851
|
+
begin
|
1852
|
+
GRB_SIMPLEXPRICING_STEEPEST_EDGE = 1
|
1853
|
+
rescue NameError => e
|
1854
|
+
raise e if( $DEBUG )
|
1855
|
+
end # 821
|
1856
|
+
begin
|
1857
|
+
GRB_SIMPLEXPRICING_DEVEX = 2
|
1858
|
+
rescue NameError => e
|
1859
|
+
raise e if( $DEBUG )
|
1860
|
+
end # 822
|
1861
|
+
begin
|
1862
|
+
GRB_SIMPLEXPRICING_STEEPEST_QUICK = 3
|
1863
|
+
rescue NameError => e
|
1864
|
+
raise e if( $DEBUG )
|
1865
|
+
end # 823
|
1866
|
+
begin
|
1867
|
+
GRB_VARBRANCH_AUTO = -1
|
1868
|
+
rescue NameError => e
|
1869
|
+
raise e if( $DEBUG )
|
1870
|
+
end # 825
|
1871
|
+
begin
|
1872
|
+
GRB_VARBRANCH_PSEUDO_REDUCED = 0
|
1873
|
+
rescue NameError => e
|
1874
|
+
raise e if( $DEBUG )
|
1875
|
+
end # 826
|
1876
|
+
begin
|
1877
|
+
GRB_VARBRANCH_PSEUDO_SHADOW = 1
|
1878
|
+
rescue NameError => e
|
1879
|
+
raise e if( $DEBUG )
|
1880
|
+
end # 827
|
1881
|
+
begin
|
1882
|
+
GRB_VARBRANCH_MAX_INFEAS = 2
|
1883
|
+
rescue NameError => e
|
1884
|
+
raise e if( $DEBUG )
|
1885
|
+
end # 828
|
1886
|
+
begin
|
1887
|
+
GRB_VARBRANCH_STRONG = 3
|
1888
|
+
rescue NameError => e
|
1889
|
+
raise e if( $DEBUG )
|
1890
|
+
end # 829
|
1891
|
+
begin
|
1892
|
+
GRB_INT_PAR_PREMIQPMETHOD = "PreMIQPMethod"
|
1893
|
+
rescue NameError => e
|
1894
|
+
raise e if( $DEBUG )
|
1895
|
+
end # 960
|
1896
|
+
end
|
1897
|
+
rescue NameError => e
|
1898
|
+
raise e if( $DEBUG )
|
1899
|
+
end # 968
|