Repository navigation
Expand file tree
/
Copy pathBSCfg.txt
More file actions
101 lines (76 loc) · 3.94 KB
/
Copy pathBSCfg.txt
File metadata and controls
101 lines (76 loc) · 3.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - BSCfg.txt - - - - - - - - - - - - - - - - -
#
# A txt description of a BlockSolverConfig for the inner Block of an
# InvestmentBlock (a UCBlock, or a TwoStageStochasticBlock of UCBlock), to be
# solved by a :MILPSolver; the InvestmentFunction gets it from IFCfg.txt
#
# HiGHS by the simplex method: where the inner Block is infeasible the
# InvestmentFunction cuts the point away with the homogeneous multipliers of
# the dual direction (intHomogeneousDirection), and without the cut the
# bundle stops above the optimum
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
BlockSolverConfig # exact type of the Configuration object
1 # the BlockSolverConfig is a "differential" one
1 # number of (the names of) Solver in this BlockSolverConfig
# now all the names of the Solver - - - - - - - - - - - - - - - - - - - - - -
#CPXMILPSolver # name of Solver
#GRBMILPSolver # name of Solver
HiGHSMILPSolver # name of Solver
1 # number of ComputeConfig in this BlockSolverConfig
# now all the ComputeConfig
# 1st ComputeConfig - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
ComputeConfig # exact type of the ComputeConfig object
1 # f_diff == 0 ==> all non-provided parameters are set to the default value
# f_diff == 1 ==> all non-provided parameters are not changed
4 # number of integer parameters
# now all the integer parameters
intLogVerb 0 # LogVerb, log verbosity of the MILPSolver
intRelaxIntVars 1 # nonzero if the continuous relaxation is solved
intCutSepPar 7 # separate user cuts + lazy constraints
intHomogeneousDirection 1 # the dual direction is - A' y, a certificate
# All specific CPLEX parameter (uncomment based on Solver)
#CPXPARAM_Preprocessing_Presolve 0 # 0 = off, 1 = on (default)
# disable presolve for reproducibility
# 0 = off (default), 1 = extreme numerical caution
#CPXPARAM_Emphasis_Numerical 1
# All specific GUROBI parameter (uncomment based on Solver)
#Method 1 # 0 = primal, 1 = dual simplex (matches CPLEX default)
#Presolve 0 # 0 = off, 1 = conservative, 2 = aggressive (default -1)
#NumericFocus 3 # 0 = auto (default), 1..3 = increasing precision focus
2 # number of double parameters
# now all the double parameters
# All specific HiGHS parameter (uncomment based on Solver)
# the tolerances are absolute, while the objective of these instances is of
# the order of 1e11, whose last digit in double precision is already 1e-5:
# asked for 1e-9, HiGHS declares the model optimal and, in the same breath,
# its primal solution infeasible, which reaches the caller as a solve that
# went well with no solution in it
primal_feasibility_tolerance 1e-7
dual_feasibility_tolerance 1e-7
2 # number of string parameters
# now all the string parameters
# All specific HiGHS parameter (uncomment based on Solver)
presolve off # disable presolve for reproducibility
solver simplex # "choose" (default), "simplex", "ipm", "pdlp"
# (ipm = interior point: converges to analytic center,
# unique x*)
#strOutputFile uc1.lp
0 # number of vector-of-int parameters
# now all the vector-of-int parameters
# [none]
0 # number of vector-of-double parameters
# now all the vector-of-double parameters
# [none]
0 # number of vector-of-string parameters
# now all the vector-of-string parameters
# [none]
# pointer to the "extra" Configuration
* # [none]
# end of 1st ComputeConfig - - - - - - - - - - - - - - - - - - - - - - - - -
# end of BlockSolverConfig - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - END BSCfg.txt - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -