Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  not equal,constraints

    Posted 01/27/15 09:04 AM

    Originally posted by: Mehrsa


    hi every one, 

    I am a beginner in OPL and  I dont know how to define not equal in constrints. I use <> but it gives me an error of an unexpecting >.

    and I want to program the constraints that have been attached but I do nt know how to write the index. it gives me error when I write it as it follows:

    forall (j in 1..J)

    s[j][r[j]]=sum (i in 1..W)(e[[j][i][r[j]+1]]- e[j][i][r[j]] );

     

    can you help me please?

    or is there any reference that i can study to know?

     

    thank you

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: not equal,constraints