The IBM Decision Optimization on Cloud Python Client is now available for download.
With this Python client, you can quickly and easily add the power of optimization to your Python applications. You focus on modeling your problem, and our Python client takes care of every step needed to solve your problem using the IBM Decision Optimization on Cloud service.
The client requires that you install Python 2.7.9 (or later) or Python 3.4, and that you have an account and API Key for the IBM Decison Optimization on Cloud service.
You can register for a free trial here.
You install the Python client with:
pip install docloud
Submitting a problem (that is, a model and its data) and getting the result as a JSON encoded file can be as simple and concise as:
from docloud.job import JobClient
client = JobClient(url, api_key)
resp = client.execute(input=["models/truck.dat",
You can download example code from the project’s GitHub repository.
For further information about the DOcloud Python Client, you can browse the documentation.