Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  DBConnection Error

    Posted 10/31/17 03:13 AM

    Originally posted by: Monuy


    Everything is fine till excel sheet or exercise2 according to the video lecture give below

     

    https://www.youtube.com/watch?v=4VZgBiDOAC4    CPLEX Seminar - Getting started with CPLEX Studio (part 1) by Hernán Cáceres

     

    Now while doing this access sheet (version2 of the exercise2) connection where we are using DBConnection.

    Therein .dat file I have written the top3 lines only (following video lec). I'm getting so many errors (to count 10 errors) in both .dat and .mod files.

    But What I think is something wrong with this DBConnection because all the three lines giving an error like (Data Parsing error: syntax error, unexpected (identifier), expecting from or to...).

    Due to this, some errors are coming in .mod file.

    And also in the first two lines of .mod file

     

     {string} cargos=...;
     {string} comps=...;

    Error is  External data element "cargos" was not defined.

    But this model(version2) is defined under ex2, which by default means cargos and comps are defined.

    Please Help me out, today first time I have installed Cplex and planned to do (1 day's work) from the seminar.

    Might be this error is coming because we need some kind of database, I really don't have any idea, Please Help.

     

    Thanks

    -Monu


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: DBConnection Error

    Posted 10/31/17 03:41 AM