getting the credentials from the current configuration file.
IBM ILOG CPLEX OPTIMIZATION STUDIO PRICE CODE
You can see in the examples, that from an original code where the engine is created using:Ĭplex cplex = new WmlCplex(Credentials.GetCredentials(), Runtime.DO_12_10, TShirtSize.M, 1) You can start looking at one of the examples. You first need to be familiar with the Watson Machine Learning environment and the assumption of this library is that you can provide a valid Space id aka deployment Space alongside other ids.
These classes reuse the .ILOG package but hide the complexity and the detailed control.įrom outside of the engine class, everything will behave the same (see supported API and limitations) as if the solve was happening locally. NET code, with modeling and execution parts, so that the execution will occur on WML instead of being run locally. Using these packages, you can very easily adapt an existing DO.
This repository is built around a Visual Studio 2019 project which you can quickly reuse.īut you should be able to adapt to any visual version environment that you prefer.Īs always the important things to check are:
You can refer to the DO for WML documentation for Public Cloud or DO for WML documentation for Private Cloud or to this post. These packages are compatible with all versions of Cloud Pak for Data (Public and Private Cloud) Watson Machine Learning v4. In order to run on WML, you will need an instance with some credentials. The compilation and modeling can be done with the Community Edition of CPLEX that is freely available. You don't need an official commercial version of CPLEX to run this as the optimization will happen on WML. You will need a CPLEX installation in order to compile and run this code. This package runs with any edition of the CPLEX Optimization Studio 12.10 and 20.1 libraries on the client side (where your code is executed).ĬPLEX/CPO supported version on WML side, where the solve is delegated, may depend on your Cloud Pak for Data version. Of course, these packages are C# code, and can only be used with your. This section describes some common requirements for both packages.NET
IBM ILOG CPLEX OPTIMIZATION STUDIO PRICE LICENSE
This library is delivered under the Apache License Version 2.0, January 2004 (see LICENSE.txt). You have to build this library yourself with Visual Studio. The 2nd package is relevant if you want to run Python or OPL based jobs on the Cloud.NET and want to delegate the solve resources to Cloud. The 1st packages are useful if you use CPLEX/CPO engines from.With these classes, you can have detailed control on the execution and integration of DO in WML. the .ILOG.* package includes lower level classes to create models and deployments in WML, and then create and poll jobs.NET code should include both the modeling and execution of the DO model, and after just a single line change, execution will occur on WML. NET code so that the optimization will execute on WML. the ILOG.CPLEX.* and ILOG.CP.* packages include classes to easily modify existing.The code included in this repository provides two ways to use WML to solve DO models. WML offers a Python and REST API to develop and execute DO models. NET (CPLEX or CPO) models.ĭO is a set of modeling and solving libraries, along with development and deployment tools for prescriptive analytics using Mathematical and Constraint Programming techniques. This repository includes code to support the execution of IBM Decision Optimization (DO) on Watson Machine Learning (WML) from. Decision Optimization (DO) on Watson Machine Learning (WML) from.