Skip to content

Commit 1640033

Browse files
authored
Merge pull request #4365 from mattmilten/patch-3
Add support for Gurobi 11.0.3
2 parents 66f8087 + 16ee2f6 commit 1640033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ortools/gurobi/environment.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) {
346346
std::vector<std::string> GurobiDynamicLibraryPotentialPaths() {
347347
std::vector<std::string> potential_paths;
348348
const std::vector<std::string> kGurobiVersions = {
349-
"1102", "1101", "1100", "1003", "1002", "1001", "1000", "952", "951",
349+
"1103", "1102", "1101", "1100", "1003", "1002", "1001", "1000", "952", "951",
350350
"950", "911", "910", "903", "902", "811", "801", "752"};
351351
potential_paths.reserve(kGurobiVersions.size() * 3);
352352

@@ -406,7 +406,7 @@ std::vector<std::string> GurobiDynamicLibraryPotentialPaths() {
406406

407407
#if defined(__GNUC__) // path in linux64 gurobi/optimizer docker image.
408408
for (const std::string& version :
409-
{"11.0.2", "11.0.1", "11.0.0", "10.0.3", "10.0.2", "10.0.1", "10.0.0",
409+
{"11.0.3", "11.0.2", "11.0.1", "11.0.0", "10.0.3", "10.0.2", "10.0.1", "10.0.0",
410410
"9.5.2", "9.5.1", "9.5.0"}) {
411411
potential_paths.push_back(
412412
absl::StrCat("/opt/gurobi/linux64/lib/libgurobi.so.", version));

0 commit comments

Comments
 (0)