### Optimization Configuration with CPLEX Algorithm Source: https://www.ibm.com/docs/en/sdm/18.0_topic=examples-analytical-decision-management-demand-optimization-template Configures the optimization algorithm, objective value name, and the path to the optimization model file. This example specifies the CPLEX algorithm and points to 'DemandOptimization.mod'. ```xml ``` -------------------------------- ### Prefix Notation Examples Source: https://www.ibm.com/docs/en/sdm/18.0_topic=equation-understanding-prefix-notation This snippet shows simple examples of prefix notation elements that might be used within IBM Analytical Decision Management expressions. These are basic building blocks for defining operations and variables. ```text "-" "*" ProbabilityToRespond Revenue Cost ``` -------------------------------- ### Configure Optimization Algorithm and Model in XML Source: https://www.ibm.com/docs/en/sdm/18.0_topic=examples-analytical-decision-management-campaign-optimization-template Specifies the optimization algorithm, objective value name, and the path to the optimization model file. This example uses CPLEX with a specific model file. ```xml ``` -------------------------------- ### Example URL for IBM Analytical Decision Management Login Bypass Source: https://www.ibm.com/docs/en/sdm/18.0_topic=guide-url-syntax An example of a complete URL that bypasses the IBM Analytical Decision Management login page by providing username, password, and provider information. This is useful for custom integrations. ```URL http://yourserver:8080/DM/?username=admin&password=mypassword&provider=native ``` -------------------------------- ### Define Application Step Inclusion Source: https://www.ibm.com/docs/en/sdm/18.0_topic=examples-analytical-decision-management-customer-interactions-template Configures which steps of the predictive application are included by setting the 'stepIncluded' attribute to 'true'. This example shows Data, Global Selections, Define, Optimize, DeployScore, and Report steps. ```xml ``` -------------------------------- ### XSD: Hierarchical Data Model Example with Optional Fields Source: https://www.ibm.com/docs/en/sdm/18.0_topic=exsd-editing-input-parameter-type Provides an example of a hierarchical data model (Customer) where individual elements like 'FirstName' and 'Sirname' are marked as optional using `minOccurs="0"`. This indicates they are not mandatory for the rule invocation. ```xml ``` -------------------------------- ### Hierarchical Data Model Example in XSD Schema Source: https://www.ibm.com/docs/en/sdm/18.0_topic=exsd-editing-input-parameter-type-3 This example illustrates a hierarchical data model structure within an XSD schema for a 'Customer' type. It shows how elements like 'FirstName' and 'Sirname' can be marked as optional using 'minOccurs="0"'. ```xml ``` -------------------------------- ### Configure Application Steps in XML Source: https://www.ibm.com/docs/en/sdm/18.0_topic=examples-analytical-decision-management-campaign-optimization-template This snippet shows the inclusion and configuration of various steps within the application, such as Data, Global Selections, Define, Optimize, and Deploy. It indicates which steps are active and their specific settings. ```XML ``` -------------------------------- ### HTML Structure for Launching POST Request Source: https://www.ibm.com/docs/en/sdm/18.0_topic=guide-url-syntax This HTML code provides a basic structure for a web page, including a button that, when clicked, triggers a JavaScript function to send login information via POST. It demonstrates how to integrate the `post_to_url` JavaScript function to launch an IBM Analytical Decision Management project with specified credentials. ```html
Post User Info gethost() + ''
``` -------------------------------- ### Hierarchical Data Model Example with Optional Fields Source: https://www.ibm.com/docs/en/sdm/18.0_topic=exsd-editing-input-parameter-type-1 Provides an example of an XSD schema for a 'Customer' complex type using a hierarchical data model. It demonstrates how to define optional fields like 'FirstName' and 'Sirname' using 'minOccurs="0"'. ```xml ``` -------------------------------- ### Configure CPLEX Algorithm for Demand Optimization Source: https://www.ibm.com/docs/en/sdm/18.0_topic=equation-example-analytical-decision-management-demand-optimization This configuration defines the CPLEX algorithm for demand optimization and sets up objective functions. It specifies the path to the optimization model file and defines how 'ExpectedRevenue' and 'ExpectedRevenueWithPreferred' are calculated, including conditions for using preferred requests. ```xml ``` ``` -------------------------------- ### Example Equation in Prefix Notation Source: https://www.ibm.com/docs/en/sdm/18.0_topic=equation-defining-equations-using-expression-builder This is an example of a mathematical equation defined using prefix notation, which is used in the Expression Builder. It represents a simple profit calculation based on quantity, price, unit cost, and promotion cost. ```text profit = quantity * (price - unit cost - promotion cost) ``` -------------------------------- ### Project Templating Source: https://www.ibm.com/docs/en/sdm/18.0_topic=guide-url-syntax Launch IBM Analytical Decision Management and create a new project based on a specified application template using the 'template' parameter. ```APIDOC ## Create New Project from Template ### Description Launches IBM Analytical Decision Management and initializes a new project based on a predefined application template. The user is responsible for saving the new project. ### Method GET ### Endpoint /DM/ ### Parameters #### Query Parameters - **template** (string) - Required - The name of the application template to use for the new project. Possible values include: `ModelerAdvantage`, `CampaignOptimization`, `ClaimsManagement`, `CustomerInteractionManagement`, `DemandOptimization`, `PredictiveMaintenance`, `RulesManagement`. ### Request Example ``` http://yourserver:8080/DM/?template=ModelerAdvantage ``` ### Response #### Success Response (200) Launches IBM Analytical Decision Management with a new project created from the specified template. #### Response Example (No specific response body defined, typically loads the application with a new project context) ``` -------------------------------- ### Application Step Configuration Source: https://www.ibm.com/docs/en/sdm/18.0_topic=examples-analytical-decision-management-demand-optimization-template Configures the inclusion and details of various steps within an application, such as Data, Global Selections, Define, Optimize, Deploy, and Reports. It shows how to enable or disable specific features within these steps. ```xml ``` -------------------------------- ### Hierarchical Data Model Example with Optional Fields Source: https://www.ibm.com/docs/en/sdm/18.0_topic=definition-editing-input-parameter-type Example of an XSD schema for a hierarchical data model ('Customer') where input fields like 'FirstName' and 'Sirname' are marked as optional using 'minOccurs="0"'. This allows null values but signifies they are not mandatory for the rule. ```xml ``` -------------------------------- ### Example Rules for Repeat Predictions Source: https://www.ibm.com/docs/en/sdm/18.0_topic=oms-association-rule-scoring-options-5 This snippet demonstrates how multiple rules can predict the same item, 'wine', in this case. The 'Allow repeat predictions' option in scoring controls whether all such rules are considered. ```plaintext bread & cheese -> wine cheese & fruit -> wine ```