Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
CouplingMapGenerator.h
1#pragma once
2#include "antares-xpansion/benders/benders_core/SimulationOptions.h"
3#include "antares-xpansion/xpansion_interfaces/ILogger.h"
4#include "common.h"
5
7{
8public:
9 static CouplingMap BuildInput(const std::filesystem::path& structure_path,
10 ILoggerXpansion* logger,
11 const std::string& context = "Benders");
12
13 static void BuildSubProblemConstraintMap(const CouplingMap& coupling_map,
14 SubProblemConstraintMap& subproblem_constraint_map,
15 CouplingMap& constraints_coupling_map,
16 const SimulationOptions& options);
17};
Definition CouplingMapGenerator.h:7
static CouplingMap BuildInput(const std::filesystem::path &structure_path, ILoggerXpansion *logger, const std::string &context="Benders")
Build the input from the structure file.
Definition CouplingMapGenerator.cpp:24
static void BuildSubProblemConstraintMap(const CouplingMap &coupling_map, SubProblemConstraintMap &subproblem_constraint_map, CouplingMap &constraints_coupling_map, const SimulationOptions &options)
Build maps from subproblem names to their constraint files Warning : this is heavily dependent on the...
Definition CouplingMapGenerator.cpp:79
Definition SimulationOptions.h:6
Xpansion Unique log Interface.
Definition ILogger.h:79