gamspy-knitro 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.
- gamspy_knitro/__init__.py +9 -0
- gamspy_knitro/libiomp5.dylib +0 -0
- gamspy_knitro/libknitro1501.dylib +0 -0
- gamspy_knitro/libknxcclib64.dylib +0 -0
- gamspy_knitro/optknitro.def +675 -0
- gamspy_knitro/version.py +1 -0
- gamspy_knitro-52.0.0rc1.dist-info/METADATA +3 -0
- gamspy_knitro-52.0.0rc1.dist-info/RECORD +10 -0
- gamspy_knitro-52.0.0rc1.dist-info/WHEEL +5 -0
- gamspy_knitro-52.0.0rc1.dist-info/top_level.txt +1 -0
|
@@ -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 = ['libknitro1501.dylib', 'libiomp5.dylib', 'optknitro.def', 'libknxcclib64.dylib']
|
|
7
|
+
|
|
8
|
+
file_paths = [directory + os.sep + file for file in files]
|
|
9
|
+
verbatim = 'KNITRO 103011 5 KN 1 0 2 LP RMIP NLP MCP MPEC RMPEC CNS DNLP RMINLP MINLP QCP MIQCP RMIQCP\ngmsgenus.run\ngmsgenux.out\nlibknxcclib64.dylib knx 1 0'
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,675 @@
|
|
|
1
|
+
*
|
|
2
|
+
* optknitro.def
|
|
3
|
+
*
|
|
4
|
+
|
|
5
|
+
presolve enumint 1059 1 1 4 Determine whether or not to use the Knitro presolver to try to simplify the model by removing variables or constraints
|
|
6
|
+
0 1 (no) No presolve
|
|
7
|
+
1 1 (yes) Knitro performs presolve
|
|
8
|
+
tuner enumint 1070 0 1 12 Indicates whether to invoke the Knitro-Tuner
|
|
9
|
+
0 1 (off) Knitro Tuner turned off
|
|
10
|
+
1 1 (on) Knitro Tuner enabled
|
|
11
|
+
blasoption enumint 1042 -1 1 1 Specifies the BLAS/LAPACK function library to use for basic vector and matrix computations
|
|
12
|
+
-1 1 (auto) Automatically determine based on platform
|
|
13
|
+
0 1 (knitro) Use Knitro version of netlib functions
|
|
14
|
+
1 1 (intel) Use Intel MKL functions
|
|
15
|
+
2 1 (dynamic) Use dynamic library of functions
|
|
16
|
+
3 1 (blis) Use BLIS functions
|
|
17
|
+
4 1 (apple) Use Apple Accelerate functions
|
|
18
|
+
blasoptionlib string 1045 "" 1 1 Specifies a dynamic library name that contains object code for BLAS/LAPACK functions
|
|
19
|
+
bndrange double 1112 1e+20 0 maxdouble 1 1 Specifies max limits on the magnitude of constraint and variable bounds
|
|
20
|
+
cg_maxit integer 1013 -1 -1 maxint 1 1 Determines the maximum allowable number of inner conjugate gradient (CG) iterations per Knitro minor iteration
|
|
21
|
+
cg_pmem integer 1103 10 0 maxint 1 1 Specifies the amount of nonzero elements per column of the Hessian of the Lagrangian which are retained when computing the incomplete Cholesky preconditioner
|
|
22
|
+
cg_precond enumint 1041 0 1 1 Specifies whether an incomplete Cholesky preconditioner is applied during CG iterations in barrier algorithms
|
|
23
|
+
0 1 (no) Not applied
|
|
24
|
+
1 1 (chol) Preconditioner is applied
|
|
25
|
+
cg_stoptol double 1099 0.01 0 maxdouble 1 1 Specifies the relative stopping tolerance used for the conjugate gradient (CG) subproblem solves
|
|
26
|
+
convex enumint 1114 -1 1 1 Declare the problem as convex by setting to 1 or non-convex by setting to 0
|
|
27
|
+
-1 1 (auto) Knitro will try to determine this automatically, but may only be able to do so for simple model forms such as QPs or QCQPs.
|
|
28
|
+
0 1 (no) Declare problem as non-convex
|
|
29
|
+
1 1 (yes) Declare problem as convex
|
|
30
|
+
cpuplatform enumint 1120 -1 1 1 This option can be used to specify the target instruction set architecture for the machine on which Knitro is running
|
|
31
|
+
-1 1 (auto) Determine automatically
|
|
32
|
+
1 1 (compatible) Aim for more compatible performance across architectures
|
|
33
|
+
2 1 (sse2) SSE2
|
|
34
|
+
3 1 (avx) AVX
|
|
35
|
+
4 1 (avx2) AVX-2
|
|
36
|
+
5 1 (avx512) AVX-512 (experimental)
|
|
37
|
+
datacheck enumint 1087 0 1 1 Specifies whether to perform more extensive data checks to look for errors in the problem input to Knitro (in particular, this option looks for errors in the sparse Jacobian and/or sparse Hessian structure)
|
|
38
|
+
0 1 (no) No extra data checks
|
|
39
|
+
1 1 (yes) Perform extra data checks
|
|
40
|
+
delta double 1020 1 1e-14 maxdouble 1 1 Specifies the initial trust region radius scaling factor used to determine the initial trust region size
|
|
41
|
+
eval_cost enumint 1159 0 1 1 Use this option to tell Knitro the relative cost of performing callback (e.g. function, gradient and Hessian) evaluations
|
|
42
|
+
0 1 (unspecified) Evaluation cost is not specified
|
|
43
|
+
1 1 (inexpensive) Evaluation cost is relatively inexpensive
|
|
44
|
+
2 1 (expensive) Evaluation cost is relatively expensive
|
|
45
|
+
honorbnds enumint 1002 -1 1 1 Indicates whether or not to enforce satisfaction of simple variable bounds throughout the optimization
|
|
46
|
+
-1 1 (auto) Setting determined automatically by Knitro
|
|
47
|
+
0 1 (no) Allow iterations to violate the bounds
|
|
48
|
+
1 1 (always) Enforce bounds satisfaction of all iterates
|
|
49
|
+
2 1 (initpt) Enforce bounds satisfaction of initial point
|
|
50
|
+
initpenalty double 1097 10 0 maxdouble 1 1 Specifies the initial penalty parameter used in the Knitro merit functions
|
|
51
|
+
initpt_strategy enumint 1158 -1 1 1 Specifies the initial point strategy used for the continuous algorithms
|
|
52
|
+
-1 1 (auto) Automatic initial point strategy
|
|
53
|
+
1 1 (basic) Try basic initial point strategy
|
|
54
|
+
2 1 (advanced) Try more advanced initial point strategy
|
|
55
|
+
linesearch enumint 1095 0 1 1 Indicates which linesearch strategy to use for the Interior/Direct or SQP algorithm to search for a new acceptable iterate
|
|
56
|
+
0 1 (auto) Let Knitro choose the linesearch method
|
|
57
|
+
1 1 (backtrack) Backtracking linesearch
|
|
58
|
+
2 1 (interpolate) Interpolation based linesearch
|
|
59
|
+
3 1 (weakwolfe) Weak Wolfe linesearch
|
|
60
|
+
linesearch_maxtrials integer 1044 3 0 maxint 1 1 Indicates the maximum allowable number of trial points during the linesearch of the Interior/Direct or SQP algorithm before treating the linesearch step as a failure and generating a new step
|
|
61
|
+
linsolver enumint 1057 0 1 1 Indicates which linear solver to use to solve linear systems arising in Knitro algorithms
|
|
62
|
+
0 1 (auto) Let Knitro choose the solver
|
|
63
|
+
1 1 (internal) Use internal solver provided with Knitro
|
|
64
|
+
2 1 (hybrid) Use a mixture of linear solvers depending on the linear systems
|
|
65
|
+
3 1 (qr) Use dense QR solver always (only for small problems)
|
|
66
|
+
4 1 (ma27) Use sparse HSL solver ma27 always
|
|
67
|
+
5 1 (ma57) Use sparse HSL solver ma57 always
|
|
68
|
+
6 1 (mklpardiso) Use sparse Intel MKL Pardiso solver always
|
|
69
|
+
7 1 (ma97) Use parallel, deterministic HSL ma97 solver
|
|
70
|
+
8 1 (ma86) Use parallel, non-deterministic HSL ma86 solver
|
|
71
|
+
9 1 (apple) Use parallel, non-deterministic Apple Sparse Solver
|
|
72
|
+
linsolver_maxitref integer 1130 2 0 maxint 1 1 Indicates the maximum allowable number of iterative refinement steps applied when a linear system is solved inside Knitro
|
|
73
|
+
linsolver_nodeamalg integer 1145 0 0 maxint 1 1 Controls the node amalgamation setting for the MA57, MA86 and MA97 linear solvers
|
|
74
|
+
linsolver_ooc enumint 1076 0 1 1 Indicates whether to use Intel MKL PARDISO out-of-core solve of linear systems when \ref KNITROlinsolver "linsolver" = mklpardiso
|
|
75
|
+
0 1 (no) Always use in-core version
|
|
76
|
+
1 1 (maybe) Will use out-of-core version beyond a certain size
|
|
77
|
+
2 1 (yes) Always use out-of-core version
|
|
78
|
+
linsolver_ordering enumint 1144 -1 1 1 Sets the ordering method used for the linear system solver
|
|
79
|
+
-1 1 (auto) Automatically determine ordering procedure
|
|
80
|
+
0 1 (best) Choose the best between AMD and METIS
|
|
81
|
+
1 1 (amd) Use AMD ordering (min degree for MKL PARDISO)
|
|
82
|
+
2 1 (metis) Use METIS ordering
|
|
83
|
+
linsolver_pivottol double 1029 1e-08 0 0.5 1 1 Specifies the initial pivot threshold used in factorization routines
|
|
84
|
+
linsolver_scaling enumint 1156 0 1 1 Enables scaling for the linear system solver
|
|
85
|
+
0 1 (none) No scaling is applied in the linear system solves
|
|
86
|
+
1 1 (always) Always apply scaling in the linear system solves
|
|
87
|
+
2 1 (dynamic) Dynamically apply scaling in the linear system solves
|
|
88
|
+
lp_algorithm enumint 1170 -1 1 1 Indicates which algorithm to use to solve linear problems (LPs)
|
|
89
|
+
-1 1 (auto) Let Knitro automatically decide.
|
|
90
|
+
0 1 (nlp) Use algorithm specified in nlp_algorithm.
|
|
91
|
+
1 1 (primalsimplex) Use Primal Simplex algorithm.
|
|
92
|
+
2 1 (dualsimplex) Use Dual Simplex algorithm.
|
|
93
|
+
3 1 (barrier) Use Interior-Point/Barrier algorithm.
|
|
94
|
+
4 1 (pdlp) Use Primal-Dual Linear Programming algorithm.
|
|
95
|
+
ncvx_qcqp_init enumint 1139 -1 1 1 Specifies the initialization strategy used for non-convex QPs and QCQPs
|
|
96
|
+
-1 1 (auto) Knitro will automatically determine the strategy.
|
|
97
|
+
0 1 (none) No special initialization strategy is used.
|
|
98
|
+
1 1 (linear) Initialize by solving a linear relaxation.
|
|
99
|
+
2 1 (hybrid) Initialize by solving a hybrid formulation.
|
|
100
|
+
3 1 (penalty) Initialize by solving a penalty formulation.
|
|
101
|
+
4 1 (cvxquad) Initialize by solving a convex quadratic relaxation.
|
|
102
|
+
nlp_algorithm enumint 1003 2 1 1 Indicates which algorithm to use to solve nonlinear problems (e.g. NLPs, QPs, QCQPs)
|
|
103
|
+
0 1 (auto) Let Knitro choose the algorithm
|
|
104
|
+
1 1 (direct) Use Interior (barrier) Direct algorithm
|
|
105
|
+
2 1 (cg) Use Interior (barrier) CG algorithm
|
|
106
|
+
3 1 (active) Use Active Set SLQP algorithm
|
|
107
|
+
4 1 (sqp) Use Active Set SQP algorithm
|
|
108
|
+
5 1 (multi) Run multiple algorithms (perhaps in parallel)
|
|
109
|
+
6 1 (al) Use Augmented Lagrangian algorithm
|
|
110
|
+
objrange double 1026 1e+20 0 maxdouble 1 1 Specifies the extreme limits of the objective function for purposes of determining unboundedness
|
|
111
|
+
restarts integer 1100 -1 -1 maxint 1 1 Specifies whether or not to enable automatic restarts in Knitro
|
|
112
|
+
restarts_maxit integer 1101 0 0 maxint 1 1 When restarts are enabled, this option can be used to specify a maximum number of iterations before enforcing a restart
|
|
113
|
+
scale enumint 1017 1 1 1 Specifies whether to perform problem scaling of the objective function, constraint functions, or possibly variables
|
|
114
|
+
0 1 (no) No scaling done
|
|
115
|
+
1 1 (user_internal) User, if defined, otherwise internal
|
|
116
|
+
2 1 (user_none) User, if defined, otherwise none
|
|
117
|
+
3 1 (internal) Knitro performs internal scaling
|
|
118
|
+
scale_vars enumint 1153 0 1 1 Specifies the strategy for scaling variables
|
|
119
|
+
0 1 (none) Do not apply any variable scaling
|
|
120
|
+
1 1 (bnds) Apply variable scaling based on their bound values
|
|
121
|
+
soc enumint 1019 1 1 1 Specifies whether or not to try second order corrections (SOC)
|
|
122
|
+
0 1 (no) Never do second order corrections
|
|
123
|
+
1 1 (maybe) SOC steps attempted on some iterations
|
|
124
|
+
2 1 (yes) SOC steps always attempted when constraints are nonlinear
|
|
125
|
+
soltype enumint 1161 0 1 1 This option specifies the solution returned by Knitro
|
|
126
|
+
0 1 (final) Return the final iterate
|
|
127
|
+
1 1 (bestfeas) Return the best feasible iterate found
|
|
128
|
+
strat_warm_start enumint 1118 0 1 1 Specifies whether or not to invoke a warm-start strategy
|
|
129
|
+
0 1 (no) No warm-start strategy is applied.
|
|
130
|
+
1 1 (yes) Knitro will apply a warm-start strategy with special tunings.
|
|
131
|
+
bfgs_scaling enumint 1131 0 1 2 Specify the initial scaling to use for the BFGS or L-BFGS Hessian approximation
|
|
132
|
+
0 1 (dynamic) Dynamically determine
|
|
133
|
+
1 1 (invhess) Approximate scale of the inverse Hessian
|
|
134
|
+
2 1 (hess) Approximate the scale of the Hessian
|
|
135
|
+
derivcheck enumint 1080 0 0 2 Determine whether or not to perform a derivative check on the model
|
|
136
|
+
0 1 (none) No derivative check
|
|
137
|
+
1 1 (first) Check first derivatives
|
|
138
|
+
2 1 (second) Check second derivatives
|
|
139
|
+
3 1 (all) Check all derivatives
|
|
140
|
+
derivcheck_terminate enumint 1088 1 0 2 Determine whether to always terminate after the derivative check or only when the derivative checker detects a possible error
|
|
141
|
+
1 1 (error) Stop when there is an error detected
|
|
142
|
+
2 1 (always) Always stop after the derivative check
|
|
143
|
+
derivcheck_tol double 1082 1e-06 0 maxdouble 0 2 Specifies the relative tolerance used for detecting derivative errors, when the Knitro derivative checker is enabled
|
|
144
|
+
derivcheck_type enumint 1081 1 0 2 Specifies whether to use forward or central finite differencing for the derivative checker when it is enabled
|
|
145
|
+
1 1 (forward) Check using forward finite-differences
|
|
146
|
+
2 1 (central) Check using central finite-differences
|
|
147
|
+
findiff_estnoise enumint 1140 0 1 2 This option can be used to enable an estimate of the noise in the model when using finite-difference gradients
|
|
148
|
+
0 1 (no) No estimation of noise performed
|
|
149
|
+
1 1 (yes) Estimate the noise and perhaps use it to determine a finite-difference steplength
|
|
150
|
+
2 1 (withcurv) Estimate a curvature factor as well as the noise and perhaps use it to determine a finite-difference steplength
|
|
151
|
+
findiff_relstepsize double 1123 0 mindouble maxdouble 1 2 Specifies the relative stepsize used for finite-difference gradients during the optimization
|
|
152
|
+
gradopt enumint 1007 1 1 2 Specifies how to compute the gradients of the objective and constraint functions
|
|
153
|
+
1 1 (exact) User supplies exact first derivatives
|
|
154
|
+
2 1 (forward) Gradients computed by internal forward finite differences
|
|
155
|
+
3 1 (central) Gradients computed by internal central finite differences
|
|
156
|
+
4 1 (user_forward) Gradients computed by user-provided forward finite differences
|
|
157
|
+
5 1 (user_central) Gradients computed by user-provided central finite differences
|
|
158
|
+
hessopt enumint 1008 0 1 2 Specifies how to compute the (approximate) Hessian of the Lagrangian
|
|
159
|
+
0 1 (auto) Determined automatically by Knitro
|
|
160
|
+
1 1 (exact) User supplies exact second derivatives
|
|
161
|
+
2 1 (bfgs) Knitro computes a dense quasi-Newton BFGS Hessian
|
|
162
|
+
3 1 (sr1) Knitro computes a dense quasi-Newton SR1 Hessian
|
|
163
|
+
4 1 (product_findiff) Knitro computes Hessian-vector products by finite differences
|
|
164
|
+
5 1 (product) User supplies exact Hessian-vector products
|
|
165
|
+
6 1 (lbfgs) Knitro computes a limited-memory quasi-Newton BFGS Hessian
|
|
166
|
+
lmsize integer 1038 8 1 100 1 2 Specifies the number of limited memory pairs stored when approximating the Hessian using the limited-memory quasi-Newton BFGS option
|
|
167
|
+
feastol double 1022 -1 -1 maxdouble 1 3 Specifies the final relative stopping tolerance for the feasibility error
|
|
168
|
+
feastol_abs double 1023 -1 -1 maxdouble 1 3 Specifies the final absolute stopping tolerance for the feasibility error
|
|
169
|
+
findiff_terminate enumint 1119 1 1 3 This option specifies the termination criteria when using finite-difference gradients
|
|
170
|
+
0 1 (none) No special termination
|
|
171
|
+
1 1 (errest) Terminate on gradient error estimates
|
|
172
|
+
fstopval double 1086 maxdouble mindouble maxdouble 1 3 Used to implement a custom stopping condition based on the objective function value
|
|
173
|
+
ftol double 1090 1e-15 0 maxdouble 1 3 The optimization process will terminate if the relative change in the objective function is less than \ref KNITROftol "ftol" for \ref KNITROftol_iters "ftol_iters" consecutive feasible iterations
|
|
174
|
+
ftol_iters integer 1091 5 1 maxint 1 3 The optimization process will terminate if the relative change in the objective function is less than \ref KNITROftol "ftol" for \ref KNITROftol_iters "ftol_iters" consecutive feasible iterations
|
|
175
|
+
infeastol double 1056 1e-08 0 maxdouble 1 3 Specifies the (relative) tolerance used for declaring infeasibility of a model
|
|
176
|
+
infeastol_iters integer 1124 50 1 maxint 1 3 The optimization process will terminate if the relative change in the feasibility error is less than \ref KNITROinfeastol "infeastol" for \ref KNITROinfeastol_iters "infeastol_iters" consecutive infeas****
|
|
177
|
+
maxfevals integer 1085 -1 minint maxint 1 3 Specifies the maximum number of function evaluations before termination
|
|
178
|
+
maxit integer 1014 0 0 maxint 1 3 Specifies the maximum number of iterations before termination
|
|
179
|
+
maxtime double 1163 1e+08 0 maxdouble 1 3 Specifies, in seconds, the maximum allowable real time before termination
|
|
180
|
+
opttol double 1027 -1 -1 maxdouble 1 3 Specifies the final relative stopping tolerance for the KKT (optimality) error
|
|
181
|
+
opttol_abs double 1028 -1 -1 maxdouble 1 3 Specifies the final absolute stopping tolerance for the KKT (optimality) error
|
|
182
|
+
xtol double 1030 1e-12 0 maxdouble 1 3 The optimization process will terminate if the relative change in all components of the solution point estimate is less than \ref KNITROxtol "xtol" for \ref KNITROxtol_iters "xtol_iters"
|
|
183
|
+
xtol_iters integer 1094 0 0 maxint 1 3 The optimization process will terminate if the relative change in the solution estimate is less than \ref KNITROxtol "xtol" for \ref KNITROxtol_iters "xtol_iters" consecutive iterations
|
|
184
|
+
presolve_initpt enumint 1127 -1 1 4 Control whether the Knitro presolver can shift a user-supplied initial point
|
|
185
|
+
-1 1 (auto) Determine automatically
|
|
186
|
+
0 1 (noshift) Do not shift initial point in presolve
|
|
187
|
+
1 1 (linshift) Allow shifting variables in linear constraints
|
|
188
|
+
2 1 (anyshift) Allow shifting any variable
|
|
189
|
+
presolve_level enumint 1122 -1 1 4 Set the level of presolve operations to enable through the Knitro presolver
|
|
190
|
+
-1 1 (auto) Determine automatically
|
|
191
|
+
1 1 (level1) Most basic presolve
|
|
192
|
+
2 1 (level2) More advanced presolve
|
|
193
|
+
presolve_passes integer 1121 10 0 maxint 1 4 Set a maximum limit on the number of passes through the Knitro presolve operations
|
|
194
|
+
presolve_tol double 1060 1e-06 0 maxdouble 1 4 Determines the tolerance used by the Knitro presolver to remove variables and constraints from the model
|
|
195
|
+
presolveop_redundant enumint 1143 1 1 4 Determine whether or not to enable the Knitro presolve operation to detect and remove redundant constraints
|
|
196
|
+
0 1 (none) Do not detect redundant constraints
|
|
197
|
+
1 1 (dupcon) Detect and remove duplicate constraints
|
|
198
|
+
2 1 (depcon) Detect and remove linearly dependent constraints
|
|
199
|
+
presolveop_substitution enumint 1146 -1 1 4 Determine whether or not to enable the Knitro presolve operation to substitute out variables when possible
|
|
200
|
+
-1 1 (auto) Automatic substitution procedure
|
|
201
|
+
0 1 (none) No substitution
|
|
202
|
+
1 1 (simple) Only doubleton equality substitutions
|
|
203
|
+
2 1 (all) All possible substitutions
|
|
204
|
+
presolveop_substitution_tol double 1147 0.01 0 maxdouble 1 4 Tolerance for applying a substitution
|
|
205
|
+
presolveop_tighten enumint 1125 -1 1 4 Determine whether or not to enable the Knitro presolve operation to tighten variable bounds or coefficients
|
|
206
|
+
-1 1 (auto) Automatically determined (may depend on the algorithm).
|
|
207
|
+
0 1 (none) Do not tighten variable bounds (unless it removes a constraint).
|
|
208
|
+
1 1 (varbnd) Enable tightening variable bounds always.
|
|
209
|
+
2 1 (coef) Enable tightening coefficients in linear constraints.
|
|
210
|
+
3 1 (all) Enable tightening variable bounds and coefficients.
|
|
211
|
+
bar_conic_enable enumint 1113 -1 1 5 Enable special treatments for conic constraints when using the Interior/Direct algorithm (has no affect when using the Interior/CG algorithm)
|
|
212
|
+
-1 1 (auto) Let Knitro automatically choose the strategy.
|
|
213
|
+
0 1 (none) Do not apply any special treatment for conic constraints.
|
|
214
|
+
1 1 (soc) Apply special treatments for any Second Order Cone (SOC) constraints identified in the model.
|
|
215
|
+
bar_directinterval integer 1058 -1 -1 maxint 1 5 Controls the maximum number of consecutive conjugate gradient (CG) steps before Knitro will try to enforce that a step is taken using direct linear algebra
|
|
216
|
+
bar_feasible enumint 1006 0 1 5 Specifies whether special emphasis is placed on getting and staying feasible in the interior-point algorithms
|
|
217
|
+
0 1 (no) No emphasis on feasibility
|
|
218
|
+
1 1 (stay) Iterates must honor inequalities
|
|
219
|
+
2 1 (get) Emphasize first getting feasible before optimizing
|
|
220
|
+
3 1 (get_stay) Implement both options 1 and 2 above
|
|
221
|
+
bar_feasmodetol double 1021 0.0001 0 maxdouble 1 5 Specifies the tolerance in equation that determines whether Knitro will force subsequent iterates to remain feasible
|
|
222
|
+
bar_globalize enumint 1155 2 1 5 Specifies the globalization strategy used in the interior-point algorithms
|
|
223
|
+
0 1 (none) Do not apply any globalization strategy
|
|
224
|
+
1 1 (kkt) Apply a globalization strategy based on decreasing the KKT error
|
|
225
|
+
2 1 (filter) Apply a globalization strategy using a filter based on the objective and constraint violation
|
|
226
|
+
bar_initmu double 1025 -1 mindouble maxdouble 1 5 Specifies the initial value for the barrier parameter \f$\mu\f$ used with the barrier algorithms
|
|
227
|
+
bar_initpi_mpec double 1093 0 0 maxdouble 1 5 Specifies the initial value for the MPEC penalty parameter \f$\pi\f$ used when solving problems with complementarity constraints using the barrier algorithms
|
|
228
|
+
bar_initpt enumint 1009 0 1 5 Indicates initial point strategy for x, slacks and multipliers when using a barrier algorithm
|
|
229
|
+
0 1 (auto) Let Knitro choose the strategy
|
|
230
|
+
1 1 (convex) Initial point strategy 1 (mainly for convex problems)
|
|
231
|
+
2 1 (nearbnd) Initial point strategy staying closer to bounds
|
|
232
|
+
3 1 (central) More central initial point strategy
|
|
233
|
+
bar_linsys enumint 1126 -1 1 5 Indicates which linear system form is used inside the Interior/Direct algorithm for computing primal-dual steps
|
|
234
|
+
-1 1 (auto) Automatically determine
|
|
235
|
+
0 1 (full) Full augmented system
|
|
236
|
+
1 1 (slacks) Eliminate slacks
|
|
237
|
+
2 1 (bounds) Also eliminate bounds
|
|
238
|
+
3 1 (ineqs) Also eliminate inequalities
|
|
239
|
+
bar_linsys_storage enumint 1129 -1 1 5 Indicates how to store in memory the linear systems used inside the Interior/Direct algorithm for computing primal-dual steps
|
|
240
|
+
-1 1 (auto) Automatically determine
|
|
241
|
+
1 1 (lowmem) Use one storage location for multiple systems
|
|
242
|
+
2 1 (normal) Store systems separately
|
|
243
|
+
bar_maxcorrectors integer 1117 -1 -1 maxint 1 5 Specifies the maximum number of corrector steps allowed for primal-dual steps
|
|
244
|
+
bar_maxcrossit integer 1039 0 0 maxint 1 5 Specifies the maximum number of crossover iterations before termination
|
|
245
|
+
bar_maxmu double 1154 1e+16 3e-16 1e+16 1 5 Specifies the maximum allowable value for the barrier parameter \f$\mu\f$ used with the barrier algorithms
|
|
246
|
+
bar_maxrefactor integer 1043 -1 -1 maxint 1 5 Indicates the maximum number of refactorizations of the KKT system per iteration of the Interior/Direct algorithm before reverting to a CG step
|
|
247
|
+
bar_mpec_heuristic enumint 1142 0 1 5 Specifies whether or not to use a heuristic approach when solving MPEC models with the barrier algorithm
|
|
248
|
+
0 1 (no) No mpec heuristic enabled
|
|
249
|
+
1 1 (yes) Mpec heuristic is enabled
|
|
250
|
+
bar_murule enumint 1004 0 1 5 Indicates which strategy to use for modifying the barrier parameter \f$mu\f$ in the barrier algorithms
|
|
251
|
+
0 1 (auto) Let Knitro choose the strategy
|
|
252
|
+
1 1 (monotone) Monotonically decrease the barrier parameter. Available for both barrier algorithms.
|
|
253
|
+
2 1 (adaptive) Use an adaptive rule based on the complementarity gap to determine the value of the barrier parameter. Available for both barrier algorithms.
|
|
254
|
+
3 1 (probing) Use a probing (affine-scaling) step to dynamically determine the barrier parameter. Available only for the Interior/Direct algorithm.
|
|
255
|
+
4 1 (dampmpc) Use a Mehrotra predictor-corrector type rule to determine the barrier parameter, with safeguards on the corrector step. Available only for the Interior/Direct algorithm.
|
|
256
|
+
5 1 (fullmpc) Use a Mehrotra predictor-corrector type rule to determine the barrier parameter, without safeguards on the corrector step. Available only for the Interior/Direct algorithm.
|
|
257
|
+
6 1 (quality) Minimize a quality function at each iteration to determine the barrier parameter. Available only for the Interior/Direct algorithm.
|
|
258
|
+
bar_penaltycons enumint 1050 -1 1 5 Indicates whether a penalty approach is applied to the constraints
|
|
259
|
+
-1 1 (auto) Let Knitro choose the strategy
|
|
260
|
+
0 1 (none) Do not apply penalty approach to any constraints
|
|
261
|
+
2 1 (all) Apply a penalty approach to all general constraints
|
|
262
|
+
3 1 (equalities) Apply a penalty approach to equality constraints only
|
|
263
|
+
bar_penaltyrule enumint 1049 0 1 5 Indicates which penalty parameter strategy to use for determining whether or not to accept a trial iterate
|
|
264
|
+
0 1 (auto) Let Knitro choose the strategy
|
|
265
|
+
1 1 (single) Use single penalty parameter approach
|
|
266
|
+
2 1 (flex) Use more tolerant flexible strategy
|
|
267
|
+
bar_refinement enumint 1079 0 1 5 Specifies whether to try to refine the barrier solution for better precision
|
|
268
|
+
0 1 (no) Do not refine the barrier solution
|
|
269
|
+
1 1 (yes) Try to refine the barrier solution
|
|
270
|
+
bar_relaxcons enumint 1077 2 1 5 Indicates whether a relaxation approach is applied to the constraints
|
|
271
|
+
0 1 (none) Do not relax any constraints
|
|
272
|
+
1 1 (eqs) Relax only equality constraints
|
|
273
|
+
2 1 (ineqs) Relax only inequality constraints
|
|
274
|
+
3 1 (all) Relax all general constraints
|
|
275
|
+
bar_slackboundpush double 1102 -1 mindouble maxdouble 1 5 Specifies the amount by which the barrier slack variables are initially pushed inside the bounds
|
|
276
|
+
bar_switchobj enumint 1104 1 1 5 Indicates which objective function to use when the barrier algorithms switch to a pure feasibility phase
|
|
277
|
+
0 1 (none) No objective
|
|
278
|
+
1 1 (scalarprox) Proximal point objective with scalar weighting
|
|
279
|
+
2 1 (diagprox) Proximal point objective with diagonal weighting
|
|
280
|
+
bar_switchrule enumint 1061 -1 1 5 Indicates whether or not the barrier algorithms will allow switching from an optimality phase to a pure feasibility phase
|
|
281
|
+
-1 1 (auto) Let Knitro choose the strategy
|
|
282
|
+
0 1 (never) Never switch
|
|
283
|
+
2 1 (moderate) Allow moderate switching
|
|
284
|
+
3 1 (aggressive) More aggressive switching
|
|
285
|
+
bar_watchdog enumint 1089 0 1 5 Specifies whether to enable watchdog heuristic for barrier algorithms
|
|
286
|
+
0 1 (no) No watchdog heuristic
|
|
287
|
+
1 1 (yes) Allow watchdog heuristic to be used
|
|
288
|
+
act_lpalg enumint 1109 0 0 6 Indicates which algorithm to use to solve linear programming (LP) subproblems when using the Knitro Active Set or SQP algorithms
|
|
289
|
+
0 1 (default) Use the default algorithm for the chosen LP solver.
|
|
290
|
+
1 1 (primal) Use a primal simplex algorithm.
|
|
291
|
+
2 1 (dual) Use a dual simplex algorithm.
|
|
292
|
+
3 1 (barrier) Use a barrier/interior-point algorithm.
|
|
293
|
+
act_lpfeastol double 1098 1e-08 0 maxdouble 1 6 Specifies the feasibility tolerance used for linear programming subproblems solved when using the Active Set or SQP algorithms
|
|
294
|
+
act_lppenalty enumint 1111 1 1 6 Indicates whether to use a penalty formulation for linear programming subproblems in the Knitro Active Set or SQP algorithms
|
|
295
|
+
1 1 (all) Penalize all constraints.
|
|
296
|
+
2 1 (nonlinear) Penalize only nonlinear constraints.
|
|
297
|
+
3 1 (dynamic) Dynamically choose which constraints to penalize.
|
|
298
|
+
act_lppresolve enumint 1110 0 1 6 Indicates whether to apply a presolve for linear programming subproblems in the Knitro Active Set or SQP algorithms
|
|
299
|
+
0 1 (off) Presolve turned off for LP subproblems.
|
|
300
|
+
1 1 (on) Presolve turned on for LP subproblems.
|
|
301
|
+
act_lpsolver enumint 1012 1 0 6 Indicates which linear programming simplex solver the Knitro Active Set or SQP algorithms use when solving internal LP subproblems
|
|
302
|
+
1 1 (internal) Use internal LP solver
|
|
303
|
+
2 1 (cplex) CPLEX (if user has a valid license)
|
|
304
|
+
3 1 (xpress) XPRESS (if user has a valid license)
|
|
305
|
+
act_parametric enumint 1107 1 1 6 Indicates whether to use a parametric approach when solving linear programming (LP) subproblems when using the Knitro Active Set or SQP algorithms
|
|
306
|
+
0 1 (no) Never
|
|
307
|
+
1 1 (maybe) Use selectively
|
|
308
|
+
2 1 (yes) Always use parametric approach
|
|
309
|
+
act_qpalg enumint 1092 0 1 6 Indicates which algorithm to use to solve quadratic programming (QP) subproblems when using the Knitro Active Set or SQP algorithms
|
|
310
|
+
0 1 (auto) Let Knitro choose the algorithm
|
|
311
|
+
1 1 (direct) Use Interior (barrier) Direct algorithm
|
|
312
|
+
2 1 (cg) Use Interior (barrier) CG algorithm
|
|
313
|
+
3 1 (active) Use Active Set SLQP algorithm
|
|
314
|
+
act_qppenalty enumint 1128 -1 1 6 Indicates whether to use a penalty formulation for quadratic programming subproblems in the Knitro SQP algorithm
|
|
315
|
+
-1 1 (auto) Let Knitro automatically decide.
|
|
316
|
+
0 1 (none) Do not penalize constraints in QP subproblems.
|
|
317
|
+
1 1 (all) Penalize all constraints in QP subproblems.
|
|
318
|
+
cplexlibname string 1048 "" 0 6 See option \ref KNITROact_lpsolver "act_lpsolver"
|
|
319
|
+
xpresslibname string 1069 "" 0 6 See option \ref KNITROact_lpsolver "act_lpsolver"
|
|
320
|
+
mip_branchrule enumint 2002 0 1 7 Specifies which branching rule to use for MIP branch and bound procedure
|
|
321
|
+
0 1 (auto) Let Knitro choose the rule
|
|
322
|
+
1 1 (most_frac) Most fractional (most infeasible) variable
|
|
323
|
+
2 1 (pseudocost) Use pseudo-cost value
|
|
324
|
+
3 1 (strong) Use strong branching
|
|
325
|
+
mip_clique enumint 2038 -1 1 7 Specifies rules for adding clique cuts
|
|
326
|
+
-1 1 (auto) Determine automatically
|
|
327
|
+
0 1 (none) Do not add clique cuts
|
|
328
|
+
1 1 (root) Add clique cuts at root node
|
|
329
|
+
2 1 (tree) Add clique cuts in the whole tree
|
|
330
|
+
mip_cut_flowcover enumint 2053 -1 1 7 Specifies rules for adding flow cover cuts
|
|
331
|
+
-1 1 (auto) Determine automatically
|
|
332
|
+
0 1 (none) Do not add flow cover cuts
|
|
333
|
+
1 1 (root) Add flow cover cuts at root node only
|
|
334
|
+
2 1 (tree) Add flow cover cuts at any tree node
|
|
335
|
+
mip_cut_probing enumint 2052 -1 1 7 Specifies rules for adding probing cuts
|
|
336
|
+
-1 1 (auto) Determine automatically
|
|
337
|
+
0 1 (none) Do not add probing cuts
|
|
338
|
+
1 1 (root) Add probing cuts at root node only
|
|
339
|
+
2 1 (tree) Add probing cuts at any tree node
|
|
340
|
+
mip_cutfactor double 2035 1 0 maxdouble 1 7 This value specifies a limit on the number of cuts added to a node subproblem
|
|
341
|
+
mip_cutoff double 2044 maxdouble mindouble maxdouble 1 7 This value specifies the objective cutoff value for MIP
|
|
342
|
+
mip_cutoff_abs double 2059 1e-06 0 maxdouble 1 7 This value specifies the absolute improvement cutoff value for MIP
|
|
343
|
+
mip_cutoff_rel double 2060 0.0001 0 maxdouble 1 7 This value specifies the absolute improvement cutoff value for MIP
|
|
344
|
+
mip_cutting_plane enumint 2043 1 1 7 Specifies when to apply the cutting plane procedure
|
|
345
|
+
0 1 (none) Do not perform cutting plane
|
|
346
|
+
1 1 (root) Only perform root-cutting
|
|
347
|
+
mip_debug enumint 2013 0 0 7 Specifies debugging level for MIP solution
|
|
348
|
+
0 1 (none) No MIP debugging info
|
|
349
|
+
1 1 (all) Write debugging to the file kdbg_mip.log
|
|
350
|
+
mip_gomory enumint 2051 -1 1 7 Specifies rules for adding Gomory mixed-integer cuts
|
|
351
|
+
-1 1 (auto) Determine automatically
|
|
352
|
+
0 1 (none) Do not add gomory cuts
|
|
353
|
+
1 1 (root) Add gomory cuts at root node only
|
|
354
|
+
2 1 (tree) Add gomory cuts at any tree node
|
|
355
|
+
mip_gub_branch enumint 2015 0 1 7 Specifies whether or not to branch on generalized upper bounds (GUBs)
|
|
356
|
+
0 1 (no) Do not branch on GUBs
|
|
357
|
+
1 1 (yes) Branch on GUBs
|
|
358
|
+
mip_heuristic_diving integer 2042 -1 -1 31 1 7 Specifies whether or not to enable the MIP diving heuristic
|
|
359
|
+
mip_heuristic_feaspump enumint 2040 -1 1 7 Specifies whether or not to enable the MIP feasibility pump heuristic
|
|
360
|
+
-1 1 (auto) Determine automatically
|
|
361
|
+
0 1 (off) Feasibility pump heuristic is turned off
|
|
362
|
+
1 1 (on) Feasibility pump heuristic is turned on
|
|
363
|
+
mip_heuristic_lns integer 2045 -1 -1 31 1 7 Specifies whether or not to enable the MIP large neighborhood search (LNS) heuristics
|
|
364
|
+
mip_heuristic_localsearch enumint 2054 -1 1 7 Specifies whether or not to enable the MIP local search heuristic
|
|
365
|
+
-1 1 (auto) Determine automatically
|
|
366
|
+
0 1 (off) MIP local search heuristic is turned off
|
|
367
|
+
1 1 (on) MIP local search heuristic is turned on
|
|
368
|
+
mip_heuristic_maxit integer 2023 100 0 maxint 1 7 Specifies the maximum number of iterations to allow for MIP heuristic, if one is enabled
|
|
369
|
+
mip_heuristic_misqp enumint 2049 -1 1 7 Specifies whether or not to enable the MIP MISQP heuristic
|
|
370
|
+
-1 1 (auto) Determine automatically
|
|
371
|
+
0 1 (off) MISQP heuristic is turned off
|
|
372
|
+
1 1 (on) MISQP heuristic is turned on
|
|
373
|
+
mip_heuristic_mpec enumint 2041 -1 1 7 Specifies whether or not to enable the MIP MPEC heuristic
|
|
374
|
+
-1 1 (auto) Determine automatically
|
|
375
|
+
0 1 (off) MPEC heuristic is turned off
|
|
376
|
+
1 1 (on) MPEC heuristic is turned on
|
|
377
|
+
mip_heuristic_strategy enumint 2039 -1 1 7 Specifies the level of effort applied for the MIP heuristic search used to try to find an initial integer feasible point
|
|
378
|
+
-1 1 (auto) Automatic strategy
|
|
379
|
+
0 1 (none) No heuristics are used
|
|
380
|
+
1 1 (basic) Try basic heuristics
|
|
381
|
+
2 1 (advanced) Try more advanced heuristics
|
|
382
|
+
3 1 (extensive) Try most extensive heuristics
|
|
383
|
+
mip_heuristic_terminate enumint 2033 1 1 7 Specifies the condition for terminating the MIP heuristic
|
|
384
|
+
1 1 (feasible) Terminate at first feasible point
|
|
385
|
+
2 1 (limit) Run heuristic until it hits limit
|
|
386
|
+
mip_implications enumint 2014 1 1 7 Specifies whether or not to add constraints to the MIP derived from logical implications
|
|
387
|
+
0 1 (no) Do not add logical implications
|
|
388
|
+
1 1 (yes) Add logical implications
|
|
389
|
+
mip_integer_tol double 2009 1e-08 0 1 1 7 This value specifies the threshold for deciding whether or not a variable is determined to be an integer
|
|
390
|
+
mip_intvar_strategy enumint 2030 0 1 7 Specifies how to handle integer variables
|
|
391
|
+
0 1 (none) No special treatment
|
|
392
|
+
1 1 (relax) Relax integer variables
|
|
393
|
+
2 1 (mpec) Convert to mpec constraints
|
|
394
|
+
mip_knapsack enumint 2016 -1 1 7 Specifies rules for adding MIP knapsack cuts
|
|
395
|
+
-1 1 (auto) Determine automatically
|
|
396
|
+
0 1 (none) Do not add knapsack cuts
|
|
397
|
+
1 1 (root) Add knapsack cuts derived in the root node
|
|
398
|
+
2 1 (tree) Add knapsack cuts in the whole tree
|
|
399
|
+
mip_liftproject enumint 2047 -1 1 7 Specifies rules for adding lift and project cuts
|
|
400
|
+
-1 1 (auto) Determine automatically
|
|
401
|
+
0 1 (none) Do not add lift and project cuts
|
|
402
|
+
1 1 (root) Add lift and project cuts at root node
|
|
403
|
+
mip_maxnodes integer 2021 0 0 maxint 1 7 Specifies the maximum number of nodes explored (0 means no limit)
|
|
404
|
+
mip_maxsolves integer 2008 0 0 maxint 1 7 Specifies the maximum number of subproblem solves allowed (0 means no limit)
|
|
405
|
+
mip_method enumint 2001 0 1 7 Specifies which MIP method to use
|
|
406
|
+
0 1 (auto) Let Knitro choose the method
|
|
407
|
+
1 1 (BB) Standard branch and bound
|
|
408
|
+
3 1 (MISQP) Mixed-integer SQP
|
|
409
|
+
mip_mir enumint 2037 -1 1 7 Specifies rules for adding mixed-integer rounding cuts
|
|
410
|
+
-1 1 (auto) Automatically determine whether to add mir cuts
|
|
411
|
+
0 1 (none) Do not add mir cuts
|
|
412
|
+
1 1 (root) Add mir cuts derived in the root node
|
|
413
|
+
2 1 (tree) Add mir cuts in the whole tree
|
|
414
|
+
mip_multistart enumint 2046 0 1 7 Use to enable MIP multi-start at the branch-and-bound level
|
|
415
|
+
0 1 (off) MIP multistart turned off
|
|
416
|
+
1 1 (on) MIP multistart turned on
|
|
417
|
+
mip_node_lpalg enumint 2058 -1 1 7 Specifies which algorithm to use for standard node LP subproblem solves in MIP (same options as \ref KNITROlp_algorithm "lp_algorithm" user option)
|
|
418
|
+
-1 1 (auto) Let Knitro automatically decide.
|
|
419
|
+
0 1 (nlp) Use algorithm specified in mip_node_nlpalg.
|
|
420
|
+
1 1 (primalsimplex) Use Primal Simplex algorithm.
|
|
421
|
+
2 1 (dualsimplex) Use Dual Simplex algorithm.
|
|
422
|
+
3 1 (barrier) Use Interior-Point/Barrier algorithm.
|
|
423
|
+
4 1 (pdlp) Use Primal-Dual Linear Programming algorithm.
|
|
424
|
+
mip_node_nlpalg enumint 2032 0 1 7 Specifies which algorithm to use for standard node NLP subproblem solves in MIP (same options as \ref KNITROnlp_algorithm "nlp_algorithm" user option)
|
|
425
|
+
0 1 (auto) Let Knitro choose the algorithm
|
|
426
|
+
1 1 (direct) Use Interior (barrier) Direct algorithm
|
|
427
|
+
2 1 (cg) Use Interior (barrier) CG algorithm
|
|
428
|
+
3 1 (active) Use Active Set SLQP algorithm
|
|
429
|
+
4 1 (sqp) Use Active Set SQP algorithm
|
|
430
|
+
5 1 (multi) Run multiple algorithms (perhaps in parallel)
|
|
431
|
+
mip_numthreads integer 2048 0 0 maxint 1 7 Specify the number of threads to use for MIP branch-and-bound (when \ref KNITROmip_method "mip_method" = 1)
|
|
432
|
+
mip_opt_gap_abs double 2004 1e-06 -1 maxdouble 1 7 The absolute optimality gap stop tolerance for MIP
|
|
433
|
+
mip_opt_gap_rel double 2005 0.0001 -1 maxdouble 1 7 The relative optimality gap stop tolerance for MIP
|
|
434
|
+
mip_outinterval integer 2011 0 0 maxint 1 7 Specifies node printing interval for \ref KNITROmip_outlevel "mip_outlevel" when \ref KNITROmip_outlevel "mip_outlevel" > 0
|
|
435
|
+
mip_outlevel enumint 2010 2 1 7 Specifies how much MIP information to print
|
|
436
|
+
0 1 (none) Nothing
|
|
437
|
+
1 1 (iters) One line for every node
|
|
438
|
+
2 1 (iterstime) Also print accumulated time every node
|
|
439
|
+
3 1 (root) Also print output from root node relaxation solve
|
|
440
|
+
mip_outsub enumint 2012 0 0 7 Specifies MIP subproblem solve debug output control
|
|
441
|
+
0 1 (none) Do not print any debug output from subproblem solves.
|
|
442
|
+
1 1 (yes) Subproblem debug output enabled, controlled by option `outlev`.
|
|
443
|
+
2 1 (yesprob) Subproblem debug output enabled and print problem characteristics.
|
|
444
|
+
mip_pseudoinit enumint 2026 0 1 7 Specifies the method used to initialize pseudo-costs corresponding to variables that have not yet been branched on in the MIP method
|
|
445
|
+
0 1 (auto) Let Knitro choose the method
|
|
446
|
+
1 1 (ave) Use average value
|
|
447
|
+
2 1 (strong) Use strong branching
|
|
448
|
+
mip_relaxable enumint 2031 1 1 7 Specifies whether integer variables are relaxable
|
|
449
|
+
0 1 (none) Integer variables not relaxable
|
|
450
|
+
1 1 (all) All integer variables are relaxable
|
|
451
|
+
mip_restart enumint 2050 1 1 7 Specifies whether to enable the MIP restart procedure
|
|
452
|
+
0 1 (off) MIP restart turned off
|
|
453
|
+
1 1 (on) MIP restart turned on
|
|
454
|
+
mip_root_lpalg enumint 2057 -1 1 7 Specifies which algorithm to use for root node LP subproblem solves in MIP (same options as \ref KNITROlp_algorithm "lp_algorithm" user option)
|
|
455
|
+
-1 1 (auto) Let Knitro automatically decide.
|
|
456
|
+
0 1 (nlp) Use algorithm specified in mip_root_nlpalg.
|
|
457
|
+
1 1 (primalsimplex) Use Primal Simplex algorithm.
|
|
458
|
+
2 1 (dualsimplex) Use Dual Simplex algorithm.
|
|
459
|
+
3 1 (barrier) Use Interior-Point/Barrier algorithm.
|
|
460
|
+
4 1 (pdlp) Use Primal-Dual Linear Programming algorithm.
|
|
461
|
+
mip_root_nlpalg enumint 2018 0 1 7 Specifies which algorithm to use for root node NLP solves in MIP (same options as \ref KNITROnlp_algorithm "nlp_algorithm" user option)
|
|
462
|
+
0 1 (auto) Let Knitro choose the algorithm
|
|
463
|
+
1 1 (direct) Use Interior (barrier) Direct algorithm
|
|
464
|
+
2 1 (cg) Use Interior (barrier) CG algorithm
|
|
465
|
+
3 1 (active) Use Active Set SLQP algorithm
|
|
466
|
+
4 1 (sqp) Use Active Set SQP algorithm
|
|
467
|
+
5 1 (multi) Run multiple algorithms (perhaps in parallel)
|
|
468
|
+
mip_rounding enumint 2017 -1 1 7 Specifies the MIP rounding rule to apply
|
|
469
|
+
-1 1 (auto) Let Knitro choose the rule
|
|
470
|
+
0 1 (none) Do not round if a node is infeasible
|
|
471
|
+
2 1 (heur_only) Round using heuristic only (fast)
|
|
472
|
+
3 1 (nlp_sometimes) Round and solve NLP if likely to succeed
|
|
473
|
+
4 1 (nlp_always) Always round and solve NLP
|
|
474
|
+
mip_selectdir enumint 2034 0 1 7 Specifies the MIP node selection direction rule (for tiebreakers) for choosing the next node in the branch-and-bound tree
|
|
475
|
+
0 1 (down) Choose the lesser-than node first
|
|
476
|
+
1 1 (up) Choose the greater-than node first
|
|
477
|
+
mip_selectrule enumint 2003 0 1 7 Specifies the MIP select rule for choosing the next node in the branch-and-bound tree
|
|
478
|
+
0 1 (auto) Let Knitro choose the rule
|
|
479
|
+
1 1 (depth_first) Search the tree depth first
|
|
480
|
+
2 1 (best_bound) Node with the best relaxation bound
|
|
481
|
+
3 1 (combo_1) Depth first unless pruned, then best bound
|
|
482
|
+
mip_strong_candlim integer 2028 128 0 maxint 1 7 Specifies the maximum number of candidates to explore for MIP strong branching
|
|
483
|
+
mip_strong_level integer 2029 10 0 maxint 1 7 Specifies the maximum number of tree levels on which to perform MIP strong branching
|
|
484
|
+
mip_strong_maxit integer 2027 1000 0 maxint 1 7 Specifies the maximum number of iterations to allow for MIP strong branching solves
|
|
485
|
+
mip_sub_maxtime double 2055 1e+08 0 maxdouble 1 7 Specifies the maximum allowable real time in seconds for MIP node subproblems
|
|
486
|
+
mip_terminate enumint 2020 0 1 7 Specifies conditions for terminating the MIP algorithm
|
|
487
|
+
0 1 (optimal) Terminate at optimum
|
|
488
|
+
1 1 (feasible) Terminate at first integer feasible point
|
|
489
|
+
mip_zerohalf enumint 2036 -1 1 7 Specifies rules for adding zero-half cuts
|
|
490
|
+
-1 1 (auto) Determine automatically
|
|
491
|
+
0 1 (none) Do not add zero-half cuts
|
|
492
|
+
1 1 (root) Add cuts derived in the root node
|
|
493
|
+
2 1 (tree) Add zero-half cuts in the whole tree
|
|
494
|
+
ma_outsub enumint 1067 0 1 8 Enable writing algorithm output to files for the multi-algorithm (alg=5) procedure
|
|
495
|
+
0 1 (none) No output from subproblem solves
|
|
496
|
+
1 1 (yes) Subproblem output enabled, controlled by option outlev
|
|
497
|
+
ma_sub_maxtime double 1164 1e+08 0 maxdouble 1 8 Specifies, in seconds, the maximum allowable real time for multi-algorithm ("MA") subproblems (alg=5)
|
|
498
|
+
ma_terminate enumint 1063 1 1 8 Define the termination condition for the multi-algorithm (alg=5) procedure
|
|
499
|
+
0 1 (all) Terminate after all algorithms complete
|
|
500
|
+
1 1 (optimal) Terminate at first local optimum
|
|
501
|
+
2 1 (feasible) Terminate at first feasible solution estimate
|
|
502
|
+
3 1 (any) Terminate at first completed solve
|
|
503
|
+
ms_enable enumint 1033 0 1 9 Indicates whether Knitro will solve from multiple start points to find a better local minimum
|
|
504
|
+
0 1 (no) Knitro solves from a single initial point
|
|
505
|
+
1 1 (yes) Knitro solves using multiple start points
|
|
506
|
+
ms_initpt_cluster enumint 1149 0 1 9 The strategy for clustering initial points in multi-start
|
|
507
|
+
0 1 (none) Do not apply clustering
|
|
508
|
+
1 1 (sl) Apply single linkage based clustering
|
|
509
|
+
ms_maxbndrange double 1035 1000 0 maxdouble 1 9 Specifies the maximum range that an unbounded variable can take when determining new start points
|
|
510
|
+
ms_maxsolves integer 1034 0 0 maxint 1 9 Specifies how many start points to try in multi-start
|
|
511
|
+
ms_num_to_save integer 1051 0 0 maxint 1 9 Specifies the number of distinct feasible points to save in a file named knitro_mspoints
|
|
512
|
+
ms_numthreads integer 1137 0 0 maxint 1 9 Specify the number of threads to use for multi-start (when \ref KNITROms_enable "ms_enable" = 1)
|
|
513
|
+
ms_outsub enumint 1068 0 1 9 Enable writing algorithm output to files for the parallel multi-start procedure
|
|
514
|
+
0 1 (none) No output from subproblem solves
|
|
515
|
+
1 1 (yes) Subproblem output enabled, controlled by option outlev.
|
|
516
|
+
ms_savetol double 1052 1e-06 0 maxdouble 1 9 Specifies the tolerance for deciding if two feasible points are distinct
|
|
517
|
+
ms_seed integer 1066 0 0 maxint 1 9 Seed value used to generate random initial points in multi-start; should be a non-negative integer
|
|
518
|
+
ms_startptrange double 1055 1e+20 0 maxdouble 1 9 Specifies the maximum range that each variable can take when determining new start points
|
|
519
|
+
ms_sub_maxtime double 1165 1e+08 0 maxdouble 1 9 Specifies, in seconds, the maximum allowable real time for multi-start subproblems (i.e. local solves from a given initial point)
|
|
520
|
+
ms_terminate enumint 1054 4 1 9 Specifies the condition for terminating multi-start
|
|
521
|
+
0 1 (maxsolves) Terminate after maxsolves
|
|
522
|
+
1 1 (optimal) Terminate at first local optimum
|
|
523
|
+
2 1 (feasible) Terminate at first feasible solution estimate
|
|
524
|
+
3 1 (any) Terminate at first completed solve
|
|
525
|
+
4 1 (rulebased) Terminate when the estimated probability of finding a new local solution is low
|
|
526
|
+
ms_terminaterule_tol double 1160 0 0 1 1 9 The tolerance in (0,1] for the rule-based termination of multi-start
|
|
527
|
+
blas_numthreads integer 1135 0 0 maxint 1 10 Specify the number of threads to use for BLAS operations when \ref KNITROblasoption "blasoption" = 1
|
|
528
|
+
conic_numthreads integer 1138 0 minint maxint 1 10 Specify the number of threads to use for operations in the conic algorithm (when \ref KNITRObar_conic_enable "bar_conic_enable" = 1)
|
|
529
|
+
linsolver_numthreads integer 1136 0 0 maxint 1 10 Specify the number of threads to use for linear system solve operations when \ref KNITROlinsolver "linsolver" = 6
|
|
530
|
+
debug enumint 1031 0 0 11 Controls the level of debugging output
|
|
531
|
+
0 1 (none) No extra debugging
|
|
532
|
+
1 1 (problem) Help debug solution of the problem
|
|
533
|
+
2 1 (execution) Help debug execution of the solver
|
|
534
|
+
newpoint enumint 1001 0 1 11 Specifies additional action to take after every iteration in a solve of a continuous problem, or after every new incumbent of the NLPBB algorithm
|
|
535
|
+
0 1 (none) No additional action
|
|
536
|
+
1 1 (saveone) Save the latest new point to file knitro_newpoint.log
|
|
537
|
+
2 1 (saveall) Append the latest new point to file knitro_newpoint.log
|
|
538
|
+
out_csvinfo enumint 1096 0 1 11 Controls whether or not to generates a file knitro_solve
|
|
539
|
+
0 1 (no) No csv solution file is generated
|
|
540
|
+
1 1 (yes) Generate a solution file knitro_solve.csv
|
|
541
|
+
out_csvname string 1106 "" 1 11 Use to specify a custom csv filename when using \ref KNITROout_csvinfo "out_csvinfo"
|
|
542
|
+
out_hints enumint 1115 1 1 11 Specifies whether to print diagnostic hints (e.g. about user option settings) after solving
|
|
543
|
+
0 1 (no) Do not print any hints.
|
|
544
|
+
1 1 (yes) Print diagnostic hints on occasion.
|
|
545
|
+
outappend enumint 1046 0 1 11 Specifies whether output should be started in a new file, or appended to existing files
|
|
546
|
+
0 1 (no) Erase existing files when opening
|
|
547
|
+
1 1 (yes) Append to existing files
|
|
548
|
+
outdir string 1047 "" 1 11 Specifies a single directory as the location to write all output files
|
|
549
|
+
outlev enumint 1015 2 1 11 Controls the level of output produced by Knitro
|
|
550
|
+
0 1 (none) Nothing
|
|
551
|
+
1 1 (summary) Only final summary information
|
|
552
|
+
2 1 (iter_10) Information every 10 iterations is printed
|
|
553
|
+
3 1 (iter) Information at each iteration is printed
|
|
554
|
+
4 1 (iter_verbose) More verbose information at each iteration is printed
|
|
555
|
+
5 1 (iter_x) In addition, values of solution vector (x) are printed
|
|
556
|
+
6 1 (all) In addition, constraints (c) and multipliers (lambda)
|
|
557
|
+
outmode enumint 1016 0 1 11 Specifies where to direct the output from Knitro
|
|
558
|
+
0 1 (screen) Directed to stdout
|
|
559
|
+
1 1 (file) Directed to a file (default name knitro.log)
|
|
560
|
+
2 1 (both) Both stdout and file (default name knitro.log)
|
|
561
|
+
outname string 1105 "" 1 11 Use to specify a custom filename when output is written to a file using \ref KNITROoutmode "outmode"
|
|
562
|
+
tuner_optionsfile string 1071 "" 1 12 Can be used to specify the location of a Tuner options file
|
|
563
|
+
tuner_outsub enumint 1074 0 1 12 Enable writing additional Tuner subproblem solve output to files for the Knitro-Tuner procedure (\ref KNITROtuner "tuner"=1)
|
|
564
|
+
0 1 (none) No output from subproblem solves and no subproblem summary file
|
|
565
|
+
1 1 (summary) Subproblem output summary directed to a file knitro_tuner_summary.log
|
|
566
|
+
2 1 (all) Subproblem output enabled, controlled by option outlev.
|
|
567
|
+
tuner_sub_maxtime double 1166 1e+08 0 maxdouble 1 12 Specifies, in seconds, the maximum allowable real time for Knitro-Tuner subproblems (i.e. individual solves with a particular option setting)
|
|
568
|
+
tuner_terminate enumint 1075 0 1 12 Define the termination condition for the Knitro-Tuner procedure (\ref KNITROtuner "tuner"=1)
|
|
569
|
+
0 1 (all) Terminate after all Tuner runs complete
|
|
570
|
+
1 1 (optimal) Terminate at first local optimum
|
|
571
|
+
2 1 (feasible) Terminate at first feasible solution estimate
|
|
572
|
+
3 1 (any) Terminate at first completed solve
|
|
573
|
+
al_initpenalty double 1171 0 0 1e+16 1 13 Specifies the initial penalty parameter value used in the Augmented Lagrangian (AL) algorithm
|
|
574
|
+
al_maxpenalty double 1172 1e+10 0 1e+16 1 13 Specifies the maximum allowable penalty parameter value used in the Augmented Lagrangian (AL) algorithm
|
|
575
|
+
algorithm enumint 1003 0 1 1 Indicates which algorithm to use to solve the problem
|
|
576
|
+
0 1 (auto) let Knitro automatically choose an algorithm, based on the problem characteristics.
|
|
577
|
+
1 1 (direct) use the Interior/Direct algorithm.
|
|
578
|
+
2 1 (cg) use the Interior/CG algorithm.
|
|
579
|
+
3 1 (active) use the Active Set algorithm.
|
|
580
|
+
4 1 (sqp) use the SQP algorithm.
|
|
581
|
+
5 1 (multi) run all algorithms, perhaps in parallel (see Algorithms).
|
|
582
|
+
6 1 (al) use the Augmented Lagrangian algorithm.
|
|
583
|
+
names boolean 0 0 1 1 Enable to pass variable and equation names to Knitro
|
|
584
|
+
newpoint_skip boolean 0 0 0 1 skip registering of newpoint callback: workaround for KNITRO bugs
|
|
585
|
+
option_file string 0 "" 1 1 additional option file name - read only by KNITRO solver lib
|
|
586
|
+
output_time boolean 0 0 1 1 print output on where time is used
|
|
587
|
+
qextractalg enumint 0 0 1 1 quadratic extraction algorithm in GAMS interface
|
|
588
|
+
0 1 Automatic
|
|
589
|
+
1 1 ThreePass: Uses a three-pass forward / backward / forward AD technique to compute function / gradient / Hessian values and a hybrid scheme for storage.
|
|
590
|
+
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.
|
|
591
|
+
3 1 Concurrent: Uses ThreePass and DoubleForward in parallel. As soon as one finishes, the other one stops.
|
|
592
|
+
qextractdenseswitchfactor double 0 0.008 0 maxdouble 1 1 Sparse/dense factor for quadratic extraction algorithm in GAMS interface
|
|
593
|
+
qextractdenseswitchlog boolean 0 0 1 1 Enables additional information about sparse/dense factor choice in quadratic extraction algorithm in GAMS interface
|
|
594
|
+
threads integer 0 1 minint maxint 1 10 default thread count
|
|
595
|
+
useq boolean 0 1 0 1 consider quadratic equations as general nonlinear equations when disabled
|
|
596
|
+
uselsq boolean 0 0 0 1 use Knitro least-squares solver (CNS models only)
|
|
597
|
+
initvalues0 enumint 0 2 1 1 Enable use of initial guess for levels and marginals (first solve)
|
|
598
|
+
0 1 Using no initial values
|
|
599
|
+
1 1 Using all initial values
|
|
600
|
+
2 1 Using only non-default initial values
|
|
601
|
+
initvalues enumint 0 1 1 1 Enable use of initial guess for levels and marginals (subsequent solves)
|
|
602
|
+
0 1 Using no initial values
|
|
603
|
+
1 1 Using all initial values
|
|
604
|
+
2 1 Using only non-default initial values
|
|
605
|
+
*
|
|
606
|
+
* synonym section
|
|
607
|
+
*
|
|
608
|
+
feastolabs synonym feastol_abs
|
|
609
|
+
maxtime_cpu synonym maxtime
|
|
610
|
+
maxtime_real synonym maxtime
|
|
611
|
+
mip_maxtime_cpu synonym maxtime
|
|
612
|
+
mip_maxtime_real synonym maxtime
|
|
613
|
+
ma_maxtime_cpu synonym maxtime
|
|
614
|
+
ma_maxtime_real synonym maxtime
|
|
615
|
+
ms_maxtime_cpu synonym maxtime
|
|
616
|
+
ms_maxtime_real synonym maxtime
|
|
617
|
+
tuner_maxtime_cpu synonym maxtime
|
|
618
|
+
tuner_maxtime_real synonym maxtime
|
|
619
|
+
opttolabs synonym opttol_abs
|
|
620
|
+
bar_pencons synonym bar_penaltycons
|
|
621
|
+
bar_penrule synonym bar_penaltyrule
|
|
622
|
+
mip_integral_gap_abs synonym mip_opt_gap_abs
|
|
623
|
+
mip_integral_gap_rel synonym mip_opt_gap_rel
|
|
624
|
+
par_msnumthreads synonym ms_numthreads
|
|
625
|
+
par_blasnumthreads synonym blas_numthreads
|
|
626
|
+
par_lsnumthreads synonym linsolver_numthreads
|
|
627
|
+
par_numthreads synonym threads
|
|
628
|
+
numthreads synonym threads
|
|
629
|
+
iterlim synonym maxit
|
|
630
|
+
reslim synonym maxtime
|
|
631
|
+
nodlim synonym mip_maxnodes
|
|
632
|
+
optca synonym mip_opt_gap_abs
|
|
633
|
+
optcr synonym mip_opt_gap_rel
|
|
634
|
+
gthreads synonym threads
|
|
635
|
+
*
|
|
636
|
+
* deprecated section
|
|
637
|
+
*
|
|
638
|
+
synon deprecated
|
|
639
|
+
algorithm
|
|
640
|
+
par_numthreads
|
|
641
|
+
bar_pencons
|
|
642
|
+
bar_penrule
|
|
643
|
+
mip_integral_gap_abs
|
|
644
|
+
mip_integral_gap_rel
|
|
645
|
+
par_msnumthreads
|
|
646
|
+
par_blasnumthreads
|
|
647
|
+
par_lsnumthreads
|
|
648
|
+
maxtime_cpu
|
|
649
|
+
maxtime_real
|
|
650
|
+
mip_maxtime_cpu
|
|
651
|
+
mip_maxtime_real
|
|
652
|
+
ma_maxtime_cpu
|
|
653
|
+
ma_maxtime_real
|
|
654
|
+
ms_maxtime_cpu
|
|
655
|
+
ms_maxtime_real
|
|
656
|
+
tuner_maxtime_cpu
|
|
657
|
+
tuner_maxtime_real
|
|
658
|
+
*
|
|
659
|
+
* Groups
|
|
660
|
+
* <group-ident> group <group-number <help-context> <help-text>
|
|
661
|
+
*
|
|
662
|
+
general group 1 1 General options
|
|
663
|
+
derivatives group 2 1 Derivative options
|
|
664
|
+
termination group 3 1 Termination options
|
|
665
|
+
presolve group 4 1 Presolve options
|
|
666
|
+
barrier group 5 1 Barrier options
|
|
667
|
+
activeset group 6 1 Active-set options
|
|
668
|
+
mip group 7 1 MIP options
|
|
669
|
+
multialgorithm group 8 1 Multi-algorithm options
|
|
670
|
+
multistart group 9 1 Multi-start options
|
|
671
|
+
parallelism group 10 1 Parallelism options
|
|
672
|
+
output group 11 1 Output options
|
|
673
|
+
tuner group 12 1 Tuner options
|
|
674
|
+
other group 13 1 Other options
|
|
675
|
+
*** End of file
|
gamspy_knitro/version.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '52.0.0rc1'
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
gamspy_knitro/__init__.py,sha256=VqaU3Rr2zLz1QHV-DbAImzuiluZK1DCJIzcyKM6fQMM,429
|
|
2
|
+
gamspy_knitro/libiomp5.dylib,sha256=4jpzoF6x2TWCOJ4rMaIi7W-uTOTsi95n_yTreEt7Qs0,1849936
|
|
3
|
+
gamspy_knitro/libknitro1501.dylib,sha256=bXw7QNZC7PWplrqT1fN2gegsKDvELmO5O8ZrvFlwe8g,102498480
|
|
4
|
+
gamspy_knitro/libknxcclib64.dylib,sha256=ouDkkPYgKe2-gz87i4t2eliX-pXacv3DPdziRW_udhI,417232
|
|
5
|
+
gamspy_knitro/optknitro.def,sha256=z_6vnAVRg0FbmV3xVP_k1xsmGGHM7UQGlKZZI3lxNSA,48170
|
|
6
|
+
gamspy_knitro/version.py,sha256=xEmi9aNSuCk1FB4wuU1dnHDcnFovh89ZPfIiCZCjNrA,25
|
|
7
|
+
gamspy_knitro-52.0.0rc1.dist-info/METADATA,sha256=O2KMPWsQdASbhzPLFJy8qIhLKSxLJ9YFagYNFPHR44g,61
|
|
8
|
+
gamspy_knitro-52.0.0rc1.dist-info/WHEEL,sha256=SFDFti0ktJEDbNgnSkwKMLyZhusCvEO6pqHMXousbqU,112
|
|
9
|
+
gamspy_knitro-52.0.0rc1.dist-info/top_level.txt,sha256=9pwJNp8thP_p87qcDC6kMpp6stQh3CtIriAsnMw8F8Y,14
|
|
10
|
+
gamspy_knitro-52.0.0rc1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gamspy_knitro
|