8#define BENDERS_OPTIONS_MACRO(name__, type__, default__, deserialization_method__) type__ name__;
9#include "SimulationOptions.hxx"
10#undef BENDERS_OPTIONS_MACRO
15 void read(
const std::filesystem::path& file_name);
16 void print(std::ostream& stream)
const;
26 Json::Value get_value_from_json(
const std::filesystem::path& file_name);
28 class InvalidOptionFileException:
public std::runtime_error
31 explicit InvalidOptionFileException(
const std::string& arg);
Definition SimulationOptions.h:6
SimulationOptions(const std::filesystem::path &options_filename)
Constructor of Benders Options.
Definition SimulationOptions.cpp:34
void print(std::ostream &stream) const
Print all Benders options.
Definition SimulationOptions.cpp:134
void write_default() const
Write default options in "options_default" txt file.
Definition SimulationOptions.cpp:56
void read(const std::filesystem::path &file_name)
Read Benders options from file path.
Definition SimulationOptions.cpp:68