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

Public Member Functions

 LinkProblemsGenerator (std::filesystem::path &lpDir, const std::vector< ActiveLink > &links, std::string solver_name, ProblemGenerationLog::ProblemGenerationLoggerSharedPointer logger, SolverLogManager &solver_log_manager, bool rename_problems)
 
void treatloop (const std::filesystem::path &root, Couplings &couplings, const std::vector< ProblemData > &mps_list, IProblemWriter *writer)
 
void treat (const std::string &problem_name, Couplings &couplings, Problem *problem, IProblemVariablesProviderPort *variable_provider, IProblemWriter *writer)
 
void treat (const std::string &problem_name, Couplings &couplings, IProblemProviderPort *problem_provider, IProblemVariablesProviderPort *variable_provider, IProblemWriter *writer)
 That function create new optimization problems with new candidates.
 

Member Function Documentation

◆ treat()

void LinkProblemsGenerator::treat ( const std::string &  problem_name,
Couplings &  couplings,
IProblemProviderPort problem_provider,
IProblemVariablesProviderPort variable_provider,
IProblemWriter writer 
)

That function create new optimization problems with new candidates.

Parameters
rootString corresponding to the path where are located input data
mpsStrings vector with the list of mps files
couplingsmap of pair of strings associated to an int. Determine the correspondence between optimizer variables and interconnection candidates
Returns
void

The documentation for this class was generated from the following files: