File tree Expand file tree Collapse file tree
src/python/antares_xpansion Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ def set_custom_working_dir(self, dir: Path):
4848 self .custom_working_dir = dir
4949
5050 def launch (
51- self ,
52- simulation_output_path ,
53- method ,
54- keep_mps = False ,
55- n_mpi = 1 ,
56- oversubscribe = False ,
57- allow_run_as_root = False ,
51+ self ,
52+ simulation_output_path ,
53+ method ,
54+ keep_mps = False ,
55+ n_mpi = 1 ,
56+ oversubscribe = False ,
57+ allow_run_as_root = False ,
5858 ):
5959 """
6060 launch the optimization of the antaresXpansion problem using the specified solver
@@ -73,11 +73,11 @@ def launch(
7373 self .logger .info (f"Current directory is now: { os .getcwd ()} " )
7474
7575 self .set_solver ()
76-
76+ self . logger . info ( f"Solver is now: { self . solver } " )
7777 # delete execution logs
7878 self ._clean_log_files ()
79-
80- print (self ._get_solver_cmd ())
79+ self . logger . info ( "Solver execution" )
80+ self . logger . info (self ._get_solver_cmd ())
8181 ret = subprocess .run (
8282 self ._get_solver_cmd (),
8383 shell = False ,
You can’t perform that action at this time.
0 commit comments