构建并运行示例

构建并运行示例

c#和Visual Basic示例目录(< installdir > / / c#示例< installdir > / / vb实例)包含许多例子。我们鼓励您浏览和修改它们,以便更加熟悉Gurobi . net界面。我们也鼓励你阅读Gurobi例子之旅为更多的信息。

要在Mac OS上运行c#示例,可以使用Visual Studio项目文件,dotnetcore2.csproj(在< installdir > / /构建/ DOTNETCore2例子),或者您可以使用我们的标准示例Makefile(在< installdir > / /构建示例).要使用Makefile运行完整的示例集,只需执行命令使run_dotnet.您还可以使用使run_mip1_cs(例如)。