# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - HSUBSCfg.txt- - - - - - - - - - - - - - - -
#
# A txt description of the BlockSolverConfig for a HydroSystemUnitBlock
# inside the Lagrangian decomposition of the UCBlock of each stage of the
# SDDPBlock: the hydro subproblem is solved as an LP by CPXMILPSolver.
#
#   Rafael Durbano Lobato, Donato Meoli
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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 1st Solver

1  # number of ComputeConfig in this BlockSolverConfig

# now all the ComputeConfig
# 1st ComputeConfig - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# ComputeConfig of the CPXMILPSolver

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

7 # number of integer parameters

# now all the integer parameters
intLogVerb                  0 # log verbosity
CPXPARAM_Parallel           0 # parallel mode
CPXPARAM_Threads            1 # number of threads
CPXPARAM_LPMethod           2 # dual simplex
CPXPARAM_Read_Scale         1 # aggressive scaling
CPX_PARAM_NUMERICALEMPHASIS 1 # numerical emphasis
CPXPARAM_SolutionType       2 # basic solution
#CPXPARAM_Preprocessing_Presolve 0
#intThrowReducedCostException    1

1 # number of double parameters

# now all the double parameters
CPXPARAM_Simplex_Tolerances_Optimality 1e-9 # optimality tolerance
#dblAAccSol 1e-04
#dblMaxTime 20000

0 # number of string parameters

# now all the string parameters
#strOutputFile hydro.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 HSUBSCfg.txt- - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
