Integration and Deployment

Being a component of OpenRules Decision Manager,  Rule Solver naturally utilizes its integration and deployment mechanisms. You may easily deploy Rule Solver decision optimization models as an Decision Optimization Microservices, namely an AWS Lambda function. 

With Rule Solver you can deploy your optimization models as AWS Lambdas with ONE CLICK and no additional programming! The basic idea is very simple:

    1. As usual, describe your Business Problem and its test cases using regular business rules in Excel in the OpenRules format
    2. Write a Java class called Optimization Problem (inherited from JavaSolver) to define your optimization problem
    3. Create an Excel-based table “SolveOptimizationProblem” of the OpenRules type “DecisionCode”
    4. Use the standard OpenRules “deployLambda.bat” to deploy the integrated model as AWS Lambda microservice.

The 3rd step is the most interesting one. It allows us to treat a Java-based Optimization Problem as a part of the rules-based decision model, and thus utilize the standard OpenRules deployment mechanism! See how it was done in the introductory example.

Similarly you can deploy optimization models using RESTfull web services or Docker containers. While Rule Solver allows you to choose different off-the-shelf constraint or linear solvers, there is nothing that prevents you from integrating OpenRules directly with other Java-based solvers.