Gurobi Search Path does not include current folder #3774
Replies: 3 comments 2 replies
-
You can pass the exact path of the library. |
Beta Was this translation helpful? Give feedback.
1 reply
-
On unix, it is not recommended to search on the current dir. |
Beta Was this translation helpful? Give feedback.
0 replies
-
and pushed to main. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of OR-Tools and what language are you using?
Version: 9.6.2534
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Gurobi
What operating system (Linux, Windows, ...) and version?
Windows 11 (22621.1555)
What did you do?
gurobi100.dll
,gurobi100.NET.dll
andgurobi.lic
in a folderWhat did you expect to see
No error message
What did you see instead?
Only when I copy the libraries to the folder
C:\Program Files\gurobi1000\win64\bin
, the application works without error. Apparently, the application searches in these hardcoded paths for the Gurobi libraries, but not the current directory:Anything else we should know about your project / environment
It's common practice under Windows to colocate DLLs with the application executable.
Beta Was this translation helpful? Give feedback.
All reactions