Try our new documentation site (beta).
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