Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Connectivity between programming languages

    Posted 01/12/16 01:46 PM

    Originally posted by: Samira Fazel


    Hi,

    I have a general question which I am not sure if here is an appropriate place to ask it.

    I read some documents about data base connectivity and how we can call Cplex in other languages such as C++ & MATLAB... I have a loop of different functionality in my OPL code. In one part of my programming, I need to do simulation which is a very huge code. I found a simulation software which speeds up my work. I would like to know is it possible to connect the input and output of my simulation software to the OPL or even other languages. Just wondering if anyone can give me some idea about it.

    Thanks

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Connectivity between programming languages

    Posted 01/12/16 04:01 PM

    Hi,

    some example at

    https://www.ibm.com/developerworks/community/forums/html/topic?id=b56abfae-9a46-4716-88ff-46cfe87b7c64&ps=25

    You may call OPL from C++, java, .NET

    You may also call OPL with oplrun from any language through external call.

    Regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Connectivity between programming languages

    Posted 01/12/16 04:38 PM

    Originally posted by: Samira Fazel


    Thank you.

    Just for my information is it also possible to call another software inside OPL?

    Thanks.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Connectivity between programming languages

    Posted 01/13/16 01:59 AM

     

     

    Hi,

    let me quote the documentation:

    Using the Java code from OPL

    Two IBM® ILOG Script functions enable you to call Java external functions from OPL models in IBM ILOG Script statements. 
    The successive steps are:
    1. Importing Java classes
    2. Calling Java

    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: Connectivity between programming languages

    Posted 01/13/16 03:43 AM


  • 6.  Re: Connectivity between programming languages

    Posted 01/13/16 12:52 PM

    Originally posted by: Samira Fazel


    Thank you!


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 7.  Re: Connectivity between programming languages

    Posted 01/14/16 03:56 AM

    You re welcome.

    You have an example of XML parsing at https://www.ibm.com/developerworks/community/forums/html/topic?id=ea9dd71f-6c81-4daa-8bda-ed71cd29db29&ps=25

    You may connect to Excel Spreadsheets and Databases for OPL

    You may also connect to SPSS Modeler

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 8.  Re: Connectivity between programming languages

    Posted 01/20/16 06:17 PM

    Originally posted by: Samira Fazel


    Thank you! It was help.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer