Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to read 2-d data from excel sheet in cplex

    Posted 11/19/15 05:03 AM

    Originally posted by: JKRATHORE


    I have an excel sheet of flow matrix between various locations. How to read flow[I,j] from location i to location j directly from excel sheet without typing data in .dat file. A sample file is attached here.

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to read 2-d data from excel sheet in cplex

    Posted 11/20/15 02:08 AM

    Have you tried SheetRead? According to the reference documentation you use this function to "read spreadsheet ranges into OPL 1-D or 2-D arrays".

    An OPL example that reads data from an Excel spreadsheet can be found here.

    In general, OPL related questions should be asked on the OPL-Forum.


    #CPLEXOptimizers
    #DecisionOptimization