int GRBretrybatch ( GRBbatch *batch )

This function instructs the Cluster Manager to retry optimization of a failed or aborted batch request, changing its status to SUBMITTED. Please refer to the Batch Status Codes section for further details.

Return value:

A non-zero return value indicates that a problem occurred while retrying the batch. Refer to the Error Code table for a list of possible return values. Details on the error can be obtained by calling GRBgeterrormsg.


batch: The batch to retry.

Example usage:

      /* retry the batch request */
      error = GRBretrybatch(batch);
      if (error) goto QUIT;