Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
CouplingMapGenerator Class Reference

Static Public Member Functions

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.
 

Member Function Documentation

◆ 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: