Skip to content

Commit e89fcb3

Browse files
committed
gurobi: add 13.0.0 and 12.0.3 dynamic support
1 parent 7adffcc commit e89fcb3

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ortools/third_party_solvers/gurobi_environment.cc

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,10 +336,16 @@ void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) {
336336

337337
std::vector<std::string> GurobiDynamicLibraryPotentialPaths() {
338338
std::vector<std::string> potential_paths;
339+
// clang-format off
339340
const std::vector<absl::string_view> kGurobiVersions = {
340-
"1202", "1201", "1200", "1103", "1102", "1101", "1100",
341-
"1003", "1002", "1001", "1000", "952", "951", "950",
342-
"911", "910", "903", "902", "811", "801", "752"};
341+
"1300",
342+
"1203", "1202", "1201", "1200",
343+
"1103", "1102", "1101", "1100",
344+
"1003", "1002", "1001", "1000",
345+
"952", "951", "950",
346+
"911", "910", "903", "902",
347+
"811", "801", "752"};
348+
// clang-format on
343349
potential_paths.reserve(kGurobiVersions.size() * 3);
344350

345351
// Look for libraries pointed by GUROBI_HOME first.

0 commit comments

Comments
 (0)