diff --git a/src/libs/antares/file-tree-study-loader/FileTreeStudyLoader.cpp b/src/libs/antares/file-tree-study-loader/FileTreeStudyLoader.cpp index 92b8691d83..d5113dcea9 100644 --- a/src/libs/antares/file-tree-study-loader/FileTreeStudyLoader.cpp +++ b/src/libs/antares/file-tree-study-loader/FileTreeStudyLoader.cpp @@ -37,11 +37,13 @@ std::unique_ptr FileTreeStudyLoader::load() const { using namespace std::literals::string_literals; Antares::Solver::Application application; - constexpr unsigned int argc = 3; + constexpr unsigned int argc = 5; // On Windows, std::filesystem::path::value_type is wchar_t std::array argv{"", reinterpret_cast(study_path_.c_str()), - "--parallel"}; + "--parallel", + "--use-ortools", + "--ortools-solver=xpress"}; application.prepare(argc, argv.data()); return application.acquireStudy();