gamspy-copt 51.0.0rc1__py3-none-manylinux_2_28_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.

Potentially problematic release.


This version of gamspy-copt might be problematic. Click here for more details.

@@ -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 = ['libcopt.so', 'optcopt.def', 'libcptcclib64.so']
7
+
8
+ file_paths = [directory + os.sep + file for file in files]
9
+ verbatim = 'COPT 1011 5 CT 1 0 2 LP MIP RMIP QCP MIQCP RMIQCP\ngmsgenus.run\ngmsgenux.out\nlibcptcclib64.so cpt 1 1'
gamspy_copt/libcopt.so ADDED
Binary file
Binary file
@@ -0,0 +1,243 @@
1
+ * This file is autogenerated by optcopt.
2
+ .feaspref double 12 1 0 maxdouble 1 7 preference to include variable bound or equation side into feasibility relaxation
3
+ AbsGap double 0 0 0 maxdouble 1 1 The absolute gap for MIP
4
+ BarHomogeneous enumint 0 -1 1 3 Whether to use homogeneous self-dual form in barrier
5
+ -1 1 Choose automatically.
6
+ 0 1 No.
7
+ 1 1 Yes.
8
+ BarIterLimit integer 0 maxint 0 maxint 1 1 Barrier iteration limit
9
+ BarOrder enumint 0 -1 1 3 Ordering method for barrier
10
+ -1 1 Choose automatically.
11
+ 0 1 Approximate Minimum Degree (AMD).
12
+ 1 1 Nested Dissection (ND).
13
+ BarStart enumint 0 -1 1 3 Starting Point method for barrier
14
+ -1 1 Choose automatically.
15
+ 0 1 Simple.
16
+ 1 1 Mehrotra.
17
+ 2 1 Modified Mehrotra.
18
+ BarThreads integer 0 -1 -1 128 1 6 Number of threads to use in the barrier solver
19
+ ConflictAnalysis enumint 0 -1 1 4 Whether to perform conflict analysis
20
+ -1 1 Automatic.
21
+ 0 1 No.
22
+ 1 1 Yes.
23
+ Crossover enumint 0 1 1 3 Whether to run crossover after barrier
24
+ -1 1 Choose automatically. Only run crossover when the LP solution is not primal-dual feasible.
25
+ 0 1 No.
26
+ 1 1 Yes.
27
+ CrossoverThreads integer 0 -1 -1 128 1 6 Number of threads to use in the crossover
28
+ CutLevel enumint 0 -1 1 4 Level of cutting planes generation
29
+ -1 1 Automatic.
30
+ 0 1 Off.
31
+ 1 1 Fast.
32
+ 2 1 Normal.
33
+ 3 1 Aggressive.
34
+ DivingHeurLevel enumint 0 -1 1 4 Level of diving heuristics
35
+ -1 1 Automatic.
36
+ 0 1 Off.
37
+ 1 1 Fast.
38
+ 2 1 Normal.
39
+ 3 1 Aggressive.
40
+ Dualize enumint 0 -1 1 2 Whether to dualize a problem before solving it
41
+ -1 1 Choose automatically.
42
+ 0 1 No dualizing.
43
+ 1 1 Dualizing the problem.
44
+ DualPerturb enumint 0 -1 1 3 Whether to allow the objective function perturbation
45
+ -1 1 Choose automatically.
46
+ 0 1 No perturbation.
47
+ 1 1 Allow objective function perturbation.
48
+ DualPrice enumint 0 -1 1 3 Specifies the dual simplex pricing algorithm
49
+ -1 1 Choose automatically.
50
+ 0 1 Using Devex pricing algorithm.
51
+ 1 1 Using dual steepest-edge pricing algorithm .
52
+ DualTol double 0 1e-06 1e-09 0.0001 1 1 The tolerance for dual solutions and reduced cost
53
+ FAPHeurLevel enumint 0 -1 1 4 Level of fix-and-propagate heuristics
54
+ -1 1 Automatic.
55
+ 0 1 Off.
56
+ 1 1 Fast.
57
+ 2 1 Normal.
58
+ 3 1 Aggressive.
59
+ FeasRelax boolean 11 0 1 7 whether to compute a feasible relaxation instead of solving the problem
60
+ FeasRelaxMode enumint 0 0 1 7 Specifies the feasibility relaxation mode
61
+ 0 1 Minimize sum of violations.
62
+ 1 1 Optimize original objective function under minimal sum of violations.
63
+ 2 1 Minimize number of violations.
64
+ 3 1 Optimize original objective function under minimal number of violations.
65
+ 4 1 Minimize sum of squared violations.
66
+ 5 1 Optimize original objective function under minimal sum of squared violations.
67
+ FeasTol double 0 1e-06 1e-09 0.0001 1 1 The feasibility tolerance
68
+ GPUDevice integer 0 -1 -1 maxint 1 3 Utilize the GPU with the specified device ID (in cases where the running machine has multiple GPUs)
69
+ GPUMode enumint 0 -1 1 3 Usage mode of the GPU solver
70
+ -1 1 Choose automatically.
71
+ 0 1 Force the use of CPU mode.
72
+ 1 1 Utilize NVIDIA GPU.
73
+ HeurLevel enumint 0 -1 1 4 Level of heuristics
74
+ -1 1 Automatic.
75
+ 0 1 Off.
76
+ 1 1 Fast.
77
+ 2 1 Normal.
78
+ 3 1 Aggressive.
79
+ iis enumint 10 0 1 7 whether to compute an Irreducible Inconsistent Subsystem (IIS) if the problem is infeasible
80
+ 0 1 no
81
+ 1 1 compute IIS after solve if infeasible
82
+ 2 1 compute IIS without solving original problem
83
+ IISMethod enumint 0 -1 1 7 Specifies the IIS method
84
+ -1 1 Automatic.
85
+ 0 1 Find smaller IIS.
86
+ 1 1 Find IIS quickly.
87
+ IntTol double 0 1e-06 1e-09 0.1 1 1 The integer feasibility tolerance
88
+ LinearizeIndicators enumint 0 -1 1 4 Controls whether to force the linearization of Indicator constraints.
89
+ -1 1 Choose automatically. COPT attempts to linearize indicator constraints when the model is numerically well-conditioned.
90
+ 0 1 Do not force linearization of indicator constraints.
91
+ 1 1 Force linearization of all indicator constraints. All indicator constraints will be transformed into equivalent linear constraints if enabled.
92
+ LinearizeSos enumint 0 -1 1 4 Controls whether to force the linearization of SOS constraints.
93
+ -1 1 Choose automatically. COPT attempts to linearize SOS constraints when the model is numerically well-conditioned.
94
+ 0 1 Do not force linearization of SOS constraints.
95
+ 1 1 Force linearization of all SOS constraints. All SOS constraints will be transformed into equivalent linear constraints if enabled.
96
+ LpMethod enumint 0 -1 1 3 Specifies the LP method
97
+ -1 1 Dual Simplex for LP. Automatic choice between Dual Simplex and Barrier for MIP.
98
+ 1 1 Dual simplex.
99
+ 2 1 Barrier.
100
+ 3 1 Crossover.
101
+ 4 1 Concurrent (Use simplex and barrier simultaneously).
102
+ 5 1 Choose between simplex and barrier automatically (Based on features such as sparsity and/or coefficients ranges).
103
+ 6 1 First-order method (PDLP).
104
+ MatrixTol double 0 1e-10 0 1e-07 1 1 The input matrix coefficient tolerance
105
+ MipStartMode enumint 0 -1 1 4 Specifies MIP start mode
106
+ -1 1 Automatic.
107
+ 0 1 Disable MIP starts.
108
+ 1 1 Only use full and feasible MIP starts.
109
+ 2 1 Try to complete partial feasible MIP starts by solving subMIPs.
110
+ MipStartNodeLimit integer 0 -1 -1 maxint 1 4 Limit of nodes for MIP start sub-MIP (to complete partial MIP starts) (-1: unlimited)
111
+ MipTasks integer 0 -1 -1 256 1 6 Number of parallel tasks in MIP solving (-1: automatic)
112
+ NLPIterLimit integer 0 maxint 0 maxint 1 5 Iteration limit for the nonlinear solver
113
+ NLPLinScale enumint 0 -1 1 5 Linear system scaling strategy of the nonlinear solver
114
+ -1 1 Choose automatically.
115
+ 0 1 No scaling.
116
+ 1 1 Always scale.
117
+ NLPMuUpdate enumint 0 -1 1 5 Barrier parameter update strategy of the nonlinear solver
118
+ -1 1 Choose automatically.
119
+ 0 1 Monotonically decreasing.
120
+ 1 1 Adaptive adjustment.
121
+ NLPTol double 0 1e-08 1e-13 0.001 1 5 Optimal relative tolerance for nonlinear programming
122
+ NodeCutRounds integer 0 -1 -1 maxint 1 4 Maximum cut rounds in a local node
123
+ NodeLimit integer 0 maxint -1 maxint 1 1 Limit of nodes for MIP
124
+ NonConvex enumint 0 -1 1 5 Handling strategy for nonconvex models
125
+ -1 1 Choose automatically.
126
+ 0 1 Report nonconvexity and terminate.
127
+ 1 1 Search for a local optimal solution.
128
+ PDLPTol double 0 1e-06 1e-12 0.0001 1 1 Convergence tolerance for the first-order method (PDLP)
129
+ Presolve enumint 0 -1 1 2 Level of presolving performed before solving a problem
130
+ -1 1 Choose automatically.
131
+ 0 1 No presolving.
132
+ 1 1 Fast presolving.
133
+ 2 1 Normal presolving.
134
+ 3 1 Aggressive presolving.
135
+ qextractalg enumint 18 0 1 9 extraction algorithm for quadratic equations
136
+ 0 1 choose automatically
137
+ 1 1 threepass: uses a three-pass forward / backward / forward AD technique to compute function / gradient / Hessian values and a hybrid scheme for storage
138
+ 2 1 doubleforward: uses forward-mode AD to compute and store function, gradient, and Hessian values at each node or stack level as required; the gradients and Hessians are stored in linked lists
139
+ 3 1 concurrent: uses threepass and doubleforward in parallel; as soon as one finishes, the other one stops
140
+ qextractdenseswitchfactor double 19 0.008 0 maxdouble 1 9 sparse/dense factor for quadratic extraction algorithm
141
+ qextractdenseswitchlog boolean 20 0 1 9 whether to print additional information about sparse/dense factor choice in quadratic extraction algorithm
142
+ readparams string 9 "" 1 9 read COPT parameter file
143
+ RelGap double 0 0.0001 0 maxdouble 1 1 The relative gap for MIP
144
+ ReqFarkasRay boolean 0 1 1 3 Whether to return a Farkas or Ray when an LP is infeasible or unbounded
145
+ RootCutLevel enumint 0 -1 1 4 Level of root cutting planes generation
146
+ -1 1 Automatic.
147
+ 0 1 Off.
148
+ 1 1 Fast.
149
+ 2 1 Normal.
150
+ 3 1 Aggressive.
151
+ RootCutRounds integer 0 -1 -1 maxint 1 4 Maximum cut rounds in the root (-1: unlimited)
152
+ RoundingHeurLevel enumint 0 -1 1 4 Level of rounding heuristics
153
+ -1 1 Automatic.
154
+ 0 1 Off.
155
+ 1 1 Fast.
156
+ 2 1 Normal.
157
+ 3 1 Aggressive.
158
+ Scaling enumint 0 -1 1 2 Whether to perform scaling before solving a problem
159
+ -1 1 Choose automatically.
160
+ 0 1 No scaling.
161
+ 1 1 Apply scaling.
162
+ SimplexThreads integer 0 -1 -1 128 1 6 Number of threads to use in the simplex solver
163
+ solnpool string 1 "" 1 9 Solution pool file name
164
+ solnpoolmerge string 2 "" 1 9 Solution pool file name for merged solutions
165
+ SolTimeLimit double 0 1e+20 0 1e+20 1 1 Time limit that is only effictive after a primal feasible solution has been found
166
+ solvefinal boolean 3 1 1 9 whether to solve the LP obtained from fixing discrete variables and variables in SOS after a MIP solve
167
+ solvetrace string 15 "" 1 9 name of file for writing solving progress information during solve
168
+ solvetracenodefreq integer 16 100 0 maxint 1 9 frequency in number of nodes for writing to solve trace file
169
+ solvetracetimefreq double 17 5 0 maxdouble 1 9 frequency in seconds for writing to solve trace file
170
+ StrongBranching enumint 0 -1 1 4 Level of strong branching
171
+ -1 1 Automatic.
172
+ 0 1 Off.
173
+ 1 1 Fast.
174
+ 2 1 Normal.
175
+ 3 1 Aggressive.
176
+ SubMipHeurLevel enumint 0 -1 1 4 Level of sub-MIP heuristics
177
+ -1 1 Automatic.
178
+ 0 1 Off.
179
+ 1 1 Fast.
180
+ 2 1 Normal.
181
+ 3 1 Aggressive.
182
+ Threads integer 0 0 -1 128 1 6 Number of threads to use (-1: automatic, 0: 1 thread)
183
+ TimeLimit double 0 1e+10 0 1e+20 1 1 Time limit of the optimization
184
+ TreeCutLevel enumint 0 -1 1 4 Level of tree cutting planes generation
185
+ -1 1 Automatic.
186
+ 0 1 Off.
187
+ 1 1 Fast.
188
+ 2 1 Normal.
189
+ 3 1 Aggressive.
190
+ TuneMeasure enumint 0 -1 1 8 Method to aggregate multiple permutation solves into a single measure for tuner
191
+ -1 1 Choose automatically.
192
+ 0 1 Average value.
193
+ 1 1 Maximum value.
194
+ TuneMethod enumint 0 -1 1 8 Tuning method
195
+ -1 1 Choose automatically.
196
+ 0 1 Greedy search strategy.
197
+ 1 1 Broader search strategy.
198
+ TuneMode enumint 0 -1 1 8 Specifies tuning mode for tuner
199
+ -1 1 Choose automatically.
200
+ 0 1 Solving time.
201
+ 1 1 Relative optimality gap.
202
+ 2 1 Primal bound (objective function value of incumbent).
203
+ 3 1 Dual bound (bound on optimal value).
204
+ TuneOutputLevel enumint 0 2 1 8 Output level for tuner
205
+ 0 1 No tuning log.
206
+ 1 1 Summary of the improved parameters only.
207
+ 2 1 Summary of each tuning attempt.
208
+ 3 1 Detailed log of each tuning attempt.
209
+ TuneParams string 14 "" 1 8 COPT parameter file with options to be tuned
210
+ TunePermutes integer 0 0 0 maxint 1 8 Number of permuted solves for each parameter set by tuner (0: auto)
211
+ TuneTargetRelGap double 0 0.0001 0 maxdouble 1 8 Target relative gap for tuning
212
+ TuneTargetTime double 0 0.01 0 maxdouble 1 8 Target elapsed time for tuning
213
+ TuneTimeLimit double 0 0 0 1e+20 1 8 Time limit of tuning (0: auto)
214
+ Tuning string 13 "" 1 8 If set, enables tuning tool. The option value should be the prefix for names of tuned option files that are written.
215
+ writebas string 7 "" 1 9 name of file to which to write advanced starting basis in basis format
216
+ writebin string 6 "" 1 9 name of file to which to write problem in COPT binary format
217
+ writelp string 4 "" 1 9 name of file to which to write problem in LP file format
218
+ writemps string 5 "" 1 9 name of file to which to write problem in MPS file format
219
+ writemst string 8 "" 1 9 name of file to which to write MIP starting point
220
+ writenl string 21 "" 1 9 name of file to which to write problem in NL file format
221
+ *
222
+ * synonym section
223
+ *
224
+ feasopt synonym FeasRelax
225
+ feasoptmode synonym FeasRelaxMode
226
+ *
227
+ * indicator section
228
+ *
229
+ indicator SEPARATOR " "
230
+ indicator STRINGQUOTE
231
+ indic indicator
232
+ *
233
+ * Groups
234
+ *
235
+ gr_Limits_and_Tolerances group 1 1 Limits and Tolerances
236
+ gr_Presolving_and_Scaling group 2 1 Presolving and Scaling
237
+ gr_LP_solving group 3 1 LP solving
238
+ gr_MIP_solving group 4 1 MIP solving
239
+ gr_NLP_solving group 5 1 NLP solving
240
+ gr_Multithreading group 6 1 Multithreading
241
+ gr_Infeasibility_Analysis group 7 1 Infeasibility Analysis
242
+ gr_Parameter_Tuning group 8 1 Parameter Tuning
243
+ gr_GAMS_COPT_link group 9 1 GAMS/COPT link
gamspy_copt/version.py ADDED
@@ -0,0 +1 @@
1
+ __version__ = '51.0.0rc1'
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: gamspy_copt
3
+ Version: 51.0.0rc1
@@ -0,0 +1,9 @@
1
+ gamspy_copt/__init__.py,sha256=-YjqqmEtat0Add0WYpa0i71cnSTUZkIZacfn1OK4eYc,353
2
+ gamspy_copt/libcopt.so,sha256=98mP5314-SaePD1hgZodBl3N_VzdsAqh7oq6vIlvY7I,49613480
3
+ gamspy_copt/libcptcclib64.so,sha256=05LL4iavoh5quDWO9pdkpjkr8EQ1IT4c74o-MpLQlOA,347336
4
+ gamspy_copt/optcopt.def,sha256=38-q4pTyrNsa_pbXkCwBPNDCM1Gj_RSD5BksZWg_VsY,11613
5
+ gamspy_copt/version.py,sha256=e7dMxWWwwFHKgGBBUm_HJ6d7Cv0vcrHfD8iMjvg1XSM,25
6
+ gamspy_copt-51.0.0rc1.dist-info/METADATA,sha256=WvF8NYHfOp2T-E9mQqYOZ31lVCaX_LfjowiGi6QCZmI,59
7
+ gamspy_copt-51.0.0rc1.dist-info/WHEEL,sha256=y8u8XMRMhRO4WIzZsJlf1QLnkoycGOkSMhsygOvn-QU,115
8
+ gamspy_copt-51.0.0rc1.dist-info/top_level.txt,sha256=o5QBGmjwM9C5RbXo-DaXXSQ3pp7mqHaWj3aCHrz-lXY,12
9
+ gamspy_copt-51.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-manylinux_2_28_x86_64
@@ -0,0 +1 @@
1
+ gamspy_copt