From 7fe44a2f6bc4832d5a3ce8a7ac68805d9a5c2df7 Mon Sep 17 00:00:00 2001 From: Laurent Perron Date: Thu, 27 Feb 2025 19:29:46 +0100 Subject: [PATCH] remove obsolete GRBisqp --- ortools/gurobi/environment.cc | 4 ---- ortools/gurobi/environment.h | 1 - 2 files changed, 5 deletions(-) diff --git a/ortools/gurobi/environment.cc b/ortools/gurobi/environment.cc index 28aef1cfe8..db38c0af73 100644 --- a/ortools/gurobi/environment.cc +++ b/ortools/gurobi/environment.cc @@ -46,9 +46,6 @@ bool GurobiIsCorrectlyInstalled() { // See the comment at the top of the script. // This is the 'define' section. -std::function - GRBisqp = nullptr; std::function GRBisattravailable = nullptr; std::function @@ -239,7 +236,6 @@ void LoadGurobiFunctions(DynamicLibrary* gurobi_dynamic_library) { // See the comment at the top of the script. // This is the 'assign' section. - gurobi_dynamic_library->GetFunction(&GRBisqp, "GRBisqp"); gurobi_dynamic_library->GetFunction(&GRBisattravailable, "GRBisattravailable"); gurobi_dynamic_library->GetFunction(&GRBgetintattr, "GRBgetintattr"); diff --git a/ortools/gurobi/environment.h b/ortools/gurobi/environment.h index 0de7107c06..3e723f3567 100644 --- a/ortools/gurobi/environment.h +++ b/ortools/gurobi/environment.h @@ -119,7 +119,6 @@ absl::Status LoadGurobiDynamicLibrary(std::vector potential_paths); #define GRB_MAX_CONCURRENT 64 #define CB_ARGS GRBmodel *model, void *cbdata, int where, void *usrdata #define LOGCB_ARGS char *msg, void *logdata -extern std::function GRBisqp; extern std::function GRBisattravailable; extern std::function GRBgetintattr; extern std::function GRBsetintattr;