|
None | __init__ (self, ProblemGeneratorData problem_generator_data) |
|
| launch (self, Path output_path, bool is_relaxed) |
|
| launch_memory (self, Path study_path, bool is_relaxed) |
|
| set_output_path (self, output_path) |
|
| get_output_path (self) |
|
| clear_old_log (self) |
|
| create_lp_dir (self) |
|
| lp_namer_options (self) |
|
|
| lp_namer_exe_path = Path(problem_generator_data.lp_namer_exe_path) |
|
| LP_NAMER = self.lp_namer_exe_path.name |
|
| keep_mps = problem_generator_data.keep_mps |
|
| additional_constraints = problem_generator_data.additional_constraints |
|
| user_weights_file_path = problem_generator_data.user_weights_file_path |
|
| weight_file_name_for_lp = problem_generator_data.weight_file_name_for_lp |
|
| active_years = problem_generator_data.active_years |
|
str | MPS_TXT = "mps.txt" |
|
bool | is_relaxed = False |
|
| logger = step_logger(__name__, __class__.__name__) |
|
| memory = problem_generator_data.memory |
|
| study_path = study_path |
|
| xpansion_output_dir |
|
list | memory = ["--study", str(os.path.normpath(self.study_path)), "-f", is_relaxed] |
|
|
| _lp_step (self) |
|
| _get_lp_namer_command (self) |
|
|
| _lp_path = None |
|
| _output_path = output_path |
|
|
| output_path = property(get_output_path, set_output_path) |
|
◆ _lp_step()
antares_xpansion.problem_generator_driver.ProblemGeneratorDriver._lp_step |
( |
| self | ) |
|
|
protected |
copies area and interco files and launches the lp_namer
produces a file named with xpansionConfig.MPS_TXT
◆ launch()
antares_xpansion.problem_generator_driver.ProblemGeneratorDriver.launch |
( |
| self, |
|
|
Path | output_path, |
|
|
bool | is_relaxed ) |
problem generation step : getnames + lp_namer
◆ launch_memory()
antares_xpansion.problem_generator_driver.ProblemGeneratorDriver.launch_memory |
( |
| self, |
|
|
Path | study_path, |
|
|
bool | is_relaxed ) |
problem generation step : getnames + lp_namer
◆ xpansion_output_dir
antares_xpansion.problem_generator_driver.ProblemGeneratorDriver.xpansion_output_dir |
Initial value:= output_path.parent / \
(output_path.stem + "-Xpansion")
The documentation for this class was generated from the following file:
- src/python/antares_xpansion/problem_generator_driver.py