Decision Optimization

 View Only
  • 1.  Bad documentation???

    Posted Wed September 09, 2020 05:07 PM
    Edited by System Test Fri January 20, 2023 04:43 PM
    I have a user that is trying to follow the example shown here:

    https://www.ibm.com/support/knowledgecenter/SSSA5P_12.8.0/ilog.odms.ide.help/OPL_Studio/opllanguser/topics/opl_languser_app_areas_pwl_inventory.html

    In the example they show a .DAT file, with a series of singular values and a list of values.  How should they bring this data into their project?  What is the best practice for bringing in this type of data (non-CSV)?



    ------------------------------
    Daniel Toczala
    Community Leader and Customer Success Manager - Watson
    dtoczala@us.ibm.com
    ------------------------------
    #DecisionOptimization


  • 2.  RE: Bad documentation???

    Posted Thu September 10, 2020 01:06 AM
    Edited by System Test Fri January 20, 2023 04:09 PM
    In the IDE you just add the .dat files to the respective run configuration.
    For the command line tool oplrun you either add the .dat files to the command line or (when running a project) to the run configurations in the project's XML file.

    By the way, did your user look at IDE and OPL > CPLEX Studio IDE > Getting Started with the IDE > Getting Started Tutorial in the manual? In particular the "Populating and Executing the run configuration" section? This contains a detailed explanation of how to do this in the IDE.

    ------------------------------
    Daniel Junglas
    ------------------------------