Building and running the example

You can use the CS_examples_2015.sln or CS_examples_2017.sln solution files in <installdir>/examples/build to build and run the example with Visual Studio 2015 or 2017, respectively. Clicking on the mip1_cs project, and then selecting Run from the Build menu will compile and run the example.

The C# and Visual Basic example directories (<installdir>/examples/c# and <installdir>/examples/vb) contain a number of examples. We encourage you to browse and modify them in order to become more familiar with the Gurobi .NET interface. We also encourage you to read the Gurobi Example Tour for more information.