Skip to main content
IBM developerWorks / Developer Centers
Sign In | Register dW
IBM Decision Optimization: on Cloud, for Bluemix...
  • Docs
  • Forum
  • News
  • GitHub
  • Support
  • Media Center

Contents

  • Welcome
  • Decision Optimization on Cloud
    • Get Started
    • How to get API Key and Base URL
    • How to see your jobs and usage history
    • Pricing Plans and Free Trial
  • Decision Optimization in DSX
  • DOcplexcloud APIs
    • Java API
      • Java Example
      • Javadoc
      • Java Library
      • Streaming Data in Java
    • Python API
      • Python Example
      • Python Reference
    • REST API
      • REST Example
      • REST Reference
      • Curl Commands
    • Node.js API
      • Node.js Example
      • Node.js Reference
    • R API
      • R Example
      • R Reference
    • Input and Output Files
    • Job Parameters
    • Job Status
    • Streaming Data
    • OPL Data Format
  • Optimization Modeling
    • Linear Programming
    • Constraint Programming
    • CPLEX Optimization Studio CE
    • DOcplex Modeling for Python

Input and Output Files

March 31, 2015

This table shows file type combinations supported by DOcplexcloud:

Model type Input
file type
Output
file type
Comments
CPLEX .lp
.mp
.mps
.sav
.feasibility
.xml
.json
The output format can be specified using the API. For DropSolve the output format is .xml only.
CPO .cpo .xml
.json
The output format can be specified using the API. For DropSolve the output format is .json only.
OPL .mod
.dat
.oplproject
.xls
.json
.xls
.json
.txt
In DropSolve, an .xls file is returned if at least one .xls is submitted, and a .json file is returned if at least one .json file is submitted.
Using the API, .json is the default output format, you can specify .xls or .txt output format.
DOcplex .py
*.* (input data)
Any output file type, specified in the model Python files are executed in a docker container running Anaconda 4.0 and Python 2.7.

More Information

File name restrictions

DOcplexcloud has certain restrictions on file names. A file name

  • is limited to 255 characters;
  • can include only ASCII characters;
  • cannot include the characters /\?%*:|"<>, the space character, or the null character; and
  • cannot include _ as the first character.

CPLEX file formats

The schemas for the CPLEX formats for solutions, conflicts, and feasibility files are available to download. Click here to download them in a .zip archive.

CPO file format

The native file format for CPO models is documented on the Knowledge Center: CP Optimizer file format syntax.

RSS Feed
  • Report Abuse
  • Terms of Use
  • Third Party Notice
  • IBM Privacy
IBM