Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
MasterStructureKeys.h
1
#pragma once
2
3
namespace
MasterStructureKeys
4
{
5
// Metadata
6
constexpr
char
KEY_METADATA[] =
"metadata"
;
7
8
// Types of candidates variables
9
constexpr
char
VARIABLE_X[] =
"x"
;
10
constexpr
char
VARIABLE_DX_PLUS[] =
"dx_plus"
;
11
constexpr
char
VARIABLE_DX_MINUS[] =
"dx_minus"
;
12
13
// Types of constraints
14
constexpr
char
CONSTRAINT_EQUALS[] =
"="
;
15
constexpr
char
CONSTRAINT_LEQ[] =
"<"
;
16
constexpr
char
CONSTRAINT_GEQ[] =
">"
;
17
18
// General data for the tree
19
constexpr
char
KEY_INITIAL_CAPACITIES[] =
"initial_capacities"
;
20
constexpr
char
KEY_DEFAULT[] =
"default"
;
21
22
// Scaling
23
constexpr
char
KEY_SCALING[] =
"scaling"
;
24
25
// Constraints
26
constexpr
char
KEY_CONSTRAINTS[] =
"constraints"
;
27
constexpr
char
KEY_COEFFICIENTS[] =
"coeffs"
;
28
constexpr
char
KEY_RHS[] =
"rhs"
;
29
constexpr
char
KEY_OPERATOR[] =
"operator"
;
30
31
constexpr
char
KEY_TREE[] =
"tree"
;
32
// Keys found inside each node's data :
33
constexpr
char
KEY_INVESTMENT_DATE[] =
"investment_date"
;
34
constexpr
char
KEY_NODE_WEIGHT[] =
"node_weight"
;
35
constexpr
char
KEY_PARENT[] =
"parent"
;
36
constexpr
char
KEY_WEIGHT_FACTOR[] =
"weight_factor"
;
37
constexpr
char
KEY_CANDIDATES[] =
"candidates_costs"
;
38
// Candidates costs
39
constexpr
char
KEY_OPERATION_COST[] =
"operation_maintenance"
;
40
constexpr
char
KEY_INVESTMENT_COST[] =
"investment"
;
41
constexpr
char
KEY_RETIREMENT_COST[] =
"retirement"
;
42
43
// Forbidden name for a node :
44
constexpr
char
ROOT_NAME[] =
"root"
;
45
46
// NodeLpDataLocation keys
47
constexpr
char
KEY_LP_FOLDER[] =
"lp_folder"
;
48
constexpr
char
KEY_MASTER_FILE[] =
"master_file"
;
49
constexpr
char
KEY_STRUCTURE_FILE[] =
"structure_file"
;
50
constexpr
char
KEY_WEIGHTS_FILE[] =
"weights_file"
;
51
52
// Default name of the master problem for each node
53
// Used when accessing the structure file (CouplingMap)
54
constexpr
char
DEFAULT_MASTER_NAME[] =
"master"
;
55
constexpr
char
DEFAULT_STRUCTURE_FILE[] =
"structure.txt"
;
56
constexpr
char
DEFAULT_WEIGHTS_FILE[] =
"weights.txt"
;
57
}
// namespace MasterStructureKeys
src
cpp
benders
merge_master_mps
include
antares-xpansion
benders
merge_master_mps
MasterStructureKeys.h
Generated by
1.12.0