Batch Optimization


Batch Optimization

Batch optimization is a feature available with the Gurobi Cluster Manager. It allows a client program to build an optimization model, submit it to a Compute Server cluster (through a Cluster Manager), and later check on the status of the model and retrieve its solution. Once a batch is submitted to the Cluster Manager, it is identified through a uniqueBatchID. The client program (or any other program) can use this ID to query theBatchStatusof the batch (submitted, completed, etc.). Once the batch has completed and a solution is available, the client can retrieve that solution as aJSON string.

This section explains the steps required to perform the various tasks listed above. We'll use thebatchmode.pyPython example, which is included with the distribution, to illustrate these steps.



年代ubsections