Try our new documentation site (beta).
Model.optimizeBatch()
optimizeBatch ( )
Submit a new batch request to the Cluster Manager. Returns the BatchID (a string), which uniquely identifies the job in the Cluster Manager and can be used to query the status of this request (from this program or from any other). Once the request has completed, the BatchID can also be used to retrieve the associated solution. To submit a batch request, you must tag at least one element of the model by setting one of the VTag, CTag or QCTag attributes. For more details on batch optimization, please refer to the Batch Optimization section.
Note that this routine will process all pending model modifications.
Example usage:
# Submit batch request batchID = model.optimizeBatch()
Return value:
A unique string identifier for the batch request.