About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Nov 22, 2024
You can deploy Decision Optimization Java models by using the watsonx.ai Runtime REST API.
With the Java worker API, you can create optimization models with OPL, CPLEX, and CP Optimizer Java APIs. Therefore, you can easily create your models locally, package them and deploy them with watsonx.ai Runtime by using the boilerplate that is provided in the public Java worker GitHub.
The Decision
Optimization
Java worker GitHub contains a boilerplate with everything that you need to run,
deploy, and verify your Java models with the watsonx.ai Runtime, including an example. You can use the code in this repository to package your Decision
Optimization Java model in a
file that can be used as a Machine learning model. For more information about Java
worker parameters, see the Java documentation..jar
You can build your Decision Optimization models in Java or you can use Java worker to package CPLEX, CPO, and OPL models.
For more information about these models, see the following reference manuals.