Decision Optimization

 View Only
  • 1.  Bad documentation???

    User Group Leader
    Posted Wed September 09, 2020 05:07 PM
    Edited by Daniel Toczala Wed September 09, 2020 05:07 PM
    I have a user that is trying to follow the example shown here:

    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

  • 2.  RE: Bad documentation???

    Posted Thu September 10, 2020 01:06 AM
    Edited by Daniel Junglas Thu September 10, 2020 01:12 AM
    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