Try our new documentation site.


NonBlocking

Enable/disable non-blocking optimization

Type: int
Default value: 0
Minimum value: 0
Maximum value: 1

Enables non-blocking optimization in a Compute Server environment. When enabled, a call to the optimize method from a compute server client returns immediately, allowing the client program to work on something else while the optimization proceeds on the server. The client program can later check on the status of the optimization by querying the value of the Status attribute of the running model (see the Status Code section for further details). A value of IN_PROGRESS indicates that the non-blocking optimization is still in progress.

Note that the client program must call the appropriate sync routine (GRBsync in C, GRBModel::sync in C++, GRBModel.sync in Java, GRBModel.Sync in .NET, and Model.sync in Python) before the model is freed or garbage collected.

Note: Only affects optimization in a Gurobi Compute Server environment

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.

Search