DOcplexcloudJob: The job class.

Description Usage Format Fields Examples

Description

This class is returned by client methods such as DOcplexcloudClient.submitJob() and is used to store information for jobs created and executed on DOcplexcloud.

Usage

1

Format

An object of class R6ClassGenerator of length 24.

Fields

joburl

The URL of the job.

jobid

The id of the job.

exectutionStatus

The execution status if the job has been executed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
client <- DOcplexcloudClient(url='Your DOcplexcloud base URL',
                             key='Your DOcplexcloud api key')

# Create job and wait for completion
job <- client$submitJob(addAttachment(file="model.lp"))
# The job status
status <- job$executionStatus

## End(Not run)

IBMDecisionOptimization/DOcplexcloud-R-client documentation built on May 7, 2019, 5:04 a.m.