|
static CouplingMap | BuildInput (const std::filesystem::path &structure_path, std::shared_ptr< ILoggerXpansion > logger, const std::string &context="Benders") |
| Build the input from the structure file.
|
|
◆ BuildInput()
CouplingMap CouplingMapGenerator::BuildInput |
( |
const std::filesystem::path & | structure_path, |
|
|
std::shared_ptr< ILoggerXpansion > | logger, |
|
|
const std::string & | context = "Benders" ) |
|
static |
Build the input from the structure file.
Function to build the map linking each problem name to its variables and their id
- Parameters
-
root | : root of the structure file |
summary_name | : name of the structure file |
coupling_map | : empty map to increment |
- Note
- The id in the coupling_map is that of the variable in the solver responsible for the creation of the structure file.
The documentation for this class was generated from the following files:
- src/cpp/benders/benders_core/include/antares-xpansion/benders/benders_core/CouplingMapGenerator.h
- src/cpp/benders/benders_core/CouplingMapGenerator.cpp