gamspy-snopt 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_snopt/__init__.py +9 -0
- gamspy_snopt/libsnlcclib64.dylib +0 -0
- gamspy_snopt/optsnopt.def +109 -0
- gamspy_snopt/version.py +1 -0
- gamspy_snopt-52.0.0rc1.dist-info/METADATA +3 -0
- gamspy_snopt-52.0.0rc1.dist-info/RECORD +8 -0
- gamspy_snopt-52.0.0rc1.dist-info/WHEEL +5 -0
- gamspy_snopt-52.0.0rc1.dist-info/top_level.txt +1 -0
gamspy_snopt/__init__.py
ADDED
|
@@ -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 = ['optsnopt.def', 'libsnlcclib64.dylib']
|
|
7
|
+
|
|
8
|
+
file_paths = [directory + os.sep + file for file in files]
|
|
9
|
+
verbatim = 'SNOPT 1 0 SN 1 0 2 LP RMIP NLP CNS DNLP RMINLP QCP RMIQCP\ngmsgenus.run\ngmsgenux.out\nlibsnlcclib64.dylib snl 1 0'
|
|
Binary file
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
*
|
|
2
|
+
* optsnopt.def
|
|
3
|
+
*
|
|
4
|
+
minos lookup
|
|
5
|
+
begin string.nv 0 "" 0 12 For compatibility with old SNOPT spec files
|
|
6
|
+
end string.nv 0 "" 0 12 For compatibility with old SNOPT spec files
|
|
7
|
+
debug_level integer 0 0 0 maxint 0 1 Controls amount of debug information written (private flag)
|
|
8
|
+
print_frequency integer 0 100 1 maxint 1 1 Number of iterations between each log line (listing file)
|
|
9
|
+
major_print_level integer 0 1 0 maxint 1 1 Amount of information printed during optimization (listing file)
|
|
10
|
+
minor_print_level integer 0 1 0 maxint 1 1 Amount of information printed during optimization (listing file)
|
|
11
|
+
solution enumstr 0 "NO" 1 1 Prints SNOPT solution (listing file)
|
|
12
|
+
"NO" 1 Turn off printing of solution
|
|
13
|
+
"YES" 1 Turn on printing of solution
|
|
14
|
+
summary_frequency integer 0 100 1 maxint 1 1 Number of iterations between each log line (log file)
|
|
15
|
+
suppress_parameters string.nv 0 "" 1 1 Suppress printing of parameters (listing file)
|
|
16
|
+
system_information enumstr 0 "NO" 1 1 Provides additional information on the progress of the iterations (listing file)
|
|
17
|
+
"NO" 1 Turn off additional printing of information on progress of algorithm
|
|
18
|
+
"YES" 1 Turn on additional printing of information on progress of algorithm
|
|
19
|
+
timing_level integer 0 3 0 3 1 1 Amount of timing information (listing file)
|
|
20
|
+
feasible_point string.nv 0 "" 1 2 Ignore objective function and find a feasible point
|
|
21
|
+
infinite_bound double 0 1.0e20 0 maxdouble 1 2 Bounds larger than this number are considered Infinity
|
|
22
|
+
major_feasibility_tolerance double 0 1.0e-6 0 maxdouble 1 3 Feasibility tolerance for nonlinear constraints
|
|
23
|
+
major_optimality_tolerance double 0 1.0e-6 0 maxdouble 1 3 Specifies the final accuracy of the dual variables
|
|
24
|
+
minor_feasibility_tolerance double 0 1.0e-6 0 maxdouble 1 3 Feasibility tolerance for all variables and linear constraints
|
|
25
|
+
verify_level enumint 0 -1 1 4 Finite-difference checks on the derivatives
|
|
26
|
+
0 1 Cheap test
|
|
27
|
+
1 1 Check individual gradients
|
|
28
|
+
2 1 Check individual columns of the Jacobian
|
|
29
|
+
3 1 Combines verify level 1 and 2
|
|
30
|
+
-1 1 Derivative checking is disabled
|
|
31
|
+
scale_option enumint 0 1 1 5 Controls problem scaling
|
|
32
|
+
0 1 No scaling
|
|
33
|
+
1 1 Scale linear variables
|
|
34
|
+
2 1 Scale linear + nonlinear variables
|
|
35
|
+
scale_print string.nv 0 "" 1 5 Print scaling factors (listing file)
|
|
36
|
+
scale_tolerance double 0 0.9 0 1 1 5 Scale tolerance
|
|
37
|
+
crash_tolerance double 0 0.1 0 1 1 6 Allow crash procedure to ignore small elements in eligible columns
|
|
38
|
+
linesearch_tolerance double 0 0.9 0 1 1 6 Controls accuracy of steplength selected
|
|
39
|
+
pivot_tolerance double 0 3.67e-11 0 maxdouble 1 6 Used to keep the basis non-singular
|
|
40
|
+
qpsolver enumstr 0 "Cholesky" 1 7 Controls method used for QP subproblems
|
|
41
|
+
"Cholesky" 1 full Cholesky factor
|
|
42
|
+
"QN" 1 quasi-Newton method
|
|
43
|
+
"CG" 1 conjugate-gradient method
|
|
44
|
+
crash_option enumint 0 3 1 7 Controls the basis crash algorithm
|
|
45
|
+
0 1 Initial basis will be a slack basis.
|
|
46
|
+
1 1 One phase CRASH.
|
|
47
|
+
2 1 Two phase CRASH.
|
|
48
|
+
3 1 Three phase CRASH.
|
|
49
|
+
elastic_weight double 0 1.0e4 0 maxdouble 1 7 Control for elastic mode
|
|
50
|
+
iterations_limit integer 0 1000 0 maxint 1 7 Minor iteration limit
|
|
51
|
+
partial_price integer 0 10 1 maxint 1 7 Number of segments in partial pricing strategy
|
|
52
|
+
cold_start string.nv 0 "" 1 8 Ignore advanced basis and use CRASH procedure
|
|
53
|
+
warm_start string.nv 0 "" 1 8 Use advanced basis provided by GAMS
|
|
54
|
+
major_iterations_limit integer 0 1000 0 maxint 1 8 Max number of major iterations
|
|
55
|
+
minor_iterations_limit integer 0 500 0 maxint 1 8 Max number of minor iterations between linearizations of nonlinear constraints
|
|
56
|
+
major_step_limit double 0 2.0 0 maxdouble 1 8 Limits the change in x during a linesearch
|
|
57
|
+
superbasics_limit integer 0 1 1 maxint 1 8 Maximum number of superbasics
|
|
58
|
+
derivative_linesearch string.nv 0 "" 1 8 Linesearch method (safeguarded cubic interpolation) with use of derivatives
|
|
59
|
+
nonderivative_linesearch string.nv 0 "" 1 8 Linesearch method (safeguarded quadratic interpolation) without use of derivatives
|
|
60
|
+
function_precision double 0 3.00e-13 0 maxdouble 1 8 Relative accuracy with which the nonlinear functions are evaluated
|
|
61
|
+
difference_interval double 0 1.5e-8 0 maxdouble 1 8 Not applicable: GAMS provides analytic derivatives
|
|
62
|
+
central_difference_interval double 0 6.0e-6 0 maxdouble 1 8 Not applicable: GAMS provides analytic derivatives
|
|
63
|
+
new_superbasics_limit integer 0 99 0 maxint 1 8 Limit on new superbasics when a QP subproblem is solved
|
|
64
|
+
penalty_parameter double 0 0 0 maxdouble 1 8 Initial penalty parameter
|
|
65
|
+
proximal_point_method enumint 0 1 1 8 Controls promimal point method used for solving linear constraints
|
|
66
|
+
0 1 disable PPM
|
|
67
|
+
1 1 one-norm
|
|
68
|
+
2 1 two-norm
|
|
69
|
+
reduced_hessian_dimension integer 0 1 1 maxint 1 8 Size of Hessian matrix
|
|
70
|
+
violation_limit integer 0 10 0 maxint 1 8 Limit on maximum constraint violation after the linesearch
|
|
71
|
+
unbounded_objective_value double 0 1.0e15 0 maxdouble 1 8 Determines when a problem is called unbounded
|
|
72
|
+
unbounded_step_size double 0 1.0e18 0 maxdouble 1 8 Determines when a problem is called unbounded
|
|
73
|
+
hessian_full_memory string.nv 0 "" 1 9 Approximate Hessian is treated as a dense matrix
|
|
74
|
+
hessian_limited_memory string.nv 0 "" 1 9 Limited-memory procedure is used to update a diagonal Hessian approximation
|
|
75
|
+
hessian_frequency integer 0 999999 0 maxint 1 9 How often the full Hessian is reset to the identity matrix
|
|
76
|
+
hessian_updates integer 0 10 0 maxint 1 9 How often the limited memory Hessian is reset
|
|
77
|
+
check_frequency integer 0 60 1 maxint 1 10 Controls frequency of linear constraint satisfaction test
|
|
78
|
+
expand_frequency integer 0 10000 1 maxint 1 10 Setting for anti-cycling mechanism
|
|
79
|
+
factorization_frequency integer 0 100 1 maxint 1 10 Number of iterations between basis factorizations
|
|
80
|
+
LU_partial_pivoting string.nv 0 "" 1 11 LUSOL pivoting strategy
|
|
81
|
+
LU_rook_pivoting string.nv 0 "" 1 11 LUSOL pivoting strategy
|
|
82
|
+
LU_complete_pivoting string.nv 0 "" 1 11 LUSOL pivoting strategy
|
|
83
|
+
LU_factor_tolerance double 0 3.99 1 maxdouble 1 11 Trade-off between stability and sparsity in basis factorization
|
|
84
|
+
LU_update_tolerance double 0 3.99 1 maxdouble 1 11 Trade-off between stability and sparsity in basis factorization
|
|
85
|
+
LU_singularity_tolerance double 0 3.2e-11 0 maxdouble 1 11 Protection against ill-conditioned basis matrices
|
|
86
|
+
LU_density_tolerance double 0 0.6 0 1 1 11 Controls when to move to a dense factorization
|
|
87
|
+
*
|
|
88
|
+
* synonym section
|
|
89
|
+
*
|
|
90
|
+
log_frequency synonym print_frequency
|
|
91
|
+
hessian_dimension synonym reduced_hessian_dimension
|
|
92
|
+
myeolchar EOLCOMM *
|
|
93
|
+
*
|
|
94
|
+
* Groups
|
|
95
|
+
* <group-ident> group <group-number <help-context> <help-text>
|
|
96
|
+
*
|
|
97
|
+
printing group 1 1 Printing
|
|
98
|
+
problem group 2 1 Problem specification
|
|
99
|
+
convergence_tolerances group 3 1 Convergence tolerances
|
|
100
|
+
derivative_checking group 4 1 Derivative checking
|
|
101
|
+
scaling group 5 1 Scaling
|
|
102
|
+
other_tolerances group 6 1 Other tolerances
|
|
103
|
+
qp_subproblems group 7 1 QP subproblems
|
|
104
|
+
sqp_method group 8 1 SQP method
|
|
105
|
+
hessian_approximation group 9 1 Hessian approximation
|
|
106
|
+
frequencies group 10 1 Frequencies
|
|
107
|
+
lusol_options group 11 1 LUSOL options
|
|
108
|
+
compatibility group 12 0 For compatibility with older option files
|
|
109
|
+
*** End of file
|
gamspy_snopt/version.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '52.0.0rc1'
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
gamspy_snopt/__init__.py,sha256=_riJr_TJ4QRQAuQHpAwIEQeoxSqowN1UM5eRtihEE7w,354
|
|
2
|
+
gamspy_snopt/libsnlcclib64.dylib,sha256=Oz3kxSUUrBY8_gLw8bsy2Bt5VvEz-nt7sgcWI8In51A,1118576
|
|
3
|
+
gamspy_snopt/optsnopt.def,sha256=AyUyL0CwqFnJdUsE5vDxxiIDeJO5nF66jv4rcjktg1c,6967
|
|
4
|
+
gamspy_snopt/version.py,sha256=xEmi9aNSuCk1FB4wuU1dnHDcnFovh89ZPfIiCZCjNrA,25
|
|
5
|
+
gamspy_snopt-52.0.0rc1.dist-info/METADATA,sha256=TkwtVzPneeNBrgojeHr8zhwjVrGKFNfPqEQ0XrwXj6Q,60
|
|
6
|
+
gamspy_snopt-52.0.0rc1.dist-info/WHEEL,sha256=SFDFti0ktJEDbNgnSkwKMLyZhusCvEO6pqHMXousbqU,112
|
|
7
|
+
gamspy_snopt-52.0.0rc1.dist-info/top_level.txt,sha256=nZnA0uoys7BMIVU95a2187m-Cc0GjkYGFp1E1cEKujM,13
|
|
8
|
+
gamspy_snopt-52.0.0rc1.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
gamspy_snopt
|