|
|
None | __init__ (self, Path antares_problem_generator_exe, benders_driver, config_loader) |
| |
| bool | launch (self, Path study_path, str method, bool keep_mps, int n_mpi, bool oversubscribe=False, bool allow_run_as_root=False) |
| |
| | antares_output_dir (self) |
| |
|
Path | simulation_output_path (self) |
| |
|
|
| antares_problem_generator_exe = Path(antares_problem_generator_exe) |
| |
|
| benders_driver = benders_driver |
| |
|
| config_loader = config_loader |
| |
|
str | data_dir = "" |
| |
|
str | output = "output" |
| |
|
| logger = step_logger(__name__, __class__.__name__) |
| |
|
Path | data_dir = self.simulation_output_path() |
| |
|
str | simulation_name = "" |
| |
|
|
| _run_antares_problem_generator (self) |
| |
|
List[str] | _get_antares_problem_generator_cmd (self) |
| |
|
| _set_simulation_name (self) |
| |
|
| _create_lp_directory (self) |
| |
|
| _copy_mps_files (self, output_path, lp_path) |
| |
|
| _run_benders (self, str method, bool keep_mps, int n_mpi, bool oversubscribe, bool allow_run_as_root) |
| |
Initialize Gems Driver with given binary paths
◆ antares_output_dir()
| antares_xpansion.gems_driver.GemsDriver.antares_output_dir |
( |
| self | ) |
|
returns path to antares output data directory
◆ launch()
| bool antares_xpansion.gems_driver.GemsDriver.launch |
( |
| self, |
|
|
Path | study_path, |
|
|
str | method, |
|
|
bool | keep_mps, |
|
|
int | n_mpi, |
|
|
bool | oversubscribe = False, |
|
|
bool | allow_run_as_root = False ) |
Launch the gems step: antares-problem-generator + benders
The documentation for this class was generated from the following file:
- src/python/antares_xpansion/gems_driver.py