Gurobi Optimizer Quick Start Guide – Windows
Gurobi Optimizer Quick Start Guide - Windows
Welcome to the GurobiTMWindows用户的优化快速入门指南!本文档提供了Gurobi Optimizer的基本介绍,包括:
- Information onObtaining a Gurobi License.
- ASoftware Installation Guide, which includes information onRetrieving and Setting Up your License.
- An example of how to create a simple optimization model and solve it with the GurobiCommand Line, 和
- A discussion of the GurobiInteractive Shell.
我们建议所有用户阅读这些前五个部分。
完成此操作后,您可能需要选择从中使用Gurobi的编程环境。如果您没有强有力的偏好,我们建议您使用我们的Python®界面,它提供了许多好处。首先,Python是一种非常好的编程语言,可用于从实验到原型设计到部署的任何内容。然而,除此之外,我们的Python接口包括一组高级建模构造,使得构建优化模型更容易。我们还包括安装的说明Anaconda Python分布, which includes both a graphical development environment (Spyder) and a notebook-style interface (Jupyter).
If you already have a preferred programming language, you can select from among our available interfaces:
- C interface,
- C++ interface,
- Java® interface,
- Microsoft® .NET interface,
- Python interface,
- MATLAB® interface, or
- R interface.
结束时of the Quick Start Guide, you'll find aFile Overviewthat lists the files included in the Gurobi distribution.
Additional resources
Once you are done with the Quick Start Guide, the next step is to explore these additional resources:
- 如果您熟悉数学建模并准备使用来自我们的编程语言API之一的Gurobi,请咨询Gurobi Reference Manual.
- 如果您想查看使用Gurobi的方法的示例,请咨询Gurobi Example Tour.
- If you are a Gurobi Compute Server user, consult theGurobi Remote Services参考手册.
- 如果您想了解有关数学编程或建模的更多信息,我们将收集我们的一组参考文献recommended readingsection.
Getting help
如果您在本文件中没有回答的问题,请访问Gurobi支持网站https://support.gurobi.com. There, you can read knowledge base articles and join the community discussion forum. Also, if you have a current maintenance contract, you can use the Gurobi support site to submit a request to the Gurobi support team.
Ready to get started? Your first step is toObtain a License.
- Obtaining a Gurobi License
- Software Installation Guide
- Retrieving and Setting Up a Gurobi License
- 检索免费的学术许可证
- Retrieving a Named-User or Single-Machine or Single-Use license
- 设置和使用浮动许可证
- Setting up and using a Compute Server license
- 启动Gurobi远程服务
- Using an Instant Cloud license
- Testing your license
- Setting environment variables
- Solving a Simple Model - The Gurobi Command Line
- Interactive Shell
- Reading and optimizing a model
- 检查解决方案
- Simple model modification
- Simple experimentation with a more difficult model
- Changing parameters
- Parameter tuning tool
- Using a gurobi.env file
- Working with multiple models
- Help
- Interface customization
- 通过回调定制
- Python用户的Gurobi Python接口
- 属性
- C Interface
- 示例mip1_c.c.
- Example details
- Creating the environment
- Creating the model
- Adding variables to the model
- 改变客观的感觉
- Adding constraints to the model
- Optimizing the model
- Error reporting
- Building and running the example
- C++ Interface
- Example mip1_c++.cpp
- Example details
- Creating the environment
- Creating the model
- Adding variables to the model
- Setting the objective
- Adding constraints to the model
- Optimizing the model
- Reporting results - attributes
- Error handling
- Building and running the example
- Java Interface
- 示例mip1.java.
- Example details
- Creating the environment
- Creating the model
- Adding variables to the model
- Setting the objective
- Adding constraints to the model
- Optimizing the model
- Reporting results - attributes
- Cleaning up
- Error handling
- Building and running the example
- .NET接口(C#)
- 示例mip1_cs.cs.
- Example details
- Creating the environment
- Creating the model
- Adding variables to the model
- Setting the objective
- Adding constraints to the model
- Optimizing the model
- Reporting results - attributes
- Cleaning up
- Error handling
- Building and running the example
- Python Interface
- MATLAB Interface
- 为matlab设置gurobi
- Example
- Example details
- Building the model
- Modifying Gurobi parameters
- Solving the model
- 打印解决方案
- Running the example
- R Interface
- 安装R包
- Example
- Example details
- Building the model
- Modifying Gurobi parameters
- Solving the model
- 打印解决方案
- Running the example
- Recommended Reading
- 安装anaconda python分布
- Windows Command Line
- File Overview