Browse Source

Added new gurobi versions

tempestpy_adaptions
Tim Quatmann 3 years ago
committed by GitHub
parent
commit
044a900aa1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      resources/cmake/find_modules/FindGUROBI.cmake

7
resources/cmake/find_modules/FindGUROBI.cmake

@ -18,6 +18,8 @@ else (GUROBI_INCLUDE_DIR)
find_path(GUROBI_INCLUDE_DIR find_path(GUROBI_INCLUDE_DIR
NAMES gurobi_c++.h NAMES gurobi_c++.h
PATHS "$ENV{GUROBI_HOME}/include" PATHS "$ENV{GUROBI_HOME}/include"
"/Library/gurobi912/mac64/include"
"/Library/gurobi911/mac64/include"
"/Library/gurobi900/mac64/include" "/Library/gurobi900/mac64/include"
"/Library/gurobi811/mac64/include" "/Library/gurobi811/mac64/include"
"/Library/gurobi810/mac64/include" "/Library/gurobi810/mac64/include"
@ -35,6 +37,7 @@ find_path(GUROBI_INCLUDE_DIR
find_library( GUROBI_LIBRARY find_library( GUROBI_LIBRARY
NAMES gurobi NAMES gurobi
gurobi91
gurobi90 gurobi90
gurobi81 gurobi81
gurobi80 gurobi80
@ -51,6 +54,8 @@ find_library( GUROBI_LIBRARY
gurobi45 gurobi45
PATHS "$ENV{GUROBI_HOME}/lib" PATHS "$ENV{GUROBI_HOME}/lib"
"/Library/gurobi912/mac64/lib"
"/Library/gurobi911/mac64/lib"
"/Library/gurobi900/mac64/lib" "/Library/gurobi900/mac64/lib"
"/Library/gurobi811/mac64/lib" "/Library/gurobi811/mac64/lib"
"/Library/gurobi810/mac64/lib" "/Library/gurobi810/mac64/lib"
@ -70,6 +75,8 @@ find_library( GUROBI_CXX_LIBRARY
NAMES gurobi_c++ NAMES gurobi_c++
PATHS "$ENV{GUROBI_HOME}/lib" PATHS "$ENV{GUROBI_HOME}/lib"
"/Library/gurobi912/mac64/lib"
"/Library/gurobi911/mac64/lib"
"/Library/gurobi900/mac64/lib" "/Library/gurobi900/mac64/lib"
"/Library/gurobi811/mac64/lib" "/Library/gurobi811/mac64/lib"
"/Library/gurobi810/mac64/lib" "/Library/gurobi810/mac64/lib"

Loading…
Cancel
Save