Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.

 View Only
Expand all | Collapse all

Regex in OPL script

  • 1.  Regex in OPL script

    Posted Fri February 28, 2020 01:48 AM

    Originally posted by: Marc Habib


    Is there a way to use regex in OPL scripts?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Regex in OPL script

    Posted Fri February 28, 2020 05:49 AM

    Hi

    available string functions : IDE and OPL > Optimization Programming Language (OPL) > Language Reference Manual > IBM ILOG Script for OPL > Built-in values and functions > IBM ILOG Script strings

    So you could either write your regex function or call an external program through IloOplExec

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer