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

Public Member Functions

 BENDERS_OPTIONS_MACRO (LAST_MASTER_MPS, std::string, "master_last_iteration", asString()) BENDERS_OPTIONS_MACRO(LAST_MASTER_BASIS
 
 asString ()) BENDERS_OPTIONS_MACRO(OUTER_LOOP_OPTION_FILE
 
adequacy_criterion asString ()) SimulationOptions()
 
 SimulationOptions (const std::filesystem::path &options_filename)
 Constructor of Benders Options.
 
void read (const std::filesystem::path &file_name)
 Read Benders options from file path.
 
void print (std::ostream &stream) const
 Print all Benders options.
 
BendersBaseOptions get_benders_options () const
 
BaseOptions get_base_options () const
 
ExternalLoopOptions GetExternalLoopOptions () const
 
void write_default () const
 Write default options in "options_default" txt file.
 

Public Attributes

 master_last_basis
 
adequacy_criterion yml
 
Str2Dbl _weights
 

Constructor & Destructor Documentation

◆ SimulationOptions()

SimulationOptions::SimulationOptions ( const std::filesystem::path & options_filename)
explicit

Constructor of Benders Options.

Parameters
options_filenamefile that contains options

Member Function Documentation

◆ print()

void SimulationOptions::print ( std::ostream & stream) const

Print all Benders options.

Parameters
stream: output stream

◆ read()

void SimulationOptions::read ( const std::filesystem::path & file_name)

Read Benders options from file path.

Parameters
file_name: path to options txt file

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