Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
antares_xpansion.problem_generator_driver.ProblemGeneratorDriver Class Reference

Classes

class  AreaFileException
 
class  BasicException
 
class  IntercoFilesException
 
class  LPNamerExecutionError
 
class  LPNamerExeError
 
class  LPNamerPathError
 
class  MpsZipFileException
 
class  OutputPathError
 

Public Member Functions

None __init__ (self, ProblemGeneratorData problem_generator_data)
 
 launch (self, Path output_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)
 

Public Attributes

 lp_namer_exe_path
 
 LP_NAMER
 
 keep_mps
 
 additional_constraints
 
 user_weights_file_path
 
 weight_file_name_for_lp
 
 active_years
 
 MPS_TXT
 
 is_relaxed
 
 logger
 
 xpansion_output_dir
 

Protected Member Functions

 _lp_step (self)
 
 _get_lp_namer_command (self)
 

Protected Attributes

 _lp_path
 
 _output_path
 

Properties

 output_path = property(get_output_path, set_output_path)
 

Member Function Documentation

◆ _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

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