Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  syntax error, unexpected (identifier)

    Posted 08/10/14 09:07 PM

    Originally posted by: bornee


    hi,

    i have this problem, an error that i can found why :

    tuple Sindnoeud{
     
        int i;
    }
       tuple Sindnoeud2{
         int j;
       }     
      tuple Sinddepot{
     
        int i;

    dvar int+ Yijvk[I][J][V][K ]in 0..1;
    dvar int+ U[V] in 0..1;
    dvar int+ Xijv[I][J][V] in 0..1;
    dvar int+ F[I][V];
    dvar int+ D[V];
    dvar int r[I];
    dvar int TSHikv[I][K][V];

    here i want to find r [i] is equal to the distance between the node i and the start point (dépôt = ID ) so i have an error in this constraint

    c222(i in I, j in ID, i!=j)
     r[i] == item(DIJ,<i.i,j.j>).valeur;

     i have 2 error in this constraint :

    1 : syntax error, unexpected (identifier)

    2 : impossible de charger le modèle

    thanks


     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: syntax error, unexpected (identifier)

    Posted 08/11/14 02:56 AM

    Originally posted by: Ibrahim_Capar


    One obvious error is that you did not close the bracket after defining "Sinddepot"


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: syntax error, unexpected (identifier)

    Posted 08/11/14 07:54 AM

    Originally posted by: bornee


    yes i close the bracket but i forget it in this topic and the error in the constraint c2222,


    #DecisionOptimization
    #OPLusingCPLEXOptimizer