diff --git a/src/python/antares_xpansion/antares_driver.py b/src/python/antares_xpansion/antares_driver.py index d98953170..65b7634c6 100644 --- a/src/python/antares_xpansion/antares_driver.py +++ b/src/python/antares_xpansion/antares_driver.py @@ -107,9 +107,9 @@ def _set_simulation_name(self): def _get_antares_cmd(self): cmd = [str(self.antares_exe_path), self.data_dir, self.ANTARES_N_CPU_OPTION, str(self.antares_n_cpu), self.zip_option] if self.use_xpress: - cmd.extend(["--use-ortools", "--ortools-solver=xpress"]) + cmd.extend(["--solver=xpress"]) else: - cmd.extend(["--use-ortools", "--ortools-solver=sirius"]) + cmd.extend(["--solver=sirius"]) simulator_version = version.parse(__antares_simulator_version__) simulator_version_with_named_mps = version.parse(self.FIRST_VERSION_WITH_NAMED_PROBLEMS) if (simulator_version.major > simulator_version_with_named_mps.major) or (simulator_version.major >= simulator_version_with_named_mps.major and simulator_version.minor >= simulator_version_with_named_mps.minor):