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