NuGet package

Gurobi now provides an officially supported NuGet package which is listed on the NuGet Gurobi Optimizer package website.

The probably easiest way to obtain the Gurobi Optimizer NuGet package is to use a package manager such as the NuGet package manager in Visual Studio. An alternative way would be to modify your .csproj file. In order to automatically reference the latest NuGet package of the Gurobi Optimizer, you can add the lines

    <PackageReference Include="Gurobi.Optimizer" Version="XX.*" />   
to your .csproj file where XX in the Version property refers to a Gurobi Optimizer version greater or equal than 10. You can also look at the example file gurobi-nuget.csproj, which can be found under <installdir>/examples/build/DOTNETCore2. Depending on your setup, it is possible that you have to install some sort of a (NuGet) package manager first.

Try Gurobi for Free

Choose the evaluation license that fits you best, and start working with our Expert Team for technical guidance and support.

Evaluation License
Get a free, full-featured license of the Gurobi Optimizer to experience the performance, support, benchmarking and tuning services we provide as part of our product offering.
Academic License
Gurobi supports the teaching and use of optimization within academic institutions. We offer free, full-featured copies of Gurobi for use in class, and for research.
Cloud Trial

Request free trial hours, so you can see how quickly and easily a model can be solved on the cloud.