Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Sythax error, unexpected identifier

    Posted 02/05/16 11:06 AM

    Originally posted by: sdo30


    My model concerns using OPL studio in solving Multi-Stage stochastic problems. I had some intial errors while working with the software,corrected but it generated some other errors. I have tried and also made some contacts but I was rightly directed to this forum. The files are attached. They could be observed in lines 96,117,and 160. Errors of lines 219-258:''forall'', appears similar. And the errors of 268, 285, 296,303 and 307 also appears similar. The ones of 262, 288 and 290 are alike too. The .mod file and the .dat file attached respectively.

    Please kindly and passionately, and patiently help me out. I have been on this for months.

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Sythax error, unexpected identifier

    Posted 02/05/16 11:15 AM

    Hi,

    why don't you attach .mod and .dat simply in text format ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: Sythax error, unexpected identifier

    Posted 02/05/16 12:19 PM

    Originally posted by: sdo30


    Thank you Alex, I hope it opens as attached.
     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: Sythax error, unexpected identifier

    Posted 02/08/16 06:56 AM

    Hi,

    many errors:

    1) You seem to have 2 subject to blocks in your .mod, you should have one

    2) Many syntax problems:

    forall(<i,j> in K_Nc

    you should write

    forall(<i,j> in K_Nc)

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer