gamspy-dicopt 52.1.0__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.
@@ -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 = ['optdicopt.def', 'gmsdi_us.run', 'gmsdi_ux.out']
7
+
8
+ file_paths = [directory + os.sep + file for file in files]
9
+ verbatim = 'DICOPT 1 5 DI 1 0 1 MINLP MIQCP\ngmsdi_us.run\ngmsdi_ux.out'
@@ -0,0 +1,4 @@
1
+ #!/bin/sh
2
+ "${5}gmsdi_ux.out" "$4"
3
+ [ $? = 0 ] || echo "ERROR: Solver exitcode nonzero: $?" 1>&2
4
+ exit 11
Binary file
@@ -0,0 +1,83 @@
1
+ *
2
+ * optdicopt.def
3
+ *
4
+
5
+ convex boolean 0 0 1 1 If enabled, the defaults for a number of other options are set to values appropriate to convex MINLPs
6
+ continue enumint 0 2 1 1 How to proceed in case of NLP errors
7
+ 0 1 Stop on solver failure
8
+ 1 1 Accept non-optimal feasible solutions
9
+ 2 1 Ignore infeasible solutions
10
+ infeasder enumint 0 0 1 1 Use derivatives of infeasible nonlinear subproblems
11
+ 0 1 No linearizations of infeasible NLP subproblems
12
+ 1 1 Add linearization for infeasible NLP subproblems
13
+ maxcycles integer 0 20 0 maxint 1 1 Maximum number of cycles
14
+ relaxed enumint 0 1 1 1 How to start DICOPT
15
+ 0 1 Start with all integers fixed to the starting value
16
+ 1 1 Start with relaxed NLP
17
+ 2 1 Start with mixture of fixed and relaxed integers
18
+ stop enumint 0 2 1 1 Stopping criterion
19
+ 0 1 Stop on maxcycles
20
+ 1 1 Stop on crossover
21
+ 2 1 Stop on worsening
22
+ 3 1 Stop on crossover or worsening
23
+ weight double 0 1000 0 maxdouble 1 1 Penalty parameter, set above 1e20 to disable penalty relaxation
24
+ usexinit boolean 0 0 1 1 Use the user initial point as starting point for all NLP solves
25
+ infbnd double 0 10000 0 maxdouble 1 1 Bound to use for unbounded integer variables in integer cuts
26
+ dumpsubprob boolean 0 0 1 1 Whether to dump MIP and NLP subproblems into GAMS files
27
+ epsmip double 0 1.0e-6 0 maxdouble 1 2 Tolerance on test on monotonic improvement of MIP master problem
28
+ epsx double 0 1.0e-3 0 maxdouble 1 2 Tolerance for integer values when loading relaxed solution
29
+ mipiterlim string 0 "" 1 3 List of iteration limits
30
+ mipoptfile string 0 "" 1 3 List of option files for MIP solver
31
+ mipreslim string 0 "" 1 3 List of resource limits
32
+ mipsolver string 0 "" 1 3 List of MIP solvers
33
+ optca string 0 "" 1 3 List of OPTCA values
34
+ optcr string 0 "" 1 3 List of OPTCR values
35
+ nlpiterlim string 0 "" 1 4 List of iteration limits
36
+ nlpoptfile string 0 "" 1 4 List of option files for NLP solver
37
+ nlpreslim string 0 "" 1 4 List of resource limits
38
+ nlpsolver string 0 "" 1 4 List of NLP solvers
39
+ nlptracefile string 0 "nlptrace" 1 4 Base name of trace files
40
+ nlptracelevel enumint 0 0 1 4 Trace level
41
+ 0 1 No trace info is written
42
+ 1 1 GAMS file with fixed integer variables
43
+ 2 1 Include levels of continuous variables
44
+ 3 1 Include all levels and marginals
45
+ domlim string 0 "" 1 4 List of allowed number of domain errors
46
+ solvelink enumint 0 5 1 1 Solvelink for NLP and MIP subsolver
47
+ 1 1 Call NLP and MIP solver via script
48
+ 2 1 Call NLP and MIP solver via module
49
+ 4 0 Call NLP and MIP solver via grid script (simulate)
50
+ 5 1 Call NLP and MIP solver in memory
51
+ feaspump enumint 0 0 1 5 Whether to run the Feasibility Pump
52
+ 0 1 Do not run the Feasibility Pump
53
+ 1 1 Run the Feasibility Pump if there are no semicontinuous or semiinteger variables and no special ordered sets
54
+ 2 1 Always run the Feasibility Pump
55
+ fp_iterlimit integer 0 20 0 maxint 1 5 Major Iteration limit
56
+ fp_timelimit double 0 maxdouble 0 maxdouble 1 5 Time limit
57
+ fp_sollimit integer 0 maxint 0 maxint 1 5 Stop when a number of (improving) solutions has been bound
58
+ fp_stalllimit integer 0 5 -1 maxint 1 5 Stop when no improving solution has been bound for a number of FP iterations, -1 to disable
59
+ fp_dumpsubprob boolean 0 0 1 5 Whether to dump subproblems (NLPs and MIPs) into GAMS files
60
+ fp_subsolverlog boolean 0 0 1 5 Whether to show the log of subsolvers
61
+ fp_cutoffdecr double 0 0.1 0 maxdouble 1 5 Additional relative decrement of cutoff value for the original objective function
62
+ fp_acttol double 0 1E-6 0 maxdouble 1 5 Tolerance on when to consider an equation as active
63
+ fp_projzerotol double 0 1E-4 0 maxdouble 1 5 Tolerance on when to consider optimal value of projection problem as zero, which may trigger the solution of a Sub-NLP
64
+ fp_mipgap double 0 0.01 0 maxdouble 1 5 Optimality tolerance (relative gap) to use for solving MIP projection problem
65
+ fp_softcuts boolean 0 0 0 5 Whether to add slack variables to linearization cuts
66
+ fp_transfercuts boolean 0 1 1 5 Whether to transfer cuts from the Feasibility Pump MIP to the DICOPT MIP (all except from the round in which the FP MIP became infeasible)
67
+ fp_multistartpoints integer 0 0 0 maxint 0 5 Number of additional solves (from randomly generated starting points) for a NLP
68
+ fp_integercuts enumint 0 1 1 5 Whether to add integer cuts after an NLP subproblem has been solved to optimality
69
+ 0 1 Do not use integer cuts
70
+ 1 1 Use integer cuts only for mixed-binary problems
71
+ 2 1 Always use integer cuts
72
+ fp_projcuts boolean 0 1 1 5 Whether to add cut derived from projection of MIP solution onto NLP feasible set
73
+ myeolchar EOLCOMM *
74
+ *
75
+ * Groups
76
+ * <group-ident> group <group-number <help-context> <help-text>
77
+ *
78
+ dicopt group 1 1 Algorithmic options
79
+ tolerances group 2 1 Tolerances
80
+ mip group 3 1 MIP masterproblem options
81
+ nlp group 4 1 NLP subproblem options
82
+ fp group 5 1 Feasibility Pump
83
+ *** End of file
@@ -0,0 +1 @@
1
+ __version__ = '52.1.0'
@@ -0,0 +1,3 @@
1
+ Metadata-Version: 2.4
2
+ Name: gamspy_dicopt
3
+ Version: 52.1.0
@@ -0,0 +1,9 @@
1
+ gamspy_dicopt/__init__.py,sha256=K75t3BY7QNlQrfl-I3dHSaL8THYfgNNAtaKRRLgdaDA,309
2
+ gamspy_dicopt/gmsdi_us.run,sha256=AH59uXUkcXI8JgqgidogjCceNu2mvju_-o5ZCMRjpBA,103
3
+ gamspy_dicopt/gmsdi_ux.out,sha256=Kt_GWUACsZuGLSXoSiFUSJGHQgnGOFFbzqbb5e5-iIc,391848
4
+ gamspy_dicopt/optdicopt.def,sha256=7HMCf4XUqNz4mKo7uHwsc6p4QS3H-r-Fk545l2GIosI,4787
5
+ gamspy_dicopt/version.py,sha256=MJ6Omh6nCQsTTCAndvdZUVhoZ5exvmUTYWnbHM1eFpg,22
6
+ gamspy_dicopt-52.1.0.dist-info/METADATA,sha256=CmPRpqn8klb2dqyxTCi-3QZHUQ8WqiPIacT2i_R_olQ,58
7
+ gamspy_dicopt-52.1.0.dist-info/WHEEL,sha256=y8u8XMRMhRO4WIzZsJlf1QLnkoycGOkSMhsygOvn-QU,115
8
+ gamspy_dicopt-52.1.0.dist-info/top_level.txt,sha256=ILTBzffzbwuSjw3592ZR4ep11uEYxZd-gVMNpEiJXYs,14
9
+ gamspy_dicopt-52.1.0.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_dicopt