23 ProblemData(
const std::string& problem_filename,
const std::string& variables_txt):
24 _problem_filename(problem_filename),
25 _variables_txt(variables_txt)
29 std::string _problem_filename;
30 std::string _variables_txt;
36 explicit FilesMapper(std::filesystem::path antares_archive_path,
37 std::filesystem::path simulation_dir = {}):
38 antares_archive_path_(std::move(antares_archive_path)),
39 simulation_dir_(std::move(simulation_dir))
43 YearWeekAndFilesDict FilesMap()
46 return year_week_and_files_dict_;
49 std::vector<ProblemData> MpsAndVariablesFilesVect();
52 YearWeekAndFilesDict year_week_and_files_dict_;
53 std::filesystem::path antares_archive_path_;
54 std::filesystem::path simulation_dir_;
56 void FillMapWithMpsFiles(
const std::vector<std::filesystem::path>& mps_files);
57 void FillMapWithVariablesFiles(
const std::vector<std::filesystem::path>& variables_files);
58 void FillMapWithConstraintsFiles(
const std::vector<std::filesystem::path>& variables_files);
59 YearAndWeek YearAndWeekFromFileName(
const std::filesystem::path& file_name)
const;