Loading [MathJax]/jax/input/TeX/config.js
Antares Xpansion
Investment simulations for Antares studies
All Classes Namespaces Files Functions Variables Typedefs Pages
tests.python.test_problem_generator_driver.TestProblemGeneratorDriver Class Reference

Public Member Functions

 setup_method (self)
 
 test_problem_generator_data (self)
 
 test_output_path (self, tmp_path)
 
 test_lp_namer_exe_does_not_exit (self, tmp_path)
 
 xpansion_output (self, tmp_path)
 
 test_clear_old_log (self, tmp_path)
 
 test_clean_lp_dir_before_run (self, tmp_path)
 

Public Attributes

str lp_exe = "lp_namer.exe"
 
 empty_pblm_gen_data
 

Static Public Attributes

int number = 0
 

Protected Member Functions

 _get_expected_mps_txt (self, tmp_path)
 
 _get_file_name (self, prefix, year, week, extension)
 
 _create_empty_area_file (self, tmp_path)
 
 _create_empty_interco_file (self, tmp_path)
 
 _create_empty_n_file (self, tmp_path, prefix, extension)
 

Static Protected Member Functions

 _get_year_index_from_name (file_name)
 

Member Data Documentation

◆ empty_pblm_gen_data

tests.python.test_problem_generator_driver.TestProblemGeneratorDriver.empty_pblm_gen_data
Initial value:
= ProblemGeneratorData(keep_mps=False,
additional_constraints="",
user_weights_file_path=Path(
""),
weight_file_name_for_lp="",
lp_namer_exe_path=Path(
""),
active_years=[],
memory=False)

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