gamspy-baron 52.0.0rc1__py3-none-macosx_13_0_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,9 @@
1
+ import os
2
+ from pathlib import Path
3
+ from .version import __version__
4
+ directory = str(Path(__file__).resolve().parent)
5
+
6
+ files = ['baron', 'libbaronnavvy64.dylib', 'optbaron.def', 'gmsba_us.run', 'gmsba_ux.out']
7
+
8
+ file_paths = [directory + os.sep + file for file in files]
9
+ verbatim = 'BARON 1001 5 BA 1 0 1 LP MIP RMIP NLP CNS DNLP RMINLP MINLP QCP MIQCP RMIQCP\ngmsba_us.run\ngmsba_ux.out'
gamspy_baron/baron ADDED
Binary file
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ "${5}gmsba_ux.out" "$4"
3
+ [ $? = 0 ] || echo "ERROR: Solver exitcode nonzero: $?" 1>&2
4
+ exit 11
Binary file
Binary file
@@ -0,0 +1,284 @@
1
+ *
2
+ * optbaron.def
3
+ *
4
+
5
+ AbsConFeasTol double 0 1e-6 1e-12 maxdouble 1 1 Absolute constraint feasibility tolerance
6
+ AbsIntFeasTol double 0 1e-5 1e-12 maxdouble 1 1 Absolute integer feasibility tolerance
7
+ AllowExternal enumint 0 1 1 7 Indicator for use of External NLP solver with automatic NLP solver selection
8
+ 0 1 do not use the GAMS external NLP solver for local search
9
+ 1 1 consider the GAMS external NLP solver for local search
10
+ AllowIpopt enumint 0 1 1 7 Indicator for use of IPOPT with automatic NLP solver selection
11
+ 0 1 do not use IPOPT for local search
12
+ 1 1 consider IPOPT for local search
13
+ AllowMinos enumint 0 1 1 7 Indicator for use of MINOS with automatic NLP solver selection
14
+ 0 1 do not use MINOS for local search
15
+ 1 1 consider MINOS for local search
16
+ AllowSnopt enumint 0 1 1 7 Indicator for use of SNOPT with automatic NLP solver selection
17
+ 0 1 do not use SNOPT for local search
18
+ 1 1 consider SNOPT for local search
19
+ AllowFilterSD enumint 0 1 1 7 Indicator for use of FILTERSD with automatic NLP solver selection
20
+ 0 1 do not use FILTERSD for local search
21
+ 1 1 consider FILTERSD for local search
22
+ AllowFilterSQP enumint 0 1 1 7 Indicator for use of FILTERSQP with automatic NLP solver selection
23
+ 0 1 do not use FILTERSQP for local search
24
+ 1 1 consider FILTERSQP for local search
25
+ AllowCplex boolean 0 1 1 7 Indicator for use of CPLEX with automatic LP/MIP/QP solver selection
26
+ AllowCbc boolean 0 1 1 7 Indicator for use of CLP/CBC with automatic LP/MIP/QP solver selection
27
+ AllowXpress boolean 0 1 1 7 Indicator for use of FICO XPRESS with automatic LP/MIP/QP solver selection
28
+ AllowHsl boolean 0 1 1 7 Indicator for use of HSL LA04 with automatic LP solver selection
29
+ AutoBounds integer 0 0 0 maxint 0 8 Option to automatically generate bounds when bounds are missing
30
+ BasFra double 0 0.7 0 maxdouble 1 8 Similarity measure between bases for basis update not to occur
31
+ BasKp boolean 0 1 1 8 Indicates whether basis information is to be save
32
+ BoxTol double 0 1e-8 0 maxdouble 1 1 Box elimination tolerance.
33
+ BrPtStra enumint 0 0 1 4 Branching point selection strategy
34
+ 0 1 BARONs dynamic strategy
35
+ 1 1 w-branching
36
+ 2 1 bisection-branching
37
+ 3 1 convex combination of 1 and 2
38
+ BrVarStra enumint 0 0 1 4 Branching variable selection strategy
39
+ 0 1 BARONs dynamic strategy
40
+ 1 1 largest violation
41
+ 2 1 longest edge
42
+ CompIIS enumint 0 0 1 8 Request the computation of an Irreducible Inconsistent Set (IIS)
43
+ 0 1 do not search for an IIS
44
+ 1 1 the search for an IIS is based on a fast heuristic
45
+ 2 1 an IIS is obtained using a deletion filtering algorithm
46
+ 3 1 an IIS is obtained using an addition filtering algorithm
47
+ 4 1 an IIS is obtained using an addition-deletion filtering algorithm
48
+ 5 1 an IIS is obtained using a depth-first search algorithm
49
+ ConvexRatio double 0 0.7 0 maxdouble 1 4 The branching point ratio
50
+ CutOff double 0 0 0 maxdouble 1 1 Eliminate solutions that are no better than this value
51
+ DeltaA double 0 maxdouble 1e-12 maxdouble 1 1 Absolute improvement for insufficient progress termination
52
+ DeltaR double 0 1 1e-12 maxdouble 1 1 Relative improvement for insufficient progress termination
53
+ DeltaT double 0 -100 mindouble maxdouble 1 1 Time interval for insufficient progress termination
54
+ DeltaTerm enumint 0 0 1 1 Indicates whether insufficient progress termination is on or off
55
+ 0 1 do not enforce this termination condition
56
+ 1 1 terminate if progress is insufficient
57
+ DoLocal boolean 0 1 1 5 Local search option for upper bounding
58
+ 0 no local search is done during upper bounding
59
+ 1 BARON's dynamic local search decision rule
60
+ EpsA double 0 1e-6 0 maxdouble 1 1 Absolute termination tolerance.
61
+ EpsR double 0 1e-6 0 maxdouble 1 1 Relative termination tolerance.
62
+ FirstFeas integer 0 0 0 maxint 1 1 Changes the search for first numsol solutions
63
+ 0 search for the <i>best</i> \ref BARONNumSol "NumSol" feasible solutions
64
+ 1 find \ref BARONNumSol "NumSol" solutions irrespective of solution quality
65
+ FirstLoc boolean 0 0 1 1 Terminate the search as soon as a local optimum is found
66
+ GDXOut string 0 "" 1 10 Prefix for GDX file names for multiple solutions if \ref BARONNumSol "NumSol" &gt; 1.
67
+ hAbsTol double 0 0.1 0 maxdouble 1 5 Absolute improvement in the objective to repeat heuristic
68
+ Hessian integer 0 0 0 maxint 0 10 Generate hessian information
69
+ hRelTol double 0 0.1 0 maxdouble 1 5 Relative improvement in the objective to repeat heuristic
70
+ IISInt enumint 0 0 1 8 Indicates whether general integers should be considered as potential members of the IIS
71
+ 0 1 do not consider general integers as part of an IIS, assume them to be correct
72
+ 1 1 consider general integers (but not binaries) as part of an IIS
73
+ IISOrder integer 0 -1 -1 maxint 1 8 Order in which constraints are considered in the search for an IIS
74
+ -1 auto set to aim for a small IIS depending on the value of \ref BARONCompIIS "CompIIS"
75
+ 1 arrange constraints in problem order
76
+ 2 arrange constraints in ascending order of degree
77
+ 3 arrange constraints in descending order of degree
78
+ >3 random order using <tt>IISorder</tt> as seed
79
+ InfBnd double 0 0 0 maxdouble 1 10 infinity value to be used on bounds
80
+ IntOpt1 integer 0 0 0 maxint 0 8 Integer option 1
81
+ IntOpt2 integer 0 0 0 maxint 0 8 Integer option 2
82
+ IntOpt3 integer 0 0 0 maxint 0 8 Integer option 3
83
+ IntOpt4 integer 0 0 0 maxint 0 8 Integer option 4
84
+ IntOpt5 integer 0 0 0 maxint 0 8 Integer option 5
85
+ ISolTol double 0 1e-4 0 maxdouble 1 1 Solution Distance
86
+ LBTTDo boolean 0 1 1 3 Linear-feasibility-based range reduction option (poor man's LPs)
87
+ 0 no range reduction based on feasibility.
88
+ 1 range reduction done based on feasibility.
89
+ linearidentify boolean 0 1 1 8 identification of common linear subexpressions in nonlinear functions
90
+ LocRes boolean 0 0 1 6 Option to control output from local search
91
+ 0 no local search output
92
+ 1 detailed results from local search will be printed to res.dat file
93
+ LPAlg enumint 0 0 1 7 Specifies the LP algorithm to be used (available only with CPLEX as the LP solver)
94
+ 0 1 automatic selection of LP algorithm
95
+ 1 1 primal simplex
96
+ 2 1 dual simplex
97
+ 3 1 barrier
98
+ LPSol enumint 0 -1 1 7 Specifies the LP/MIP/QP Solver to be used
99
+ -1 1 Automatic LP/MIP/QP solver selection and switching strategy
100
+ 3 1 CPLEX
101
+ 7 1 XPRESS
102
+ 8 1 CLP/CBC
103
+ 15 1 HSL LA04
104
+ MaxHeur integer 0 5 0 maxint 1 5 Maximum number of passes allowed for heuristic
105
+ MaxIter integer 0 -1 -1 maxint 1 1 Maximum number of branch-and-reduce iterations allowed
106
+ maxnodepass integer 0 5 0 maxint 1 3 Maximum number of passes allowed through a node
107
+ MaxPreTime double 0 -1 -1 maxdouble 1 1 Maximum CPU time allowed in presolve
108
+ maxredpass integer 0 10 0 maxint 1 3 Maximum number of times range reduction is performed at a node before a new relaxation is constructed
109
+ MaxTime double 0 1e10 0 maxdouble 1 1 Maximum time allowed (sec)
110
+ MDo boolean 0 1 1 3 Marginals-based reduction option
111
+ 0 no range reduction based on marginals.
112
+ 1 range reduction done based on marginals.
113
+ mipsolopt boolean 0 0 0 10 Read MIP solvers options
114
+ ModBrPt boolean 0 1 1 4 Branch point modification option
115
+ NLPSol enumint 0 -1 1 7 Specifies the NLP solver to be used
116
+ -1 1 Automatic NLP solver selection and switching strategy
117
+ 0 1 Local search based on function evaluations alone with no calls to local solvers
118
+ 2 1 MINOS
119
+ 4 1 SNOPT
120
+ 6 1 GAMS NLP solver (see \ref BARONExtNLPsolver "ExtNLPsolver")
121
+ 9 1 IPOPT
122
+ 10 1 FILTERSD
123
+ 14 1 FILTERSQP
124
+ NodeSel enumint 0 0 1 4 Specifies the node selection rule to be used for exploring the search tree
125
+ 0 1 BARONs mixed selection scheme
126
+ 1 1 best bound
127
+ 2 1 last in first out [LIFO]
128
+ 3 1 minimum infeasibility
129
+ NoStarting boolean 0 0 0 10 Discard starting point
130
+ Nouter1 integer 0 4 0 maxint 1 2 Number of outer approximators of convex univariant functions
131
+ NoutIter integer 0 4 0 maxint 1 2 Number of rounds of cutting plane generation at node relaxation
132
+ NoutPerVar integer 0 4 0 maxint 1 2 Number of outer approximations per variable for convex multivariate functions
133
+ NumBranch integer 0 -1 -1 maxint 1 4 Number of Variables to be branched on
134
+ -1 consider the model variables as well as variables introduced by BARON's lower bounding procedure
135
+ 0 consider only the original model variables for branching
136
+ n consider only the first n variables for branching
137
+ NumLoc integer 0 -2 -2 maxint 1 5 Number of local searches done in preprocessing
138
+ NumSol integer 0 1 -1 maxint 1 1 Number of feasible solutions to be found
139
+ NumStore integer 0 0 -1 maxint 1 4 Number of variables whose bounds are to be stored at every node of the tree
140
+ -1 store all variables
141
+ 0 store numbranch variables
142
+ n store n variables
143
+ OBTTDo boolean 0 1 1 3 Optimality based tightening option
144
+ 0 no range reduction based on optimality.
145
+ 1 range reduction done based on optimality.
146
+ oldpow boolean 0 0 0 8 Old polyhedral convexification routines for powers
147
+ oldmono boolean 0 0 0 8 Old polyhedral convexification routines for powers
148
+ oldlog boolean 0 0 0 8 Old polyhedral convexification routines for logarithms
149
+ OutGrid integer 0 20 0 maxint 1 2 Number of grid points per variable for convex multivariate approximators of BARON's <tt>CONVEX_EQUATIONS</tt>.
150
+ PBin boolean 0 1 1 3 Probing on binary variables option
151
+ PDo integer 0 -2 -2 maxint 1 3 Number of probing problems allowed
152
+ -2 automatically decided by BARON.
153
+ -1 probing on all variables.
154
+ 0 no range reduction by probing.
155
+ n probing on n variables.
156
+ pEnd integer 0 -1 -1 maxint 1 3 Level of branch-and-reduce tree where probing ends
157
+ pFreq integer 0 3 0 maxint 1 3 Level-frequency of probing applications
158
+ PhaseOne integer 0 0 0 maxint 0 10 Create Phase One feasibility problem
159
+ postabstol double 0 1e30 0 maxdouble 1 8 Absolute tolerance for postponing a node
160
+ postreltol double 0 1e30 0 maxdouble 1 8 Realtive tolerance for postponing a node
161
+ prelpdo integer 0 0 minint maxint 1 8 Solve preprocessing LPs at root
162
+ -n preprocess the first n problem variables
163
+ 0 no preprocessing LPs should be solved
164
+ 1 preprocess all problem variables including those introduced by BARON's reformulator
165
+ 2 preprocess the first numstore problem variables
166
+ 3 preprocess all original problem variables
167
+ prfreq double 0 1000000 0 maxdouble 1 6 Log output frequency in number of nodes
168
+ prlevel boolean 0 1 1 6 Defines the level of log output printed.
169
+ 0 all log output is suppressed
170
+ 1 print log output
171
+ profra double 0 0.67 0 1 1 3 Fraction of probe to bound distance from relaxed solution when forced probing is done
172
+ prtimefreq double 0 30 0 maxdouble 1 6 Log output frequency in number of seconds
173
+ pStart integer 0 0 0 maxint 1 3 Level of branch-and-reduce tree where probing begins
174
+ pxdo integer 0 0 0 maxint 1 3 Number of probing variables fully optimized (not fixed at bound)
175
+ RealOpt1 double 0 0 0 maxdouble 0 8 Real option 1
176
+ RealOpt2 double 0 0 0 maxdouble 0 8 Real option 2
177
+ RealOpt3 double 0 0 0 maxdouble 0 8 Real option 3
178
+ RealOpt4 double 0 0 0 maxdouble 0 8 Real option 4
179
+ RealOpt5 double 0 0 0 maxdouble 0 8 Real option 5
180
+ RealPower integer 0 0 0 maxint 0 10 Use original real power
181
+ redabstol double 0 0.1 0 maxdouble 1 3 Absolute improvement in the objective to reconstruct the relaxation of the current node
182
+ redreltol double 0 0.1 0 maxdouble 1 3 Relative improvement in the objective to reconstruct the relaxation of the current node
183
+ Reform integer 0 100 0 maxint 0 10 Reformulation level
184
+ RelConFeasTol double 0 0 0 0.1 1 1 Relative constraint feasibility tolerance
185
+ RelIntFeasTol double 0 0 0 0.1 1 1 Relative integer feasibility tolerance
186
+ Results boolean 0 1 0 6 Indicator if a results file is to be created
187
+ 0 do not create file
188
+ 1 create file named according to the \ref BARONResName "ResName" option
189
+ seed integer 0 19631963 1 maxint 1 8 Initial seed for random number generator
190
+ Threads integer 0 1 1 maxint 1 2 Number of cores used for solution of MIP subproblems
191
+ TDo boolean 0 1 1 3 Nonlinear-feasibility-based range reduction option (poor man's NLPs)
192
+ 0 no bounds tightening is performed.
193
+ 1 bounds tightening is performed.
194
+ twoways boolean 0 1 1 3 Determines whether probing on both bounds is done or not
195
+ WantDual enumint 0 1 1 8 whether to try to provide dual solution values
196
+ 0 1 BARON may or may not return a dual solution.
197
+ 1 1 BARON will return a dual solution using an inexpensive technique to solve a KKT system corresponding to the best primal solution identified
198
+ DualBudget double 0 0 0 maxdouble 1 8 Maximum time allowed (sec) for calculating a dual solution in case BARON times out and WantDual equals 1
199
+ .Lo double 0 0 mindouble maxdouble 0 10 Variable Lower Bound
200
+ .Up double 0 0 0 maxdouble 0 10 Variable Upper Bound
201
+ .Prior double 0 0 0 maxdouble 0 10 Variable Branching Priority
202
+ .EquClass enumint 0 0 1 10 Equation Classification
203
+ 0 1 Regular constraint.
204
+ 1 1 Relaxation-only constraint
205
+ 2 1 Convex constraint
206
+ 3 1 Convex constraint that is relaxation-only.
207
+ GamsCntr string 0 "" 0 9 GAMS control file name
208
+ HessCntr string 0 "" 0 9 Hessian mini control file
209
+ HessInst string 0 "" 0 9 Hessian instruction file
210
+ TimName string 0 "225a/tim.dat" 0 6 Name of <tt>times</tt> to be written.
211
+ ResName string 0 "225a/res.dat" 0 6 Name of <tt>results</tt> file to be written.
212
+ SumName string 0 "225a/sum.dat" 0 6 Indicator if a <tt>summary</tt> file is to be created.
213
+ OptName string 0 "" 0 9 temp option file name
214
+ ProName string 0 "problem" 0 6 Problem name. This option should be no longer than 10 characters.
215
+ BarName string 0 "225a/mybaron.dat" 1 10 Name of BARON problem file to be written
216
+ Include immediate ReadFile 0 10 Start reading from a new file
217
+ ObjName string 0 "" 0 10 Obj variable name
218
+ ExtNLPsolver string 0 "conopt4" 1 7 External GAMS NLP solver and option file (e.g. conopt3.1)
219
+ ExtMINLPsolver string 0 "sbb" 0 10 External GAMS MINLP solver and option file (e.g. sbb.1)
220
+ Secret strlist 0 0 10 Pass secret option to BARON
221
+ ClockType enumstr 0 "wall" 1 10 Type of clock to use when reporting solving time back to GAMS
222
+ "wall" 1 report time according to "clock on the wall" (as used by most GAMS solver links)
223
+ "cpu" 1 report time used by CPU (summed up over all cores)
224
+ "baron" 1 report same time as used by BARON ("cpu" if one thread, "wall" if multiple threads)
225
+ optca synonym EpsA
226
+ optcr synonym EpsR
227
+ integer1 synonym IntOpt1
228
+ integer2 synonym IntOpt2
229
+ integer3 synonym IntOpt3
230
+ integer4 synonym IntOpt4
231
+ integer5 synonym IntOpt5
232
+ nodlim synonym MaxIter
233
+ reslim synonym MaxTime
234
+ real1 synonym RealOpt1
235
+ real2 synonym RealOpt2
236
+ real3 synonym RealOpt3
237
+ real4 synonym RealOpt4
238
+ real5 synonym RealOpt5
239
+ myeolchar EOLCOMM #
240
+ *
241
+ * deprecated section
242
+ *
243
+ baron11 deprecated
244
+ linearidentify New parser in BARON 11.3 makes option superfluous
245
+ baron126 deprecated
246
+ BasFra Automatic setting of many options based on problem characteristics and learning algorithms
247
+ BasKp Automatic setting of many options based on problem characteristics and learning algorithms
248
+ ConvexRatio Automatic setting of many options based on problem characteristics and learning algorithms
249
+ hAbsTol Automatic setting of many options based on problem characteristics and learning algorithms
250
+ hRelTol Automatic setting of many options based on problem characteristics and learning algorithms
251
+ MaxHeur Automatic setting of many options based on problem characteristics and learning algorithms
252
+ maxnodepass Automatic setting of many options based on problem characteristics and learning algorithms
253
+ MaxPreTime Automatic setting of many options based on problem characteristics and learning algorithms
254
+ maxredpass Automatic setting of many options based on problem characteristics and learning algorithms
255
+ ModBrPt Automatic setting of many options based on problem characteristics and learning algorithms
256
+ NumBranch Automatic setting of many options based on problem characteristics and learning algorithms
257
+ NumStore Automatic setting of many options based on problem characteristics and learning algorithms
258
+ PBin Automatic setting of many options based on problem characteristics and learning algorithms
259
+ pEnd Automatic setting of many options based on problem characteristics and learning algorithms
260
+ pFreq Automatic setting of many options based on problem characteristics and learning algorithms
261
+ postabstol Automatic setting of many options based on problem characteristics and learning algorithms
262
+ postreltol Automatic setting of many options based on problem characteristics and learning algorithms
263
+ prelpdo Automatic setting of many options based on problem characteristics and learning algorithms
264
+ profra Automatic setting of many options based on problem characteristics and learning algorithms
265
+ pStart Automatic setting of many options based on problem characteristics and learning algorithms
266
+ pxdo Automatic setting of many options based on problem characteristics and learning algorithms
267
+ redabstol Automatic setting of many options based on problem characteristics and learning algorithms
268
+ redreltol Automatic setting of many options based on problem characteristics and learning algorithms
269
+ twoways Automatic setting of many options based on problem characteristics and learning algorithms
270
+ *
271
+ * Groups
272
+ * <group-ident> group <group-number <help-context> <help-text>
273
+ *
274
+ Termination group 1 1 Termination options
275
+ Relaxation group 2 1 Relaxation options
276
+ Range group 3 1 Range reduction options
277
+ Branching group 4 1 Tree management options
278
+ Heuristic group 5 1 Local search options
279
+ Output group 6 1 Output Options
280
+ Subsolver group 7 1 Subsolver Options
281
+ Other group 8 1 Other Options
282
+ GamsOnly group 9 0 Gams system interface only
283
+ NonBaron group 10 1 Interface and Conversion
284
+ *** End of file
@@ -0,0 +1 @@
1
+ __version__ = '52.0.0rc1'
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: gamspy_baron
3
+ Version: 52.0.0rc1
@@ -0,0 +1,11 @@
1
+ gamspy_baron/__init__.py,sha256=oJ5o2uokqc0zVp74h-bzDMKqKePTF4kOtQBtnduRWDY,387
2
+ gamspy_baron/baron,sha256=5Bzng4whxuTlukDWhG420KZmAAcweqAxKCUiUshJ67w,25826768
3
+ gamspy_baron/gmsba_us.run,sha256=DaOnWbwjOV4SNKncTJ6BIAC36FFlCyyfT-AYnMtVXxI,103
4
+ gamspy_baron/gmsba_ux.out,sha256=n7fN2uRX8w_w6fDsy6N5R1E8BkbFWQ9EEypO5qKkqRs,1674720
5
+ gamspy_baron/libbaronnavvy64.dylib,sha256=hTfQ5h0gmvgUkU3m-ZZK0aD6FF5-QEVgdSSlH3ymnGU,342128
6
+ gamspy_baron/optbaron.def,sha256=H07DO66wEICrGtxN_sToIrrj0GtzNwXi-SLsWiJ7O_M,17348
7
+ gamspy_baron/version.py,sha256=xEmi9aNSuCk1FB4wuU1dnHDcnFovh89ZPfIiCZCjNrA,25
8
+ gamspy_baron-52.0.0rc1.dist-info/METADATA,sha256=QnzZes-eWsve1xjh_yhS_3nrtIbl14J4ssCUXzKXVAE,60
9
+ gamspy_baron-52.0.0rc1.dist-info/WHEEL,sha256=SFDFti0ktJEDbNgnSkwKMLyZhusCvEO6pqHMXousbqU,112
10
+ gamspy_baron-52.0.0rc1.dist-info/top_level.txt,sha256=ckcfbNRGnYCVz7WFrq-agTrqjVyrn7XrRxJzDC6rIzs,13
11
+ gamspy_baron-52.0.0rc1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+
5
+ Tag: py3-none-macosx_13_0_x86_64
@@ -0,0 +1 @@
1
+ gamspy_baron