Gurobi Nuget Version Number and Gurobi Optimizer Version number must match?
回答済みHey there,
- I use c# with the gurobi nuget package in Version 10.0.3 NuGet Gallery | Gurobi.Optimizer 10.0.3.
- I installed also the new Gurobi optimizer in Version 11.0.0.
- I deinstalled all other gurobi optimizer versions. Especially the version 10.0.3
Now I have an interesting behavior. When I run the optimizer from my c# code using the nuget package in 10.0.3 it works using the optimizer in version 11.0.0. However, when I upgrade the nuget to version 11.0.0 it also works but gives different results (faster and other solution).
So my question is now. If I use gurobi nuget package in version 10.0.3 with gurobi optimizer 11.0.0 installed will the gurobi optimizer 11.0.0 somehow still use the old 10.0.3 Kernel?
Cheers,
Florian
-
正式なコメント
Hi Florian,
The NuGet package is a "batteries included" package, which means it comes bundled with the Gurobi libraries for various platforms.
This means that building or publishing a C# project that uses the NuGet package will include the libraries that come bundled with that NuGet version. So, the 10.0.3 NuGet package should utilize the 10.0.3 Gurobi version, regardless of the Gurobi version you might have installed on your machine.
Please let me know if this leaves you with any questions!
Thomas
-
Thanks, Thomas for your quick reply.
This is interesting, does it mean I do not need any installation of the gurobi optimizer at all (like C:/gurobi/VersionNumber)? Also no environmental variable "GurobiHome" or similar?
It is all handled by the nuget Package?
0 -
Correct!
0
サインインしてコメントを残してください。
コメント
3件のコメント