diff --git a/src/python/antares_xpansion/antares_driver.py b/src/python/antares_xpansion/antares_driver.py index b52d9bce2..abb07a773 100644 --- a/src/python/antares_xpansion/antares_driver.py +++ b/src/python/antares_xpansion/antares_driver.py @@ -103,7 +103,7 @@ 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] 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): + 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): cmd.append("--named-mps-problems") return cmd